From 30b8f8f58518c1e8775b402de884066c20155db6 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 29 Dec 2023 08:09:15 +0000 Subject: [PATCH 01/88] Github bot : issues linked to readme --- transmission/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/transmission/README.md b/transmission/README.md index 28f00d2ba..385a5b2c8 100644 --- a/transmission/README.md +++ b/transmission/README.md @@ -1,4 +1,3 @@ -## ⚠ Open Issue : [🐛 [Transmission] infinite download time (opened 2023-12-19)](https://github.com/alexbelgium/hassio-addons/issues/1140) by [@maxpoz1](https://github.com/maxpoz1) ## ⚠ Open Request : [✨ [REQUEST] Transmission Openvpn , add custom value for OPENVPN_PROVIDER (opened 2023-12-20)](https://github.com/alexbelgium/hassio-addons/issues/1141) by [@Moosketair](https://github.com/Moosketair) # Home assistant add-on: Transmission From c52ab180ead0b9ccdde59153c4b1a397483a5aee Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 09:14:23 +0100 Subject: [PATCH 02/88] Update CHANGELOG.md --- qbittorrent/CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qbittorrent/CHANGELOG.md b/qbittorrent/CHANGELOG.md index 89c1ad4a7..9a5ef74a2 100644 --- a/qbittorrent/CHANGELOG.md +++ b/qbittorrent/CHANGELOG.md @@ -1,7 +1,7 @@ +- Feat : sanitize ovpn files by disabling ipv6 (not supported by HA), ensuring CRLF, checking paths of referenced static files +- Feat : if no ovpn is referred in the option, it will use a random one + ### 4.6.2_27_reverted (23-12-2023) -- Minor bugs fixed -### 4.6.2_26_reverted (23-12-2023) -- Minor bugs fixed - ⚠ BREAKING CHANGE : I've decided to revert to the initial upstream image, apologies for this whole incovenience. After receiving many constructive (or plainly negative) feedbacks I have decided it was just not worth it to implement a new upstream image supposed to prevent ip leak for openvpn, plus wireguard support, and decided to just restore my own code. I've still kept qbit_manage, and will perhaps implement wireguard in the future but with my own code. As the databases were migrated for users to the new config locations, I've decided to keep it like that. It is more sustainable as HA is pushing in this direction and allows to backup the config with the addon (which was not the case previously). - ⚠ ACTION (preferred) : Please restore a backup prior to the versions containing wireguard_openvpn in the name, then update (as was mentioned in the 4.6.2-5wireguard_openvpn changelog asking a full backup prior to update). This will make sure all your options are kept and you don't need to reconfigure From ba4d01413d78aefa8fecd5173d2ed80800384ede Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 09:14:33 +0100 Subject: [PATCH 03/88] Update CHANGELOG.md --- qbittorrent/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbittorrent/CHANGELOG.md b/qbittorrent/CHANGELOG.md index 9a5ef74a2..071004e7f 100644 --- a/qbittorrent/CHANGELOG.md +++ b/qbittorrent/CHANGELOG.md @@ -1,5 +1,5 @@ - Feat : sanitize ovpn files by disabling ipv6 (not supported by HA), ensuring CRLF, checking paths of referenced static files -- Feat : if no ovpn is referred in the option, it will use a random one +- Feat : if no ovpn is referred in the option, it will use a random one from the openvpn folder ### 4.6.2_27_reverted (23-12-2023) - ⚠ BREAKING CHANGE : I've decided to revert to the initial upstream image, apologies for this whole incovenience. After receiving many constructive (or plainly negative) feedbacks I have decided it was just not worth it to implement a new upstream image supposed to prevent ip leak for openvpn, plus wireguard support, and decided to just restore my own code. I've still kept qbit_manage, and will perhaps implement wireguard in the future but with my own code. As the databases were migrated for users to the new config locations, I've decided to keep it like that. It is more sustainable as HA is pushing in this direction and allows to backup the config with the addon (which was not the case previously). From d11cb545a30e661b4c173de615b8a434b867ed8a Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 09:15:07 +0100 Subject: [PATCH 04/88] Update README.md --- qbittorrent/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbittorrent/README.md b/qbittorrent/README.md index ecaaa7128..6627d226f 100644 --- a/qbittorrent/README.md +++ b/qbittorrent/README.md @@ -65,7 +65,7 @@ cifsusername: "username" # optional, smb username, same for all smb shares cifspassword: "password" # optional, smb password cifsdomain: "domain" # optional, allow setting the domain for the smb share openvpn_enabled: true/false # is openvpn required to start qbittorrent -openvpn_config": For example "config.ovpn" # name of the file located in /config/openvpn. +openvpn_config": For example "config.ovpn" # name of the file located in /config/openvpn. If empty, a random one will be used openvpn_username": USERNAME openvpn_password: YOURPASSWORD openvpn_alt_mode: bind at container level and not app level From bc7088949fcb06ab7f21e92c97c2a3907a8d0e24 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 09:15:29 +0100 Subject: [PATCH 05/88] Update README.md --- qbittorrent/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/qbittorrent/README.md b/qbittorrent/README.md index 6627d226f..48d81e5e7 100644 --- a/qbittorrent/README.md +++ b/qbittorrent/README.md @@ -1,5 +1,4 @@ ## ⚠ Open Issue : [🐛 [qbittorrent] Problems with network drive (opened 2023-12-10)](https://github.com/alexbelgium/hassio-addons/issues/1125) by [@floralvikings](https://github.com/floralvikings) -## ⚠ Open Issue : [[qbittorrent] Mullvad vpn : udp4 permission denied (opened 2023-12-11)](https://github.com/alexbelgium/hassio-addons/issues/1127) by [@Stooovie](https://github.com/Stooovie) ## ⚠ Open Issue : [🐛 [qbittorrent] Unable to get qbitmanage to run (opened 2023-12-13)](https://github.com/alexbelgium/hassio-addons/issues/1131) by [@hacshacdgacs](https://github.com/hacshacdgacs) # Home assistant add-on: qbittorrent From 6ea987dd7a4a302191bb693addbda8e7de1211f2 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 29 Dec 2023 08:20:09 +0000 Subject: [PATCH 06/88] Github bot : issues linked to readme --- qbittorrent/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/qbittorrent/README.md b/qbittorrent/README.md index 48d81e5e7..1135619c5 100644 --- a/qbittorrent/README.md +++ b/qbittorrent/README.md @@ -1,4 +1,3 @@ -## ⚠ Open Issue : [🐛 [qbittorrent] Problems with network drive (opened 2023-12-10)](https://github.com/alexbelgium/hassio-addons/issues/1125) by [@floralvikings](https://github.com/floralvikings) ## ⚠ Open Issue : [🐛 [qbittorrent] Unable to get qbitmanage to run (opened 2023-12-13)](https://github.com/alexbelgium/hassio-addons/issues/1131) by [@hacshacdgacs](https://github.com/hacshacdgacs) # Home assistant add-on: qbittorrent From c9b946bc93aedefa28f18a51f0ccb7fc76514f66 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 29 Dec 2023 09:50:27 +0000 Subject: [PATCH 07/88] Github bot : issues linked to readme --- jellyfin/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/jellyfin/README.md b/jellyfin/README.md index c391fb21e..3fb1f6a5f 100644 --- a/jellyfin/README.md +++ b/jellyfin/README.md @@ -1,3 +1,4 @@ +## ⚠ Open Request : [✨ [REQUEST] Jellyfin discord bot (opened 2023-08-17)](https://github.com/alexbelgium/hassio-addons/issues/943) by [@matsob0123](https://github.com/matsob0123) ## ⚠ Open Request : [✨ [REQUEST] Jellyfish NAS: omit `/config/addons_config/jellyfin/data/metadata` from backup (opened 2023-10-25)](https://github.com/alexbelgium/hassio-addons/issues/1048) by [@bilogic](https://github.com/bilogic) # Home assistant add-on: jellyfin From aee7679fdcf4889f17f20ba99723cc1c6131d701 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 13:06:58 +0100 Subject: [PATCH 08/88] Update 93-openvpn.sh --- .../rootfs/etc/cont-init.d/93-openvpn.sh | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh b/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh index 193844719..a4ba901fb 100755 --- a/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh @@ -14,11 +14,6 @@ if bashio::config.true 'openvpn_enabled'; then bashio::log.info "Openvpn enabled, configuring" bashio::log.info "----------------------------" - # If openvpn_config not set, but folder is not empty - if [ ! "$(ls -A /config/openvpn/*.ovpn 2>/dev/null)" ]; then - bashio::exit.nok "Configured ovpn file : $openvpn_config not found! Are you sure you added it in /addon_configs/$HOSTNAME/openvpn using the Filebrowser addon ?" - fi - # Get current ip curl -s ipecho.net/plain > /currentip @@ -46,6 +41,7 @@ if bashio::config.true 'openvpn_enabled'; then else # Print an error message bashio::log.warning "$file_name is referenced in your ovpn file but does not exist, and can't be found either in the /config/openvpn/ directory" + sleep 5 fi fi fi @@ -54,7 +50,6 @@ if bashio::config.true 'openvpn_enabled'; then # Standardize lf dos2unix "$file" - # Correct paths sed -i "s=/etc/openvpn=/config/openvpn=g" "$file" @@ -82,10 +77,12 @@ if bashio::config.true 'openvpn_enabled'; then else bashio::exit.nok "Configured ovpn file : $openvpn_config is set but does not end by .ovpn ; it can't be used!" fi + else + bashio::exit.nok "Configured ovpn file : $openvpn_config not found! Are you sure you added it in /addon_configs/$HOSTNAME/openvpn using the Filebrowser addon ?" fi - # If openvpn_config not set, but folder is not empty - else + # If openvpn_config not set, but folder is not empty + elif [ ! "$(ls -A /config/openvpn/*.ovpn 2>/dev/null)" ]; then # Look for openvpn files # Wildcard search for openvpn config files and store results in array mapfile -t VPN_CONFIGS < <( find /config/openvpn -maxdepth 1 -name "*.ovpn" -print ) @@ -100,6 +97,10 @@ if bashio::config.true 'openvpn_enabled'; then cp /config/openvpn/* /etc/openvpn/ # Standardize file cp /config/openvpn/"${openvpn_config}" /etc/openvpn/config.ovpn + + # If openvpn_enabled set, config not set, and openvpn folder empty + else + bashio::exit.nok "openvpn_enabled is set, however, your openvpn folder is empty ! Are you sure you added it in /addon_configs/$HOSTNAME/openvpn using the Filebrowser addon ?" fi # Set credentials From 667ab3169b7c175ff6a8f8910c6c6b07dfbcedfd Mon Sep 17 00:00:00 2001 From: Alexandre Date: Fri, 29 Dec 2023 13:27:57 +0100 Subject: [PATCH 09/88] Correct custom script logic https://github.com/alexbelgium/hassio-addons/issues/1141 --- transmission_openvpn/CHANGELOG.md | 2 + transmission_openvpn/README.md | 4 +- transmission_openvpn/config.json | 5 +- .../rootfs/etc/cont-init.d/99-run.sh | 114 ++++++++++-------- 4 files changed, 69 insertions(+), 56 deletions(-) diff --git a/transmission_openvpn/CHANGELOG.md b/transmission_openvpn/CHANGELOG.md index 0f0372831..87b2e7589 100644 --- a/transmission_openvpn/CHANGELOG.md +++ b/transmission_openvpn/CHANGELOG.md @@ -1,3 +1,5 @@ +- BREAKING CHANGE FOR CUSTOM VPN : if you are using a custom VPN provider, you must remove OPENVPN_CUSTOM_PROVIDER from your addon option and instead set OPENVPN_PROVIDER to "custom", then reference your ovpn file in your "OPENVPN_CONFIG". For example, if AIRVPN has provided to you an *.ovpn filed named AIRVPN.ovpn, you need to install an addon such as Filebrowser, go in the /config/addons_config/transmission/openvpn folder and put the AIRVPN.ovpn here. Then, in the addon option you need to write "AIRVPN.ovpn" in the "OPENVPN_CONFIG" option +- Removed (not used anymore) : "OPENVPN_CUSTOM_PROVIDER", "OPENVPN_CUSTOM_PROVIDER_OVPN_LOCATION", "TRANSMISSION_V3_UPDATE" ## v5.3.1 (09-12-2023) - Update to latest version from haugene/docker-transmission-openvpn diff --git a/transmission_openvpn/README.md b/transmission_openvpn/README.md index 907eff846..02317b715 100644 --- a/transmission_openvpn/README.md +++ b/transmission_openvpn/README.md @@ -40,9 +40,7 @@ comparison to installing any other Hass.io add-on. Options : see https://github.com/haugene/docker-transmission-openvpn for documentation -TRANSMISSION_V3_UPDATE: updates to v3. Remove and add all torrents due to transmission changes - -For setting a custom openvpn file, you should flag the "OPENVPN_CUSTOM_PROVIDER" field and reference the path of the \*.ovpn file in the "OPENVPN_CUSTOM_PROVIDER_OVPN_LOCATION" field. +For setting a custom openvpn file (even if using AIRVPN), you should set OPENVPN_PROVIDER to "custom", then reference your ovpn file in your "OPENVPN_CONFIG". For example, if AIRVPN has provided to you an *.ovpn filed named AIRVPN.ovpn, you need to install an addon such as Filebrowser, go in the /config/addons_config/transmission/openvpn folder and put the AIRVPN.ovpn here. Then, in the addon option you need to write "AIRVPN.ovpn" in the "OPENVPN_CONFIG" option Complete transmission options are in /config/addons_config/transmission (make sure addon is stopped before modifying it as Transmission writes its ongoing values when stopping and could erase your changes) diff --git a/transmission_openvpn/config.json b/transmission_openvpn/config.json index 0fb80322a..83c660ee7 100644 --- a/transmission_openvpn/config.json +++ b/transmission_openvpn/config.json @@ -112,17 +112,14 @@ "DNS_server": "str?", "LOCAL_NETWORK": "str", "OPENVPN_CONFIG": "str?", - "OPENVPN_CUSTOM_PROVIDER": "bool?", - "OPENVPN_CUSTOM_PROVIDER_OVPN_LOCATION": "str?", "OPENVPN_PASSWORD": "str", - "OPENVPN_PROVIDER": "list(|anonine|anonvpn|blackvpn|btguard|bulletvpn|cryptostorm|expressvpn|fastestvpn|freevpn|froot|frostvpn|getflix|ghostpath|giganews|goosevpn|hideme|hidemyass|integrityvpn|ipvanish|ironsocket|ivacy|ivpn|mullvad|nordvpn|octanevpn|ovpn|pia|privado|privatevpn|protonvpn|proxpn|purevpn|ra4w|safervpn|slickvpn|slickvpncore|smartdnsproxy|smartvpn|surfshark|tiger|torguard|trustzone|tunnelbear|vpnac|vpnarea|vpnbook|vpnfacile|vpnht|vpntunnel|vpnunlimited|vyprvpn|wevpn|windscribe|zoogvpn)?", + "OPENVPN_PROVIDER": "list(custom|anonine|anonvpn|blackvpn|btguard|bulletvpn|cryptostorm|expressvpn|fastestvpn|freevpn|froot|frostvpn|getflix|ghostpath|giganews|goosevpn|hideme|hidemyass|integrityvpn|ipvanish|ironsocket|ivacy|ivpn|mullvad|nordvpn|octanevpn|ovpn|pia|privado|privatevpn|protonvpn|proxpn|purevpn|ra4w|safervpn|slickvpn|slickvpncore|smartdnsproxy|smartvpn|surfshark|tiger|torguard|trustzone|tunnelbear|vpnac|vpnarea|vpnbook|vpnfacile|vpnht|vpntunnel|vpnunlimited|vyprvpn|wevpn|windscribe|zoogvpn)?", "OPENVPN_USERNAME": "str", "PGID": "int", "PUID": "int", "TRANSMISSION_DOWNLOAD_DIR": "str", "TRANSMISSION_HOME": "str", "TRANSMISSION_INCOMPLETE_DIR": "str", - "TRANSMISSION_V3_UPDATE": "bool?", "TRANSMISSION_WATCH_DIR": "str", "TRANSMISSION_WEB_UI": "list(standard|combustion|kettu|transmission-web-control|flood-for-transmission|shift)", "WEBPROXY_ENABLED": "bool", diff --git a/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh b/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh index 1b537db4b..44970e178 100755 --- a/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh +++ b/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh @@ -1,29 +1,5 @@ #!/usr/bin/bashio - -################# -# Update to v3 # -################ - -if bashio::config.true "TRANSMISSION_V3_UPDATE"; then - - ( - bashio::log.info "Updating transmission to v3" - bashio::log.warning "If your previous version was v2, remove and add torrents again" - - # see https://github.com/haugene/docker-transmission-openvpn/discussions/1937 - wget -O 976b5901365c5ca1.key "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xa37da909ae70535824d82620976b5901365c5ca1" - - cat > /etc/apt/sources.list.d/transmission.list </dev/null - -fi +# shellcheck shell=bash #################### # Export variables # @@ -81,34 +57,74 @@ done # Custom provider # ################### -if bashio::config.true "OPENVPN_CUSTOM_PROVIDER"; then +# Migrate OPENVPN_CUSTOM_PROVIDER to OPENVPN_PROVIDER +if bashio::config.true 'OPENVPN_CUSTOM_PROVIDER'; then + # Use new option + bashio::addon.option "OPENVPN_PROVIDER" "custom" + # Remove previous option + bashio::addon.option "OPENVPN_CUSTOM_PROVIDER" + # log + bashio::log.yellow "OPENVPN_CUSTOM_PROVIDER actived, OPENVPN_PROVIDER set to custom" + # Restart + bashio::addon.restart +fi - OVPNLOCATION="$(bashio::config "OPENVPN_CUSTOM_PROVIDER_OVPN_LOCATION")" - OVPNCONFIG="$(bashio::config "OPENVPN_CONFIG")" - OPENVPN_PROVIDER="${OVPNLOCATION##*/}" - OPENVPN_PROVIDER="${OPENVPN_PROVIDER%.*}" - OPENVPN_PROVIDER="${OPENVPN_PROVIDER,,}" - bashio::log.info "Custom openvpn provider selected" +# Function to check for files path +function check_path () { - # Check that ovpn file exists - if [ ! -f "$OVPNLOCATION" ]; then - bashio::log.fatal "Ovpn file not found at location provided : $OVPNLOCATION" - exit 1 + # Get variable + file="$1" + + # Loop through each line of the input file + while read line + do + # Check if the line contains a txt file + if [[ "$line" =~ \.txt ]] || [[ "$line" =~ \.crt ]]; then + # Extract the txt file name from the line + file_name="$(echo "$line" | awk -F' ' '{print $2}')" + # Check if the txt file exists + if [ ! -f "$file_name" ]; then + # Check if the txt file exists in the /config/openvpn/ directory + if [ -f "/etc/openvpn/custom/${file_name##*/}" ]; then + # Append /config/openvpn/ in front of the original txt file in the ovpn file + sed -i "s|$file_name|/etc/openvpn/custom/${file_name##*/}|g" "$file" + # Print a success message + bashio::log.warning "Appended /etc/openvpn/custom/ to ${file_name##*/} in $file" + else + # Print an error message + bashio::log.warning "$file_name is referenced in your ovpn file but does not exist in the $TRANSMISSION_HOME/openvpn folder" + sleep 5 + fi + fi + fi + done < "$file" + +} + +# Define custom file +if [ "$(bashio::config "OPENVPN_PROVIDER")" == "custom" ]; then + + # Validate ovpn file + openvpn_config="$(bashio::config "OPENVPN_CONFIG")" + openvpn_config="${openvpn_config%.*}.ovpn" + + # log + bashio::log.info "OPENVPN_PROVDER set to custom, will use the openvpn file OPENVPN_CONFIG : $openvpn_config" + + # If file found + if [ -f /config/openvpn/"$openvpn_config" ]; then + echo "... configured ovpn file : using $TRANSMISSION_HOME/openvpn/$openvpn_config" + # Copy files + rm -r /etc/openvpn/custom + # Symlink folder + echo "... symlink the $TRANSMISSION_HOME/openvpn foplder to /etc/openvpn/custom" + ln -s $TRANSMISSION_HOME/openvpn /etc/openvpn/custom + # Check path + check_path /etc/openvpn/custom/"$openvpn_config" + else + bashio::exit.nok "Configured ovpn file : $openvpn_config not found! Are you sure you added it in $TRANSMISSION_HOME/openvpn ?" fi - # Copy ovpn file - sed -i "s|config_repo_temp_dir=\$(mktemp -d)|config_repo_temp_dir=/tmp/tmp2|g" /etc/openvpn/fetch-external-configs.sh - echo "Copying ovpn file to proper location" - mkdir -p /etc/openvpn/"$OPENVPN_PROVIDER" - mkdir -p /tmp/tmp2/temp/openvpn/"$OPENVPN_PROVIDER" - cp "$OVPNLOCATION" /tmp/tmp2/temp/openvpn/"$OPENVPN_PROVIDER"/"$OPENVPN_PROVIDER".ovpn || \ - cp "$OVPNLOCATION/$OVPNCONFIG" /tmp/tmp2/temp/openvpn/"$OPENVPN_PROVIDER"/"$OPENVPN_PROVIDER".ovpn - - # Use custom provider - echo "Exporting variable for custom provider : $OPENVPN_PROVIDER" - export OPENVPN_PROVIDER="$OPENVPN_PROVIDER" - export OPENVPN_CONFIG="$OPENVPN_PROVIDER" - else bashio::log.info "Custom openvpn provider not selected, the provider $OPENVPN_PROVIDER will be used" From 0a23fcd2c0252eb19565786b572ac121aaf749d0 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 13:32:53 +0100 Subject: [PATCH 10/88] Update 93-openvpn.sh --- .../rootfs/etc/cont-init.d/93-openvpn.sh | 64 +++++++++++-------- 1 file changed, 37 insertions(+), 27 deletions(-) diff --git a/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh b/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh index a4ba901fb..18852fe83 100755 --- a/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh @@ -20,38 +20,48 @@ if bashio::config.true 'openvpn_enabled'; then # Function to check for files path function check_path () { - # Get variable - file="$1" + # Get variable + file="$1" - # Loop through each line of the input file - while read line - do - # Check if the line contains a txt file - if [[ "$line" =~ \.txt ]] || [[ "$line" =~ \.crt ]]; then - # Extract the txt file name from the line - file_name="$(echo "$line" | awk -F' ' '{print $2}')" - # Check if the txt file exists - if [ ! -f "$file_name" ]; then - # Check if the txt file exists in the /config/openvpn/ directory - if [ -f "/config/openvpn/${file_name##*/}" ]; then - # Append /config/openvpn/ in front of the original txt file in the ovpn file - sed -i "s|$file_name|/config/openvpn/${file_name##*/}|g" "$file" - # Print a success message - bashio::log.warning "Appended /config/openvpn/ to ${file_name##*/} in $file" - else - # Print an error message - bashio::log.warning "$file_name is referenced in your ovpn file but does not exist, and can't be found either in the /config/openvpn/ directory" - sleep 5 - fi + # Double check exists + if [ !-f "$file" ]; then + bashio::warning "$file not found" + return 1 + fi + + cp "$file" "$file2" + + # Loop through each line of the input file + while read line + do + # Check if the line contains a txt file + if [[ "$line" =~ \.txt ]] || [[ "$line" =~ \.crt ]]; then + # Extract the txt file name from the line + file_name="$(echo "$line" | awk -F' ' '{print $2}')" + # Check if the txt file exists + if [ ! -f "$file_name" ]; then + # Check if the txt file exists in the /config/openvpn/ directory + if [ -f "/etc/openvpn/custom/${file_name##*/}" ]; then + # Append /config/openvpn/ in front of the original txt file in the ovpn file + sed -i "s|$file_name|/etc/openvpn/custom/${file_name##*/}|g" "$file" + # Print a success message + bashio::log.warning "Appended /etc/openvpn/custom/ to ${file_name##*/} in $file" + else + # Print an error message + bashio::log.warning "$file_name is referenced in your ovpn file but does not exist in the $TRANSMISSION_HOME/openvpn folder" + sleep 5 fi fi - done < "$file" + fi + done < "$file2" - # Standardize lf - dos2unix "$file" + rm "$file2" - # Correct paths - sed -i "s=/etc/openvpn=/config/openvpn=g" "$file" + # Standardize lf + dos2unix "$file" + + # Correct paths + sed -i "s=/etc/openvpn=/config/openvpn=g" "$file" } From 00f9884c10115786dc16496cb5b6c5a3170cb9b9 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 13:33:02 +0100 Subject: [PATCH 11/88] Update 99-run.sh --- .../rootfs/etc/cont-init.d/99-run.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh b/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh index 44970e178..6da4325ac 100755 --- a/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh +++ b/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh @@ -75,6 +75,14 @@ function check_path () { # Get variable file="$1" + # Double check exists + if [ !-f "$file" ]; then + bashio::warning "$file not found" + return 1 + fi + + cp "$file" "$file2" + # Loop through each line of the input file while read line do @@ -97,7 +105,9 @@ function check_path () { fi fi fi - done < "$file" + done < "$file2" + + rm "$file2" } From 5cb9020aa3019ed128cdf7c812d6ecf522735b6c Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 13:35:36 +0100 Subject: [PATCH 12/88] Update weekly_crlftolf.yaml --- .github/workflows/weekly_crlftolf.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/weekly_crlftolf.yaml b/.github/workflows/weekly_crlftolf.yaml index 89889a011..dc1c28465 100644 --- a/.github/workflows/weekly_crlftolf.yaml +++ b/.github/workflows/weekly_crlftolf.yaml @@ -3,9 +3,9 @@ # This workflow finds and fixes CRLF endings in a repository name: Fix CRLF Endings on: - push: # Trigger the workflow on push event + workflow_call: workflow_dispatch: - + jobs: fix-crlf: name: Fix CRLF Endings From b0022e55c26404264232270d45ed61b372f87b96 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 13:36:56 +0100 Subject: [PATCH 13/88] Update weekly_crlftolf.yaml --- .github/workflows/weekly_crlftolf.yaml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/weekly_crlftolf.yaml b/.github/workflows/weekly_crlftolf.yaml index dc1c28465..37429a9b1 100644 --- a/.github/workflows/weekly_crlftolf.yaml +++ b/.github/workflows/weekly_crlftolf.yaml @@ -31,11 +31,8 @@ jobs: # Apply dos2unix and keep the original timestamp dos2unix -k "$f" done - - name: Create a pull request with the fixed files - uses: peter-evans/create-pull-request@v5 # Use the create-pull-request action + - name: Commit if needed + uses: EndBug/add-and-commit@v9 with: - # Specify the pull request details - title: Fix CRLF Endings - commit-message: Apply dos2unix to files with CRLF endings - branch: fix-crlf-endings - delete-branch: true + message: "Github bot : CRLF corrected" + default_author: github_actions From 7739fbd2942e7d51dbf6e75530a4b6a71ff99353 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 13:38:38 +0100 Subject: [PATCH 14/88] Update onpush_builder.yaml --- .github/workflows/onpush_builder.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/onpush_builder.yaml b/.github/workflows/onpush_builder.yaml index 360a2c795..ad495e2ba 100644 --- a/.github/workflows/onpush_builder.yaml +++ b/.github/workflows/onpush_builder.yaml @@ -28,10 +28,15 @@ jobs: id: filter with: filters: .github/paths-filter.yml + + correct-CRLF: + if: ${{ needs.check-addon-changes.outputs.changedAddons != '[]' }} + needs: check-addon-changes + uses: ./.github/workflows/weekly_crlftolf.yaml make-executable: if: ${{ needs.check-addon-changes.outputs.changedAddons != '[]' }} - needs: check-addon-changes + needs: correct-CRLF runs-on: ubuntu-latest strategy: fail-fast: false @@ -74,7 +79,7 @@ jobs: build: if: ${{ needs.check-addon-changes.outputs.changedAddons != '[]' }} - needs: [check-addon-changes, make-executable] + needs: [check-addon-changes, make-executable, correct-CRLF] runs-on: ubuntu-latest environment: CR_PAT name: Build ${{ matrix.arch }} ${{ matrix.addon }} add-on From ab48f89257a5892ff33b5a1c8758beebe9163007 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 13:39:55 +0100 Subject: [PATCH 15/88] Update weekly_crlftolf.yaml --- .github/workflows/weekly_crlftolf.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/weekly_crlftolf.yaml b/.github/workflows/weekly_crlftolf.yaml index 37429a9b1..784505023 100644 --- a/.github/workflows/weekly_crlftolf.yaml +++ b/.github/workflows/weekly_crlftolf.yaml @@ -27,6 +27,7 @@ jobs: - name: Apply dos2unix to files with CRLF endings run: | # Loop through each file and apply dos2unix + # shellcheck ignore=SC2043 for f in ${{ steps.check-crlf.outputs.files }}; do # Apply dos2unix and keep the original timestamp dos2unix -k "$f" From 698cb106f89c6121430e55d841f4131a0467bd73 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 13:40:19 +0100 Subject: [PATCH 16/88] Update weekly_crlftolf.yaml --- .github/workflows/weekly_crlftolf.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/weekly_crlftolf.yaml b/.github/workflows/weekly_crlftolf.yaml index 784505023..45c04c684 100644 --- a/.github/workflows/weekly_crlftolf.yaml +++ b/.github/workflows/weekly_crlftolf.yaml @@ -27,7 +27,7 @@ jobs: - name: Apply dos2unix to files with CRLF endings run: | # Loop through each file and apply dos2unix - # shellcheck ignore=SC2043 + # shellcheck disable=SC2043 for f in ${{ steps.check-crlf.outputs.files }}; do # Apply dos2unix and keep the original timestamp dos2unix -k "$f" From e595cb40298a1b173ea3601630bd1400e696b00d Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 13:41:07 +0100 Subject: [PATCH 17/88] Update config.json --- transmission_openvpn/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transmission_openvpn/config.json b/transmission_openvpn/config.json index 83c660ee7..e403abb7c 100644 --- a/transmission_openvpn/config.json +++ b/transmission_openvpn/config.json @@ -133,5 +133,5 @@ "slug": "transmission_openvpn", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "v5.3.1" + "version": "v5.3.1-2" } From 9341ca2a5f241413b7bcc92001c1c4546e56a794 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 13:42:21 +0100 Subject: [PATCH 18/88] Update 99-run.sh --- transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh b/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh index 6da4325ac..8513d9591 100755 --- a/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh +++ b/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh @@ -12,6 +12,8 @@ for k in $(bashio::jq "/data/options.json" 'keys | .[]'); do done echo "" +mkdir -p "$TRANSMISSION_HOME"/openvpn + ########################### # Correct download folder # ########################### From 47fd0ebf3420d2a7e9e98227a76e78f7795dfbba Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 13:42:34 +0100 Subject: [PATCH 19/88] Update config.json --- transmission_openvpn/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transmission_openvpn/config.json b/transmission_openvpn/config.json index e403abb7c..79651b840 100644 --- a/transmission_openvpn/config.json +++ b/transmission_openvpn/config.json @@ -133,5 +133,5 @@ "slug": "transmission_openvpn", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "v5.3.1-2" + "version": "v5.3.1-3" } From 69abc701cb977342f765f48148deb4621da76786 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 13:43:55 +0100 Subject: [PATCH 20/88] Update onpush_builder.yaml --- .github/workflows/onpush_builder.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/onpush_builder.yaml b/.github/workflows/onpush_builder.yaml index ad495e2ba..59f9a36f8 100644 --- a/.github/workflows/onpush_builder.yaml +++ b/.github/workflows/onpush_builder.yaml @@ -28,7 +28,7 @@ jobs: id: filter with: filters: .github/paths-filter.yml - + correct-CRLF: if: ${{ needs.check-addon-changes.outputs.changedAddons != '[]' }} needs: check-addon-changes @@ -36,7 +36,7 @@ jobs: make-executable: if: ${{ needs.check-addon-changes.outputs.changedAddons != '[]' }} - needs: correct-CRLF + needs: [check-addon-changes, correct-CRLF] runs-on: ubuntu-latest strategy: fail-fast: false From 7a1b8dd50512e86caada4ca94fd00976657db57e Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 13:44:03 +0100 Subject: [PATCH 21/88] Update config.json --- transmission_openvpn/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transmission_openvpn/config.json b/transmission_openvpn/config.json index 79651b840..e403abb7c 100644 --- a/transmission_openvpn/config.json +++ b/transmission_openvpn/config.json @@ -133,5 +133,5 @@ "slug": "transmission_openvpn", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "v5.3.1-3" + "version": "v5.3.1-2" } From 73c3b55e5b0884d175850534feed10aa8768d332 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 29 Dec 2023 12:50:05 +0000 Subject: [PATCH 23/88] GitHub bot : changelog --- transmission_openvpn/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/transmission_openvpn/CHANGELOG.md b/transmission_openvpn/CHANGELOG.md index 87b2e7589..cb2d00896 100644 --- a/transmission_openvpn/CHANGELOG.md +++ b/transmission_openvpn/CHANGELOG.md @@ -1,3 +1,5 @@ +### v5.3.1-2 (29-12-2023) +- Minor bugs fixed - BREAKING CHANGE FOR CUSTOM VPN : if you are using a custom VPN provider, you must remove OPENVPN_CUSTOM_PROVIDER from your addon option and instead set OPENVPN_PROVIDER to "custom", then reference your ovpn file in your "OPENVPN_CONFIG". For example, if AIRVPN has provided to you an *.ovpn filed named AIRVPN.ovpn, you need to install an addon such as Filebrowser, go in the /config/addons_config/transmission/openvpn folder and put the AIRVPN.ovpn here. Then, in the addon option you need to write "AIRVPN.ovpn" in the "OPENVPN_CONFIG" option - Removed (not used anymore) : "OPENVPN_CUSTOM_PROVIDER", "OPENVPN_CUSTOM_PROVIDER_OVPN_LOCATION", "TRANSMISSION_V3_UPDATE" From 04c01f64a33da963f081d7f27ad704b9aba2b8c3 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 13:54:53 +0100 Subject: [PATCH 24/88] Update 99-run.sh --- transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh b/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh index 8513d9591..32e7e6f65 100755 --- a/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh +++ b/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh @@ -124,7 +124,7 @@ if [ "$(bashio::config "OPENVPN_PROVIDER")" == "custom" ]; then bashio::log.info "OPENVPN_PROVDER set to custom, will use the openvpn file OPENVPN_CONFIG : $openvpn_config" # If file found - if [ -f /config/openvpn/"$openvpn_config" ]; then + if [ -f $TRANSMISSION_HOME/openvpn/"$openvpn_config" ]; then echo "... configured ovpn file : using $TRANSMISSION_HOME/openvpn/$openvpn_config" # Copy files rm -r /etc/openvpn/custom From c5e6576362dfcfd2325aa6d040899c64416a977e Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 13:55:04 +0100 Subject: [PATCH 25/88] Update config.json --- transmission_openvpn/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transmission_openvpn/config.json b/transmission_openvpn/config.json index e403abb7c..79651b840 100644 --- a/transmission_openvpn/config.json +++ b/transmission_openvpn/config.json @@ -133,5 +133,5 @@ "slug": "transmission_openvpn", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "v5.3.1-2" + "version": "v5.3.1-3" } From 4d9dbed5a98e24f2c1de46c446b9ae3ff8065e6c Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 13:55:10 +0100 Subject: [PATCH 26/88] Update CHANGELOG.md --- transmission_openvpn/CHANGELOG.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/transmission_openvpn/CHANGELOG.md b/transmission_openvpn/CHANGELOG.md index cb2d00896..87b2e7589 100644 --- a/transmission_openvpn/CHANGELOG.md +++ b/transmission_openvpn/CHANGELOG.md @@ -1,5 +1,3 @@ -### v5.3.1-2 (29-12-2023) -- Minor bugs fixed - BREAKING CHANGE FOR CUSTOM VPN : if you are using a custom VPN provider, you must remove OPENVPN_CUSTOM_PROVIDER from your addon option and instead set OPENVPN_PROVIDER to "custom", then reference your ovpn file in your "OPENVPN_CONFIG". For example, if AIRVPN has provided to you an *.ovpn filed named AIRVPN.ovpn, you need to install an addon such as Filebrowser, go in the /config/addons_config/transmission/openvpn folder and put the AIRVPN.ovpn here. Then, in the addon option you need to write "AIRVPN.ovpn" in the "OPENVPN_CONFIG" option - Removed (not used anymore) : "OPENVPN_CUSTOM_PROVIDER", "OPENVPN_CUSTOM_PROVIDER_OVPN_LOCATION", "TRANSMISSION_V3_UPDATE" From f383887343b07931a8115c8f979ffec60645f7bb Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 29 Dec 2023 13:01:09 +0000 Subject: [PATCH 27/88] GitHub bot : changelog --- transmission_openvpn/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/transmission_openvpn/CHANGELOG.md b/transmission_openvpn/CHANGELOG.md index 87b2e7589..b249349a0 100644 --- a/transmission_openvpn/CHANGELOG.md +++ b/transmission_openvpn/CHANGELOG.md @@ -1,3 +1,5 @@ +### v5.3.1-3 (29-12-2023) +- Minor bugs fixed - BREAKING CHANGE FOR CUSTOM VPN : if you are using a custom VPN provider, you must remove OPENVPN_CUSTOM_PROVIDER from your addon option and instead set OPENVPN_PROVIDER to "custom", then reference your ovpn file in your "OPENVPN_CONFIG". For example, if AIRVPN has provided to you an *.ovpn filed named AIRVPN.ovpn, you need to install an addon such as Filebrowser, go in the /config/addons_config/transmission/openvpn folder and put the AIRVPN.ovpn here. Then, in the addon option you need to write "AIRVPN.ovpn" in the "OPENVPN_CONFIG" option - Removed (not used anymore) : "OPENVPN_CUSTOM_PROVIDER", "OPENVPN_CUSTOM_PROVIDER_OVPN_LOCATION", "TRANSMISSION_V3_UPDATE" From fd13e00b101ac0764019d52a7fee1dcf7ec22f94 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 14:04:36 +0100 Subject: [PATCH 28/88] Update 99-run.sh --- transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh b/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh index 32e7e6f65..a40558496 100755 --- a/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh +++ b/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh @@ -83,7 +83,7 @@ function check_path () { return 1 fi - cp "$file" "$file2" + cp "$file" /tmpfile # Loop through each line of the input file while read line @@ -107,9 +107,9 @@ function check_path () { fi fi fi - done < "$file2" - - rm "$file2" + done < /tmpfile + + rm /tmpfile } From 4e24d36f67f03b4a562f608bd2b6ab7de15d9494 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 14:04:45 +0100 Subject: [PATCH 29/88] Update config.json --- transmission_openvpn/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transmission_openvpn/config.json b/transmission_openvpn/config.json index 79651b840..e03dd207d 100644 --- a/transmission_openvpn/config.json +++ b/transmission_openvpn/config.json @@ -133,5 +133,5 @@ "slug": "transmission_openvpn", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "v5.3.1-3" + "version": "v5.3.1-4" } From 74d74014b3c67476c5f88356e9000d813c9dd425 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 14:04:51 +0100 Subject: [PATCH 30/88] Update CHANGELOG.md --- transmission_openvpn/CHANGELOG.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/transmission_openvpn/CHANGELOG.md b/transmission_openvpn/CHANGELOG.md index b249349a0..87b2e7589 100644 --- a/transmission_openvpn/CHANGELOG.md +++ b/transmission_openvpn/CHANGELOG.md @@ -1,5 +1,3 @@ -### v5.3.1-3 (29-12-2023) -- Minor bugs fixed - BREAKING CHANGE FOR CUSTOM VPN : if you are using a custom VPN provider, you must remove OPENVPN_CUSTOM_PROVIDER from your addon option and instead set OPENVPN_PROVIDER to "custom", then reference your ovpn file in your "OPENVPN_CONFIG". For example, if AIRVPN has provided to you an *.ovpn filed named AIRVPN.ovpn, you need to install an addon such as Filebrowser, go in the /config/addons_config/transmission/openvpn folder and put the AIRVPN.ovpn here. Then, in the addon option you need to write "AIRVPN.ovpn" in the "OPENVPN_CONFIG" option - Removed (not used anymore) : "OPENVPN_CUSTOM_PROVIDER", "OPENVPN_CUSTOM_PROVIDER_OVPN_LOCATION", "TRANSMISSION_V3_UPDATE" From 66581cac72505b2beb737e6ef3e3f79f6510e803 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 14:06:21 +0100 Subject: [PATCH 31/88] Update 93-openvpn.sh --- .../rootfs/etc/cont-init.d/93-openvpn.sh | 47 +++++++++---------- 1 file changed, 23 insertions(+), 24 deletions(-) diff --git a/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh b/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh index 18852fe83..f4ada6b2a 100755 --- a/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh @@ -29,33 +29,32 @@ if bashio::config.true 'openvpn_enabled'; then return 1 fi - cp "$file" "$file2" + cp "$file" /tmpfile - # Loop through each line of the input file - while read line - do - # Check if the line contains a txt file - if [[ "$line" =~ \.txt ]] || [[ "$line" =~ \.crt ]]; then - # Extract the txt file name from the line - file_name="$(echo "$line" | awk -F' ' '{print $2}')" - # Check if the txt file exists - if [ ! -f "$file_name" ]; then - # Check if the txt file exists in the /config/openvpn/ directory - if [ -f "/etc/openvpn/custom/${file_name##*/}" ]; then - # Append /config/openvpn/ in front of the original txt file in the ovpn file - sed -i "s|$file_name|/etc/openvpn/custom/${file_name##*/}|g" "$file" - # Print a success message - bashio::log.warning "Appended /etc/openvpn/custom/ to ${file_name##*/} in $file" - else - # Print an error message - bashio::log.warning "$file_name is referenced in your ovpn file but does not exist in the $TRANSMISSION_HOME/openvpn folder" - sleep 5 + # Loop through each line of the input file + while read line + do + # Check if the line contains a txt file + if [[ "$line" =~ \.txt ]] || [[ "$line" =~ \.crt ]]; then + # Extract the txt file name from the line + file_name="$(echo "$line" | awk -F' ' '{print $2}')" + # Check if the txt file exists + if [ ! -f "$file_name" ]; then + # Check if the txt file exists in the /config/openvpn/ directory + if [ -f "/config/openvpn/${file_name##*/}" ]; then + # Append /config/openvpn/ in front of the original txt file in the ovpn file + sed -i "s|$file_name|/config/openvpn/${file_name##*/}|g" "$file" + # Print a success message + bashio::log.warning "Appended /config/openvpn/ to ${file_name##*/} in $file" + else + # Print an error message + bashio::log.warning "$file_name is referenced in your ovpn file but does not exist, and can't be found either in the /config/openvpn/ directory" + fi fi fi - fi - done < "$file2" - - rm "$file2" + done < /tmpfile + + rm /tmpfile # Standardize lf dos2unix "$file" From 97f71aee39239e453605dda61a2efd914c7f5eaa Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 14:07:26 +0100 Subject: [PATCH 32/88] Update 99-run.sh --- transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh b/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh index a40558496..fee78e7f8 100755 --- a/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh +++ b/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh @@ -78,7 +78,7 @@ function check_path () { file="$1" # Double check exists - if [ !-f "$file" ]; then + if [ ! -f "$file" ]; then bashio::warning "$file not found" return 1 fi From 182a8ad4cc3911612a60bef1d103cf6dc58b15fb Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 14:07:48 +0100 Subject: [PATCH 33/88] Update 99-run.sh --- transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh b/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh index fee78e7f8..f521d8db1 100755 --- a/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh +++ b/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh @@ -124,13 +124,13 @@ if [ "$(bashio::config "OPENVPN_PROVIDER")" == "custom" ]; then bashio::log.info "OPENVPN_PROVDER set to custom, will use the openvpn file OPENVPN_CONFIG : $openvpn_config" # If file found - if [ -f $TRANSMISSION_HOME/openvpn/"$openvpn_config" ]; then + if [ -f "$TRANSMISSION_HOME"/openvpn/"$openvpn_config" ]; then echo "... configured ovpn file : using $TRANSMISSION_HOME/openvpn/$openvpn_config" # Copy files rm -r /etc/openvpn/custom # Symlink folder echo "... symlink the $TRANSMISSION_HOME/openvpn foplder to /etc/openvpn/custom" - ln -s $TRANSMISSION_HOME/openvpn /etc/openvpn/custom + ln -s "$TRANSMISSION_HOME"/openvpn /etc/openvpn/custom # Check path check_path /etc/openvpn/custom/"$openvpn_config" else From 6f24479ea963083c913e3411467247f66a7e9c59 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 14:08:10 +0100 Subject: [PATCH 34/88] Update 93-openvpn.sh --- qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh b/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh index f4ada6b2a..5d5a726d3 100755 --- a/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh @@ -24,7 +24,7 @@ if bashio::config.true 'openvpn_enabled'; then file="$1" # Double check exists - if [ !-f "$file" ]; then + if [ ! -f "$file" ]; then bashio::warning "$file not found" return 1 fi From a0f9b133b4638c351b11150d1ddbc7195074d942 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 14:08:42 +0100 Subject: [PATCH 35/88] Update config.json --- transmission_openvpn/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transmission_openvpn/config.json b/transmission_openvpn/config.json index e03dd207d..7d28c3b5b 100644 --- a/transmission_openvpn/config.json +++ b/transmission_openvpn/config.json @@ -133,5 +133,5 @@ "slug": "transmission_openvpn", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "v5.3.1-4" + "version": "v5.3.1-5" } From e8f466023d1100247aff3b86a1ed0ad5c3243ff4 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 14:11:42 +0100 Subject: [PATCH 36/88] Update 99-run.sh --- transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh b/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh index f521d8db1..9c74c21c2 100755 --- a/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh +++ b/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh @@ -86,7 +86,7 @@ function check_path () { cp "$file" /tmpfile # Loop through each line of the input file - while read line + while read -r line do # Check if the line contains a txt file if [[ "$line" =~ \.txt ]] || [[ "$line" =~ \.crt ]]; then From 190fee5ecd5cbd7b49cb94e07db6376436d5d4e2 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 14:11:48 +0100 Subject: [PATCH 37/88] Update 93-openvpn.sh --- qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh b/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh index 5d5a726d3..eb54860df 100755 --- a/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh @@ -32,7 +32,7 @@ if bashio::config.true 'openvpn_enabled'; then cp "$file" /tmpfile # Loop through each line of the input file - while read line + while read -r line do # Check if the line contains a txt file if [[ "$line" =~ \.txt ]] || [[ "$line" =~ \.crt ]]; then From e3f2cf2e2486ae7572dadfcc8673bcf5671ef8c5 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 29 Dec 2023 13:14:42 +0000 Subject: [PATCH 38/88] GitHub bot : changelog --- transmission_openvpn/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/transmission_openvpn/CHANGELOG.md b/transmission_openvpn/CHANGELOG.md index 87b2e7589..e31f05535 100644 --- a/transmission_openvpn/CHANGELOG.md +++ b/transmission_openvpn/CHANGELOG.md @@ -1,3 +1,5 @@ +### v5.3.1-5 (29-12-2023) +- Minor bugs fixed - BREAKING CHANGE FOR CUSTOM VPN : if you are using a custom VPN provider, you must remove OPENVPN_CUSTOM_PROVIDER from your addon option and instead set OPENVPN_PROVIDER to "custom", then reference your ovpn file in your "OPENVPN_CONFIG". For example, if AIRVPN has provided to you an *.ovpn filed named AIRVPN.ovpn, you need to install an addon such as Filebrowser, go in the /config/addons_config/transmission/openvpn folder and put the AIRVPN.ovpn here. Then, in the addon option you need to write "AIRVPN.ovpn" in the "OPENVPN_CONFIG" option - Removed (not used anymore) : "OPENVPN_CUSTOM_PROVIDER", "OPENVPN_CUSTOM_PROVIDER_OVPN_LOCATION", "TRANSMISSION_V3_UPDATE" From 7d25223c27709bd6585cd29d9d66e6d2882ed770 Mon Sep 17 00:00:00 2001 From: Alexandre Date: Fri, 29 Dec 2023 14:19:09 +0100 Subject: [PATCH 39/88] Ensure config ends with a line feed --- qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh | 7 +++++-- transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh | 5 ++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh b/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh index eb54860df..d20db8e25 100755 --- a/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh @@ -53,12 +53,15 @@ if bashio::config.true 'openvpn_enabled'; then fi fi done < /tmpfile - + rm /tmpfile # Standardize lf dos2unix "$file" - + + # Ensure config ends with a line feed + sed -i "\$q" "$file" + # Correct paths sed -i "s=/etc/openvpn=/config/openvpn=g" "$file" diff --git a/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh b/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh index 9c74c21c2..d2b80b45d 100755 --- a/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh +++ b/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh @@ -108,9 +108,12 @@ function check_path () { fi fi done < /tmpfile - + rm /tmpfile + # Ensure config ends with a line feed + sed -i "\$q" "$file" + } # Define custom file From 2158ec3038a886f64e25cab1b4853884f729f321 Mon Sep 17 00:00:00 2001 From: Alexandre Date: Fri, 29 Dec 2023 14:25:50 +0100 Subject: [PATCH 40/88] Correc --- transmission_openvpn/config.json | 2 +- transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/transmission_openvpn/config.json b/transmission_openvpn/config.json index 7d28c3b5b..04ab10cc2 100644 --- a/transmission_openvpn/config.json +++ b/transmission_openvpn/config.json @@ -133,5 +133,5 @@ "slug": "transmission_openvpn", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "v5.3.1-5" + "version": "v5.3.1-6" } diff --git a/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh b/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh index d2b80b45d..ace02ffaf 100755 --- a/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh +++ b/transmission_openvpn/rootfs/etc/cont-init.d/99-run.sh @@ -121,7 +121,16 @@ if [ "$(bashio::config "OPENVPN_PROVIDER")" == "custom" ]; then # Validate ovpn file openvpn_config="$(bashio::config "OPENVPN_CONFIG")" - openvpn_config="${openvpn_config%.*}.ovpn" + + # If contains *.ovpn, clean option + if [[ "$openvpn_config" == *".ovpn" ]]; then + bashio::log.warning "OPENVPN_CONFIG should not end by ovpn, correcting" + bashio::addon.option 'OPENVPN_CONFIG' "${openvpn_config%.ovpn}" + bashio::addon.restart + fi + + # Add ovpn + openvpn_config="${openvpn_config}.ovpn" # log bashio::log.info "OPENVPN_PROVDER set to custom, will use the openvpn file OPENVPN_CONFIG : $openvpn_config" From 1650de332a37271c0f9cfbb2d7677af16c22efc5 Mon Sep 17 00:00:00 2001 From: Alexandre Date: Fri, 29 Dec 2023 14:26:00 +0100 Subject: [PATCH 41/88] update --- transmission_openvpn/CHANGELOG.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/transmission_openvpn/CHANGELOG.md b/transmission_openvpn/CHANGELOG.md index e31f05535..87b2e7589 100644 --- a/transmission_openvpn/CHANGELOG.md +++ b/transmission_openvpn/CHANGELOG.md @@ -1,5 +1,3 @@ -### v5.3.1-5 (29-12-2023) -- Minor bugs fixed - BREAKING CHANGE FOR CUSTOM VPN : if you are using a custom VPN provider, you must remove OPENVPN_CUSTOM_PROVIDER from your addon option and instead set OPENVPN_PROVIDER to "custom", then reference your ovpn file in your "OPENVPN_CONFIG". For example, if AIRVPN has provided to you an *.ovpn filed named AIRVPN.ovpn, you need to install an addon such as Filebrowser, go in the /config/addons_config/transmission/openvpn folder and put the AIRVPN.ovpn here. Then, in the addon option you need to write "AIRVPN.ovpn" in the "OPENVPN_CONFIG" option - Removed (not used anymore) : "OPENVPN_CUSTOM_PROVIDER", "OPENVPN_CUSTOM_PROVIDER_OVPN_LOCATION", "TRANSMISSION_V3_UPDATE" From 23e7b60fc5b00cfb9557ff71dd4ac3fe09bd746b Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 14:28:34 +0100 Subject: [PATCH 42/88] Update README.md --- transmission_openvpn/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transmission_openvpn/README.md b/transmission_openvpn/README.md index 02317b715..6bff922d9 100644 --- a/transmission_openvpn/README.md +++ b/transmission_openvpn/README.md @@ -40,7 +40,7 @@ comparison to installing any other Hass.io add-on. Options : see https://github.com/haugene/docker-transmission-openvpn for documentation -For setting a custom openvpn file (even if using AIRVPN), you should set OPENVPN_PROVIDER to "custom", then reference your ovpn file in your "OPENVPN_CONFIG". For example, if AIRVPN has provided to you an *.ovpn filed named AIRVPN.ovpn, you need to install an addon such as Filebrowser, go in the /config/addons_config/transmission/openvpn folder and put the AIRVPN.ovpn here. Then, in the addon option you need to write "AIRVPN.ovpn" in the "OPENVPN_CONFIG" option +For setting a custom openvpn file (even if using AIRVPN), you should set OPENVPN_PROVIDER to "custom", then reference your ovpn file in your "OPENVPN_CONFIG". For example, if AIRVPN has provided to you an *.ovpn filed named AIRVPN.ovpn, you need to install an addon such as Filebrowser, go in the /config/addons_config/transmission/openvpn folder and put the AIRVPN.ovpn here. Then, in the addon option you need to write "AIRVPN" in the "OPENVPN_CONFIG" option Complete transmission options are in /config/addons_config/transmission (make sure addon is stopped before modifying it as Transmission writes its ongoing values when stopping and could erase your changes) From c58042938ca0bd16d3a077ef54731c6d404a0471 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 14:28:45 +0100 Subject: [PATCH 43/88] Update CHANGELOG.md --- transmission_openvpn/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transmission_openvpn/CHANGELOG.md b/transmission_openvpn/CHANGELOG.md index 87b2e7589..670e317cb 100644 --- a/transmission_openvpn/CHANGELOG.md +++ b/transmission_openvpn/CHANGELOG.md @@ -1,4 +1,4 @@ -- BREAKING CHANGE FOR CUSTOM VPN : if you are using a custom VPN provider, you must remove OPENVPN_CUSTOM_PROVIDER from your addon option and instead set OPENVPN_PROVIDER to "custom", then reference your ovpn file in your "OPENVPN_CONFIG". For example, if AIRVPN has provided to you an *.ovpn filed named AIRVPN.ovpn, you need to install an addon such as Filebrowser, go in the /config/addons_config/transmission/openvpn folder and put the AIRVPN.ovpn here. Then, in the addon option you need to write "AIRVPN.ovpn" in the "OPENVPN_CONFIG" option +- BREAKING CHANGE FOR CUSTOM VPN : if you are using a custom VPN provider, you must remove OPENVPN_CUSTOM_PROVIDER from your addon option and instead set OPENVPN_PROVIDER to "custom", then reference your ovpn file in your "OPENVPN_CONFIG". For example, if AIRVPN has provided to you an *.ovpn filed named AIRVPN.ovpn, you need to install an addon such as Filebrowser, go in the /config/addons_config/transmission/openvpn folder and put the AIRVPN.ovpn here. Then, in the addon option you need to write "AIRVPN" in the "OPENVPN_CONFIG" option - Removed (not used anymore) : "OPENVPN_CUSTOM_PROVIDER", "OPENVPN_CUSTOM_PROVIDER_OVPN_LOCATION", "TRANSMISSION_V3_UPDATE" ## v5.3.1 (09-12-2023) From 6369b4e0711e985a9e5309a1ca3468a86cee66f7 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 29 Dec 2023 13:31:44 +0000 Subject: [PATCH 44/88] GitHub bot : changelog --- transmission_openvpn/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/transmission_openvpn/CHANGELOG.md b/transmission_openvpn/CHANGELOG.md index 670e317cb..506713ac8 100644 --- a/transmission_openvpn/CHANGELOG.md +++ b/transmission_openvpn/CHANGELOG.md @@ -1,3 +1,5 @@ +### v5.3.1-6 (29-12-2023) +- Minor bugs fixed - BREAKING CHANGE FOR CUSTOM VPN : if you are using a custom VPN provider, you must remove OPENVPN_CUSTOM_PROVIDER from your addon option and instead set OPENVPN_PROVIDER to "custom", then reference your ovpn file in your "OPENVPN_CONFIG". For example, if AIRVPN has provided to you an *.ovpn filed named AIRVPN.ovpn, you need to install an addon such as Filebrowser, go in the /config/addons_config/transmission/openvpn folder and put the AIRVPN.ovpn here. Then, in the addon option you need to write "AIRVPN" in the "OPENVPN_CONFIG" option - Removed (not used anymore) : "OPENVPN_CUSTOM_PROVIDER", "OPENVPN_CUSTOM_PROVIDER_OVPN_LOCATION", "TRANSMISSION_V3_UPDATE" From ead0e506cf02faed711e5c4b6837061ed66fd197 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 20:07:53 +0100 Subject: [PATCH 45/88] Update Dockerfile --- filebrowser/Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/filebrowser/Dockerfile b/filebrowser/Dockerfile index 1c6371e02..171b9a6c1 100644 --- a/filebrowser/Dockerfile +++ b/filebrowser/Dockerfile @@ -16,7 +16,6 @@ ARG BUILD_FROM ARG BUILD_VERSION -ARG BUILD_UPSTREAM="2.25.0" FROM ${BUILD_FROM} ################## From de25fb204a05535c72397a185e455be1f27d3649 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 20:31:05 +0100 Subject: [PATCH 46/88] Update 99-run.sh --- filebrowser/rootfs/etc/cont-init.d/99-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filebrowser/rootfs/etc/cont-init.d/99-run.sh b/filebrowser/rootfs/etc/cont-init.d/99-run.sh index 2a613e8f2..27b0dd224 100755 --- a/filebrowser/rootfs/etc/cont-init.d/99-run.sh +++ b/filebrowser/rootfs/etc/cont-init.d/99-run.sh @@ -97,7 +97,7 @@ bashio::log.info "Starting..." rm /.filebrowser.json # shellcheck disable=SC2086 -/./filebrowser --disable-preview-resize --disable-type-detection-by-header --cache-dir=".\cache" $CERTFILE $KEYFILE --root="$BASE_FOLDER" --address=0.0.0.0 --port=8080 --database=/config/filebrowser.dB "$NOAUTH" & +/./filebrowser --disable-preview-resize --disable-type-detection-by-header --cache-dir="/cache" $CERTFILE $KEYFILE --root="$BASE_FOLDER" --address=0.0.0.0 --port=8080 --database=/config/filebrowser.dB "$NOAUTH" & bashio::net.wait_for 8080 localhost 900 || true bashio::log.info "Started !" exec nginx From 2536917a4ef1d3eb216e3eef5fd3bf3aba7f305c Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 20:53:10 +0100 Subject: [PATCH 47/88] Update 99-run.sh --- filebrowser/rootfs/etc/cont-init.d/99-run.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/filebrowser/rootfs/etc/cont-init.d/99-run.sh b/filebrowser/rootfs/etc/cont-init.d/99-run.sh index 27b0dd224..ae8226721 100755 --- a/filebrowser/rootfs/etc/cont-init.d/99-run.sh +++ b/filebrowser/rootfs/etc/cont-init.d/99-run.sh @@ -91,13 +91,19 @@ else BASE_FOLDER=/ fi +if bashio::config.has_value 'disable_thumbnails'; then + DISABLE_THUMBNAILS=" --disable-thumbnails" +else + DISABLE_THUMBNAILS="" +fi + bashio::log.info "Starting..." # Remove default config rm /.filebrowser.json # shellcheck disable=SC2086 -/./filebrowser --disable-preview-resize --disable-type-detection-by-header --cache-dir="/cache" $CERTFILE $KEYFILE --root="$BASE_FOLDER" --address=0.0.0.0 --port=8080 --database=/config/filebrowser.dB "$NOAUTH" & +/./filebrowser --disable-preview-resize --disable-type-detection-by-header --cache-dir="/cache" $CERTFILE $KEYFILE --root="$BASE_FOLDER" --address=0.0.0.0 --port=8080 --database=/config/filebrowser.dB "$NOAUTH" "$DISABLE_THUMBNAILS" & bashio::net.wait_for 8080 localhost 900 || true bashio::log.info "Started !" exec nginx From 8841e596ac8becd2a639eb209d6f0541998d0680 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 20:54:08 +0100 Subject: [PATCH 48/88] Update CHANGELOG.md --- filebrowser/CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/filebrowser/CHANGELOG.md b/filebrowser/CHANGELOG.md index 62c8b2be6..1bd02a2bf 100644 --- a/filebrowser/CHANGELOG.md +++ b/filebrowser/CHANGELOG.md @@ -1,3 +1,6 @@ +- Fix : correct cache for thumbnails creation +- Feat : new option to disable thumbnails (set disable_thumbnails to true) + ### 2.23.0_8 (20-12-2023) - Minor bugs fixed - Update of global scripts From 0018d020de86e26f7ee67e74693cd86e6fd6d67f Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 20:54:53 +0100 Subject: [PATCH 49/88] Update config.json --- filebrowser/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filebrowser/config.json b/filebrowser/config.json index b05eee53f..e11cc450e 100644 --- a/filebrowser/config.json +++ b/filebrowser/config.json @@ -101,10 +101,10 @@ "cifsdomain": "str?", "cifspassword": "str?", "cifsusername": "str?", + "disable_thumbnails": "bool?", "keyfile": "str", "localdisks": "str?", "networkdisks": "str?", - "smbv1": "bool?", "ssl": "bool" }, "slug": "filebrowser", From 798a5aa6b454d213dacd960197aa5be4da8414cf Mon Sep 17 00:00:00 2001 From: alexbelgium Date: Sat, 30 Dec 2023 01:55:46 +0100 Subject: [PATCH 50/88] Updater bot : baikal updated to 0.9.4+msmtpfix --- baikal/CHANGELOG.md | 3 +++ baikal/Dockerfile | 2 +- baikal/config.json | 2 +- baikal/updater.json | 4 ++-- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/baikal/CHANGELOG.md b/baikal/CHANGELOG.md index 3d94818bb..e6adafbd5 100644 --- a/baikal/CHANGELOG.md +++ b/baikal/CHANGELOG.md @@ -1,4 +1,7 @@ +## 0.9.4+msmtpfix (30-12-2023) +- Update to latest version from ckulka/baikal-docker + ## 0.9.4 (23-12-2023) - Update to latest version from ckulka/baikal-docker diff --git a/baikal/Dockerfile b/baikal/Dockerfile index 1c5efda7b..31dbf8e15 100644 --- a/baikal/Dockerfile +++ b/baikal/Dockerfile @@ -16,7 +16,7 @@ ARG BUILD_FROM ARG BUILD_VERSION -ARG BUILD_UPSTREAM="0.9.4" +ARG BUILD_UPSTREAM="0.9.4+msmtpfix" FROM ${BUILD_FROM} ################## diff --git a/baikal/config.json b/baikal/config.json index 7c1182397..bce9a8c88 100644 --- a/baikal/config.json +++ b/baikal/config.json @@ -74,6 +74,6 @@ "slug": "baikal", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "0.9.4", + "version": "0.9.4+msmtpfix", "webui": "[PROTO:ssl]://[HOST]:[PORT:80]" } diff --git a/baikal/updater.json b/baikal/updater.json index 14529017f..f81abba32 100644 --- a/baikal/updater.json +++ b/baikal/updater.json @@ -1,8 +1,8 @@ { - "last_update": "23-12-2023", + "last_update": "30-12-2023", "repository": "alexbelgium/hassio-addons", "slug": "baikal", "source": "github", "upstream_repo": "ckulka/baikal-docker", - "upstream_version": "0.9.4" + "upstream_version": "0.9.4+msmtpfix" } From 2d3e25834d0bee1d73649517ac07d80831204ee1 Mon Sep 17 00:00:00 2001 From: alexbelgium Date: Sat, 30 Dec 2023 01:57:12 +0100 Subject: [PATCH 51/88] Updater bot : emby updated to 4.8.0.64 --- emby/CHANGELOG.md | 3 +++ emby/Dockerfile | 2 +- emby/config.json | 2 +- emby/updater.json | 4 ++-- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/emby/CHANGELOG.md b/emby/CHANGELOG.md index b455240c0..766ff1243 100644 --- a/emby/CHANGELOG.md +++ b/emby/CHANGELOG.md @@ -1,4 +1,7 @@ +## 4.8.0.64 (30-12-2023) +- Update to latest version from linuxserver/docker-emby + ## 4.8.0.63 (23-12-2023) - Update to latest version from linuxserver/docker-emby diff --git a/emby/Dockerfile b/emby/Dockerfile index 360f3393a..ea7c687bf 100644 --- a/emby/Dockerfile +++ b/emby/Dockerfile @@ -16,7 +16,7 @@ ARG BUILD_FROM ARG BUILD_VERSION -ARG BUILD_UPSTREAM="4.8.0.63" +ARG BUILD_UPSTREAM="4.8.0.64" FROM ${BUILD_FROM} ################## diff --git a/emby/config.json b/emby/config.json index 920c81d02..ec64da70a 100644 --- a/emby/config.json +++ b/emby/config.json @@ -114,6 +114,6 @@ "slug": "emby_nas", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons/tree/master/emby", - "version": "4.8.0.63", + "version": "4.8.0.64", "video": true } diff --git a/emby/updater.json b/emby/updater.json index a25dacb76..d89105ace 100644 --- a/emby/updater.json +++ b/emby/updater.json @@ -1,9 +1,9 @@ { "github_beta": "true", - "last_update": "23-12-2023", + "last_update": "30-12-2023", "repository": "alexbelgium/hassio-addons", "slug": "emby", "source": "github", "upstream_repo": "linuxserver/docker-emby", - "upstream_version": "4.8.0.63" + "upstream_version": "4.8.0.64" } From 54372058103d73632eedb2b3696c85913286b459 Mon Sep 17 00:00:00 2001 From: alexbelgium Date: Sat, 30 Dec 2023 01:57:28 +0100 Subject: [PATCH 52/88] Updater bot : enedisgateway2mqtt_dev updated to 0.9.4b3 --- enedisgateway2mqtt_dev/CHANGELOG.md | 3 +++ enedisgateway2mqtt_dev/config.json | 2 +- enedisgateway2mqtt_dev/updater.json | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/enedisgateway2mqtt_dev/CHANGELOG.md b/enedisgateway2mqtt_dev/CHANGELOG.md index 6e3ecc7e6..f78e86fe1 100644 --- a/enedisgateway2mqtt_dev/CHANGELOG.md +++ b/enedisgateway2mqtt_dev/CHANGELOG.md @@ -1,4 +1,7 @@ +## 0.9.4b3 (30-12-2023) +- Update to latest version from m4dm4rtig4n/myelectricaldata + ## 0.9.4b1 (23-12-2023) - Update to latest version from m4dm4rtig4n/myelectricaldata diff --git a/enedisgateway2mqtt_dev/config.json b/enedisgateway2mqtt_dev/config.json index 8c3a5fb20..ef0439d44 100644 --- a/enedisgateway2mqtt_dev/config.json +++ b/enedisgateway2mqtt_dev/config.json @@ -89,5 +89,5 @@ "slug": "enedisgateway2mqtt_dev", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "0.9.4b1" + "version": "0.9.4b3" } diff --git a/enedisgateway2mqtt_dev/updater.json b/enedisgateway2mqtt_dev/updater.json index 286e2eaa5..821a4bd69 100644 --- a/enedisgateway2mqtt_dev/updater.json +++ b/enedisgateway2mqtt_dev/updater.json @@ -1,9 +1,9 @@ { "github_beta": "true", - "last_update": "23-12-2023", + "last_update": "30-12-2023", "repository": "alexbelgium/hassio-addons", "slug": "enedisgateway2mqtt", "source": "github", "upstream_repo": "m4dm4rtig4n/myelectricaldata", - "upstream_version": "0.9.4b1" + "upstream_version": "0.9.4b3" } From 150b1b25830e65afa555b58c686ca1ad576cdb57 Mon Sep 17 00:00:00 2001 From: alexbelgium Date: Sat, 30 Dec 2023 01:57:43 +0100 Subject: [PATCH 53/88] Updater bot : fireflyiii updated to 6.1.1 --- fireflyiii/CHANGELOG.md | 3 +++ fireflyiii/Dockerfile | 2 +- fireflyiii/config.json | 2 +- fireflyiii/updater.json | 4 ++-- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/fireflyiii/CHANGELOG.md b/fireflyiii/CHANGELOG.md index a5ba1370d..da4f63e83 100644 --- a/fireflyiii/CHANGELOG.md +++ b/fireflyiii/CHANGELOG.md @@ -1,4 +1,7 @@ +## 6.1.1 (30-12-2023) +- Update to latest version from firefly-iii/firefly-iii + ## 6.1.0 (23-12-2023) - Update to latest version from firefly-iii/firefly-iii diff --git a/fireflyiii/Dockerfile b/fireflyiii/Dockerfile index 1ee04e2a6..33b463921 100644 --- a/fireflyiii/Dockerfile +++ b/fireflyiii/Dockerfile @@ -34,7 +34,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # # Change data location # grep -rl "/var/www/html" /etc/ | xargs sed -i 's|/var/www/html|/data/firefly|g' -ARG BUILD_UPSTREAM="6.1.0" +ARG BUILD_UPSTREAM="6.1.1" RUN \ # Change upload folder to "ha_upload" since the default one is binded to a volume (see base image) sed -i "s/'root' => storage_path('upload'),/'root' => storage_path('ha_upload'),/g" /var/www/html/config/filesystems.php diff --git a/fireflyiii/config.json b/fireflyiii/config.json index 7fea99e12..3e636392d 100644 --- a/fireflyiii/config.json +++ b/fireflyiii/config.json @@ -99,6 +99,6 @@ "startup": "services", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "6.1.0", + "version": "6.1.1", "webui": "[PROTO:ssl]://[HOST]:[PORT:8080]" } diff --git a/fireflyiii/updater.json b/fireflyiii/updater.json index db866b227..1d0f9bfd6 100644 --- a/fireflyiii/updater.json +++ b/fireflyiii/updater.json @@ -1,8 +1,8 @@ { - "last_update": "23-12-2023", + "last_update": "30-12-2023", "repository": "alexbelgium/hassio-addons", "slug": "fireflyiii", "source": "github", "upstream_repo": "firefly-iii/firefly-iii", - "upstream_version": "6.1.0" + "upstream_version": "6.1.1" } From a7903069ffa60e226d6201cf507f2cc7c44d517d Mon Sep 17 00:00:00 2001 From: alexbelgium Date: Sat, 30 Dec 2023 01:58:03 +0100 Subject: [PATCH 54/88] Updater bot : flexget updated to 3.11.3 --- flexget/CHANGELOG.md | 3 +++ flexget/config.json | 2 +- flexget/updater.json | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/flexget/CHANGELOG.md b/flexget/CHANGELOG.md index 4890ac67c..b433b47a1 100644 --- a/flexget/CHANGELOG.md +++ b/flexget/CHANGELOG.md @@ -1,4 +1,7 @@ +## 3.11.3 (30-12-2023) +- Update to latest version from wiserain/flexget + ## 3.10.6 (16-12-2023) - Update to latest version from wiserain/flexget diff --git a/flexget/config.json b/flexget/config.json index 5d74f2a28..c24fabc7e 100644 --- a/flexget/config.json +++ b/flexget/config.json @@ -90,6 +90,6 @@ "slug": "flexget", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "3.10.6", + "version": "3.11.3", "webui": "[PROTO:ssl]://[HOST]:[PORT:5050]" } diff --git a/flexget/updater.json b/flexget/updater.json index d3ac5e377..1d0d45a98 100644 --- a/flexget/updater.json +++ b/flexget/updater.json @@ -1,9 +1,9 @@ { "dockerhub_list_size": "10", - "last_update": "16-12-2023", + "last_update": "30-12-2023", "repository": "alexbelgium/hassio-addons", "slug": "flexget", "source": "dockerhub", "upstream_repo": "wiserain/flexget", - "upstream_version": "3.10.6" + "upstream_version": "3.11.3" } From a46fc86eca467d0541064c2f91c072838ec6c4f3 Mon Sep 17 00:00:00 2001 From: alexbelgium Date: Sat, 30 Dec 2023 01:58:12 +0100 Subject: [PATCH 55/88] Updater bot : free_games_claimer updated to 1.6 --- free_games_claimer/CHANGELOG.md | 3 +++ free_games_claimer/config.json | 2 +- free_games_claimer/updater.json | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/free_games_claimer/CHANGELOG.md b/free_games_claimer/CHANGELOG.md index 99a8e1233..a15bb6957 100644 --- a/free_games_claimer/CHANGELOG.md +++ b/free_games_claimer/CHANGELOG.md @@ -1,4 +1,7 @@ +## 1.6 (30-12-2023) +- Update to latest version from vogler/free-games-claimer + ## 1.5 (04-11-2023) - Update to latest version from vogler/free-games-claimer diff --git a/free_games_claimer/config.json b/free_games_claimer/config.json index 1b337466d..2e9b38f44 100644 --- a/free_games_claimer/config.json +++ b/free_games_claimer/config.json @@ -85,6 +85,6 @@ "slug": "free_games_claimer", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "1.5-3", + "version": "1.6", "webui": "[PROTO:ssl]://[HOST]:[PORT:6080]" } diff --git a/free_games_claimer/updater.json b/free_games_claimer/updater.json index 221bd0f4f..123e492fe 100644 --- a/free_games_claimer/updater.json +++ b/free_games_claimer/updater.json @@ -1,10 +1,10 @@ { "dockerhub_by_date": true, "dockerhub_list_size": 2, - "last_update": "04-11-2023", + "last_update": "30-12-2023", "repository": "alexbelgium/hassio-addons", "slug": "free_games_claimer", "source": "github", "upstream_repo": "vogler/free-games-claimer", - "upstream_version": "1.5" + "upstream_version": "1.6" } From 2e2d4c8d8a43d2bd63edc4a09ac4f27b364c1d71 Mon Sep 17 00:00:00 2001 From: alexbelgium Date: Sat, 30 Dec 2023 01:58:55 +0100 Subject: [PATCH 56/88] Updater bot : jackett updated to 0.21.1454 --- jackett/CHANGELOG.md | 3 +++ jackett/config.json | 2 +- jackett/updater.json | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/jackett/CHANGELOG.md b/jackett/CHANGELOG.md index 7cb07f471..8ebc94eb3 100644 --- a/jackett/CHANGELOG.md +++ b/jackett/CHANGELOG.md @@ -1,4 +1,7 @@ +## 0.21.1454 (30-12-2023) +- Update to latest version from linuxserver/docker-jackett + ## 0.21.1437 (23-12-2023) - Update to latest version from linuxserver/docker-jackett diff --git a/jackett/config.json b/jackett/config.json index 0b5534859..6a6779966 100644 --- a/jackett/config.json +++ b/jackett/config.json @@ -100,6 +100,6 @@ "slug": "jackett_nas", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons/tree/master/jackett", - "version": "0.21.1437", + "version": "0.21.1454", "webui": "http://[HOST]:[PORT:9117]" } diff --git a/jackett/updater.json b/jackett/updater.json index 592000780..a25f970a1 100644 --- a/jackett/updater.json +++ b/jackett/updater.json @@ -1,8 +1,8 @@ { - "last_update": "23-12-2023", + "last_update": "30-12-2023", "repository": "alexbelgium/hassio-addons", "slug": "jackett", "source": "github", "upstream_repo": "linuxserver/docker-jackett", - "upstream_version": "0.21.1437" + "upstream_version": "0.21.1454" } From 4c81e0bfef292c8511e834c88dded59f75fcb864 Mon Sep 17 00:00:00 2001 From: alexbelgium Date: Sat, 30 Dec 2023 01:59:50 +0100 Subject: [PATCH 57/88] Updater bot : mylar3 updated to 0.7.7 --- mylar3/CHANGELOG.md | 3 +++ mylar3/config.json | 2 +- mylar3/updater.json | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/mylar3/CHANGELOG.md b/mylar3/CHANGELOG.md index 02ae9ef1a..c8414e82d 100644 --- a/mylar3/CHANGELOG.md +++ b/mylar3/CHANGELOG.md @@ -1,4 +1,7 @@ +## 0.7.7 (30-12-2023) +- Update to latest version from linuxserver/docker-mylar3 + ## 0.7.6 (19-11-2023) - Update to latest version from linuxserver/docker-mylar3 diff --git a/mylar3/config.json b/mylar3/config.json index 485088339..50e813cdd 100644 --- a/mylar3/config.json +++ b/mylar3/config.json @@ -97,6 +97,6 @@ "slug": "mylar3", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "0.7.6-3", + "version": "0.7.7", "webui": "[PROTO:ssl]://[HOST]:[PORT:8090]" } diff --git a/mylar3/updater.json b/mylar3/updater.json index 805a79504..f0054b735 100644 --- a/mylar3/updater.json +++ b/mylar3/updater.json @@ -1,8 +1,8 @@ { - "last_update": "19-11-2023", + "last_update": "30-12-2023", "repository": "alexbelgium/hassio-addons", "slug": "mylar3", "source": "github", "upstream_repo": "linuxserver/docker-mylar3", - "upstream_version": "0.7.6" + "upstream_version": "0.7.7" } From 6ac917e6b66b2d77705a030f2b1a4f17b1a2adf5 Mon Sep 17 00:00:00 2001 From: alexbelgium Date: Sat, 30 Dec 2023 01:59:59 +0100 Subject: [PATCH 58/88] Updater bot : nextcloud updated to 28.0.1 --- nextcloud/CHANGELOG.md | 3 +++ nextcloud/config.json | 2 +- nextcloud/updater.json | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/nextcloud/CHANGELOG.md b/nextcloud/CHANGELOG.md index 2b6bc8409..f402d6333 100644 --- a/nextcloud/CHANGELOG.md +++ b/nextcloud/CHANGELOG.md @@ -1,4 +1,7 @@ +## 28.0.1 (30-12-2023) +- Update to latest version from linuxserver/docker-nextcloud + ## 28.0.0 (16-12-2023) - Update to latest version from linuxserver/docker-nextcloud ### 27.1.4-6 (07-12-2023) diff --git a/nextcloud/config.json b/nextcloud/config.json index 507976e27..d658ed172 100644 --- a/nextcloud/config.json +++ b/nextcloud/config.json @@ -135,6 +135,6 @@ "uart": true, "udev": true, "url": "https://github.com/alexbelgium/hassio-addons/tree/master/nextcloud", - "version": "28.0.0", + "version": "28.0.1", "webui": "https://[HOST]:[PORT:443]" } diff --git a/nextcloud/updater.json b/nextcloud/updater.json index e8ab5b4ab..e4b3db2c0 100644 --- a/nextcloud/updater.json +++ b/nextcloud/updater.json @@ -1,8 +1,8 @@ { - "last_update": "16-12-2023", + "last_update": "30-12-2023", "repository": "alexbelgium/hassio-addons", "slug": "nextcloud", "source": "github", "upstream_repo": "linuxserver/docker-nextcloud", - "upstream_version": "28.0.0" + "upstream_version": "28.0.1" } From 8085a14051aacde251da7cd87053afc51f9c25e0 Mon Sep 17 00:00:00 2001 From: alexbelgium Date: Sat, 30 Dec 2023 02:00:54 +0100 Subject: [PATCH 59/88] Updater bot : paperless_ngx updated to 2.2.1 --- paperless_ngx/CHANGELOG.md | 3 +++ paperless_ngx/config.json | 2 +- paperless_ngx/updater.json | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/paperless_ngx/CHANGELOG.md b/paperless_ngx/CHANGELOG.md index 791ecd72a..7fe930d0f 100644 --- a/paperless_ngx/CHANGELOG.md +++ b/paperless_ngx/CHANGELOG.md @@ -1,4 +1,7 @@ +## 2.2.1 (30-12-2023) +- Update to latest version from paperless-ngx/paperless-ngx + ## 2.1.3 (23-12-2023) - Update to latest version from paperless-ngx/paperless-ngx diff --git a/paperless_ngx/config.json b/paperless_ngx/config.json index d6b6e940b..02b7c0231 100644 --- a/paperless_ngx/config.json +++ b/paperless_ngx/config.json @@ -126,6 +126,6 @@ "slug": "paperless_ng", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "2.1.3", + "version": "2.2.1", "webui": "http://[HOST]:[PORT:8000]" } diff --git a/paperless_ngx/updater.json b/paperless_ngx/updater.json index 9e63f4065..12c2fb409 100644 --- a/paperless_ngx/updater.json +++ b/paperless_ngx/updater.json @@ -1,10 +1,10 @@ { "github_beta": "false", "github_fulltag": "false", - "last_update": "23-12-2023", + "last_update": "30-12-2023", "repository": "alexbelgium/hassio-addons", "slug": "paperless_ng", "source": "github", "upstream_repo": "paperless-ngx/paperless-ngx", - "upstream_version": "2.1.3" + "upstream_version": "2.2.1" } From b39049536ac407bc138c0001250878fdd644f3c1 Mon Sep 17 00:00:00 2001 From: alexbelgium Date: Sat, 30 Dec 2023 02:01:53 +0100 Subject: [PATCH 60/88] Updater bot : piwigo updated to 14.1.0 --- piwigo/CHANGELOG.md | 3 +++ piwigo/config.json | 2 +- piwigo/updater.json | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/piwigo/CHANGELOG.md b/piwigo/CHANGELOG.md index a552c1feb..7241f375f 100644 --- a/piwigo/CHANGELOG.md +++ b/piwigo/CHANGELOG.md @@ -1,4 +1,7 @@ +## 14.1.0 (30-12-2023) +- Update to latest version from linuxserver/docker-piwigo + ## 14.0.0 (16-12-2023) - Update to latest version from linuxserver/docker-piwigo diff --git a/piwigo/config.json b/piwigo/config.json index 493c40ac0..e77447a4e 100644 --- a/piwigo/config.json +++ b/piwigo/config.json @@ -97,6 +97,6 @@ "slug": "piwigo", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "14.0.0", + "version": "14.1.0", "webui": "[PROTO:ssl]://[HOST]:[PORT:80]" } diff --git a/piwigo/updater.json b/piwigo/updater.json index 374acc3ec..51676c4cd 100644 --- a/piwigo/updater.json +++ b/piwigo/updater.json @@ -1,8 +1,8 @@ { - "last_update": "16-12-2023", + "last_update": "30-12-2023", "repository": "alexbelgium/hassio-addons", "slug": "piwigo", "source": "github", "upstream_repo": "linuxserver/docker-piwigo", - "upstream_version": "14.0.0" + "upstream_version": "14.1.0" } From 35c1799608afb8556628f71aa46e8a384a7ceb6a Mon Sep 17 00:00:00 2001 From: alexbelgium Date: Sat, 30 Dec 2023 02:02:05 +0100 Subject: [PATCH 61/88] Updater bot : plex updated to 1.32.8.7639-fb6452ebf-ls198 --- plex/CHANGELOG.md | 3 +++ plex/config.json | 2 +- plex/updater.json | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/plex/CHANGELOG.md b/plex/CHANGELOG.md index d4bdbb5ed..70f94cb15 100644 --- a/plex/CHANGELOG.md +++ b/plex/CHANGELOG.md @@ -1,3 +1,6 @@ + +## 1.32.8.7639-fb6452ebf-ls198 (30-12-2023) +- Update to latest version from linuxserver/docker-plex ### 1.32.8.7639-fb6452ebf-ls197-3 (26-12-2023) - Minor bugs fixed ### 1.32.8.7639-fb6452ebf-ls197-2 (26-12-2023) diff --git a/plex/config.json b/plex/config.json index 702b7022e..a1e3bc922 100644 --- a/plex/config.json +++ b/plex/config.json @@ -129,7 +129,7 @@ "slug": "plex_nas", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons/tree/master/plex", - "version": "1.32.8.7639-fb6452ebf-ls197-3", + "version": "1.32.8.7639-fb6452ebf-ls198", "video": true, "webui": "[PROTO:ssl]://[HOST]:[PORT:32400]/web" } diff --git a/plex/updater.json b/plex/updater.json index ce386ddec..7f31e38d3 100644 --- a/plex/updater.json +++ b/plex/updater.json @@ -1,9 +1,9 @@ { "github_fulltag": "true", - "last_update": "23-12-2023", + "last_update": "30-12-2023", "repository": "alexbelgium/hassio-addons", "slug": "plex", "source": "github", "upstream_repo": "linuxserver/docker-plex", - "upstream_version": "1.32.8.7639-fb6452ebf-ls197" + "upstream_version": "1.32.8.7639-fb6452ebf-ls198" } From fdb571025ff1f3a866953a1f19e999f999a27980 Mon Sep 17 00:00:00 2001 From: alexbelgium Date: Sat, 30 Dec 2023 02:02:49 +0100 Subject: [PATCH 62/88] Updater bot : prowlarr updated to nightly-1.11.4.4171-ls71 --- prowlarr/CHANGELOG.md | 3 +++ prowlarr/config.json | 2 +- prowlarr/updater.json | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/prowlarr/CHANGELOG.md b/prowlarr/CHANGELOG.md index 304d5403f..d2745df03 100644 --- a/prowlarr/CHANGELOG.md +++ b/prowlarr/CHANGELOG.md @@ -1,4 +1,7 @@ +## nightly-1.11.4.4171-ls71 (30-12-2023) +- Update to latest version from linuxserver/docker-prowlarr + ## nightly-1.11.3.4163-ls68 (23-12-2023) - Update to latest version from linuxserver/docker-prowlarr diff --git a/prowlarr/config.json b/prowlarr/config.json index 8bf217420..d73b6d2d9 100644 --- a/prowlarr/config.json +++ b/prowlarr/config.json @@ -98,6 +98,6 @@ "slug": "prowlarr", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "nightly-1.11.3.4163-ls68", + "version": "nightly-1.11.4.4171-ls71", "webui": "[PROTO:ssl]://[HOST]:[PORT:9696]" } diff --git a/prowlarr/updater.json b/prowlarr/updater.json index 1cd534047..693d1fec3 100644 --- a/prowlarr/updater.json +++ b/prowlarr/updater.json @@ -1,10 +1,10 @@ { "github_beta": "true", "github_fulltag": "true", - "last_update": "23-12-2023", + "last_update": "30-12-2023", "repository": "alexbelgium/hassio-addons", "slug": "prowlarr", "source": "github", "upstream_repo": "linuxserver/docker-prowlarr", - "upstream_version": "nightly-1.11.3.4163-ls68" + "upstream_version": "nightly-1.11.4.4171-ls71" } From 3bb13894897dbc4527e94805062bed0598b9d995 Mon Sep 17 00:00:00 2001 From: alexbelgium Date: Sat, 30 Dec 2023 02:03:07 +0100 Subject: [PATCH 63/88] Updater bot : radarr updated to 5.2.6.8376 --- radarr/CHANGELOG.md | 3 +++ radarr/config.json | 2 +- radarr/updater.json | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/radarr/CHANGELOG.md b/radarr/CHANGELOG.md index 339751aed..76ee49b43 100644 --- a/radarr/CHANGELOG.md +++ b/radarr/CHANGELOG.md @@ -1,3 +1,6 @@ + +## 5.2.6.8376 (30-12-2023) +- Update to latest version from linuxserver/docker-radarr ### 5.1.3.8246-4 (02-12-2023) - Minor bugs fixed - Send crond messages to addon logs diff --git a/radarr/config.json b/radarr/config.json index 525358961..079aaa733 100644 --- a/radarr/config.json +++ b/radarr/config.json @@ -103,5 +103,5 @@ "slug": "radarr_nas", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons/tree/master/radarr", - "version": "5.1.3.8246-4" + "version": "5.2.6.8376" } diff --git a/radarr/updater.json b/radarr/updater.json index 8bf9d565d..222ec3525 100644 --- a/radarr/updater.json +++ b/radarr/updater.json @@ -1,8 +1,8 @@ { - "last_update": "18-11-2023", + "last_update": "30-12-2023", "repository": "alexbelgium/hassio-addons", "slug": "radarr", "source": "github", "upstream_repo": "linuxserver/docker-radarr", - "upstream_version": "5.1.3.8246" + "upstream_version": "5.2.6.8376" } From e59bd93c91b81de72ea884ac721241832c91c392 Mon Sep 17 00:00:00 2001 From: alexbelgium Date: Sat, 30 Dec 2023 02:03:48 +0100 Subject: [PATCH 64/88] Updater bot : readarr updated to 0.3.14.2348 --- readarr/CHANGELOG.md | 3 +++ readarr/config.json | 2 +- readarr/updater.json | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/readarr/CHANGELOG.md b/readarr/CHANGELOG.md index 7a9f81d1b..cc6294fb7 100644 --- a/readarr/CHANGELOG.md +++ b/readarr/CHANGELOG.md @@ -1,4 +1,7 @@ +## 0.3.14.2348 (30-12-2023) +- Update to latest version from linuxserver/docker-readarr + ## 0.3.13.2334 (23-12-2023) - Update to latest version from linuxserver/docker-readarr diff --git a/readarr/config.json b/readarr/config.json index 040af9479..465892036 100644 --- a/readarr/config.json +++ b/readarr/config.json @@ -102,5 +102,5 @@ "slug": "readarr_nas", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons/tree/master/readarr", - "version": "0.3.13.2334" + "version": "0.3.14.2348" } diff --git a/readarr/updater.json b/readarr/updater.json index 85a5e8755..6f8fa5885 100644 --- a/readarr/updater.json +++ b/readarr/updater.json @@ -1,9 +1,9 @@ { "github_beta": "true", - "last_update": "23-12-2023", + "last_update": "30-12-2023", "repository": "alexbelgium/hassio-addons", "slug": "readarr", "source": "github", "upstream_repo": "linuxserver/docker-readarr", - "upstream_version": "0.3.13.2334" + "upstream_version": "0.3.14.2348" } From 04410123cd5e4f1f3cb5cfe0c0f7815fb40614ae Mon Sep 17 00:00:00 2001 From: alexbelgium Date: Sat, 30 Dec 2023 02:05:17 +0100 Subject: [PATCH 65/88] Updater bot : sonarr updated to 4.0.0.740 --- sonarr/CHANGELOG.md | 3 +++ sonarr/Dockerfile | 2 +- sonarr/config.json | 2 +- sonarr/updater.json | 4 ++-- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/sonarr/CHANGELOG.md b/sonarr/CHANGELOG.md index b68c0aae9..6e8d58393 100644 --- a/sonarr/CHANGELOG.md +++ b/sonarr/CHANGELOG.md @@ -1,4 +1,7 @@ +## 4.0.0.740 (30-12-2023) +- Update to latest version from linuxserver/docker-sonarr + ## 4.0.0.738 (23-12-2023) - Update to latest version from linuxserver/docker-sonarr diff --git a/sonarr/Dockerfile b/sonarr/Dockerfile index 36e08d4d4..4629941e0 100644 --- a/sonarr/Dockerfile +++ b/sonarr/Dockerfile @@ -16,7 +16,7 @@ ARG BUILD_FROM ARG BUILD_VERSION -ARG BUILD_UPSTREAM="4.0.0.738" +ARG BUILD_UPSTREAM="4.0.0.740" FROM ${BUILD_FROM} ################## diff --git a/sonarr/config.json b/sonarr/config.json index 19290a16f..a47562e03 100644 --- a/sonarr/config.json +++ b/sonarr/config.json @@ -103,5 +103,5 @@ "slug": "sonarr_nas", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons/tree/master/sonarr", - "version": "4.0.0.738" + "version": "4.0.0.740" } diff --git a/sonarr/updater.json b/sonarr/updater.json index 5ced8960a..96cc9be94 100644 --- a/sonarr/updater.json +++ b/sonarr/updater.json @@ -1,9 +1,9 @@ { "github_beta": true, - "last_update": "23-12-2023", + "last_update": "30-12-2023", "repository": "alexbelgium/hassio-addons", "slug": "sonarr", "source": "github", "upstream_repo": "linuxserver/docker-sonarr", - "upstream_version": "4.0.0.738" + "upstream_version": "4.0.0.740" } From f93960514a286a7d78ca8da1d2caebf3314d5a6e Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 30 Dec 2023 07:09:57 +0000 Subject: [PATCH 66/88] Github bot : issues linked to readme --- transmission/README.md | 1 - transmission_openvpn/README.md | 1 - 2 files changed, 2 deletions(-) diff --git a/transmission/README.md b/transmission/README.md index 385a5b2c8..643dc2b9e 100644 --- a/transmission/README.md +++ b/transmission/README.md @@ -1,4 +1,3 @@ -## ⚠ Open Request : [✨ [REQUEST] Transmission Openvpn , add custom value for OPENVPN_PROVIDER (opened 2023-12-20)](https://github.com/alexbelgium/hassio-addons/issues/1141) by [@Moosketair](https://github.com/Moosketair) # Home assistant add-on: Transmission diff --git a/transmission_openvpn/README.md b/transmission_openvpn/README.md index 6bff922d9..f947be6ca 100644 --- a/transmission_openvpn/README.md +++ b/transmission_openvpn/README.md @@ -1,4 +1,3 @@ -## ⚠ Open Request : [✨ [REQUEST] Transmission Openvpn , add custom value for OPENVPN_PROVIDER (opened 2023-12-20)](https://github.com/alexbelgium/hassio-addons/issues/1141) by [@Moosketair](https://github.com/Moosketair) # Home assistant add-on: Transmission Openvpn [![Donate][donation-badge]](https://www.buymeacoffee.com/alexbelgium) From 614305daef8d2d0de0f33ad61ca7c444a6c1507c Mon Sep 17 00:00:00 2001 From: Alexandre Date: Sat, 30 Dec 2023 08:26:34 +0100 Subject: [PATCH 67/88] Migrate to new config logic https://github.com/alexbelgium/hassio-addons/issues/1144 --- unpackerr/CHANGELOG.md | 2 ++ unpackerr/config.json | 8 +++++--- unpackerr/rootfs/etc/cont-init.d/01-migration.sh | 6 ++++++ unpackerr/rootfs/etc/cont-init.d/99-config.sh | 9 +++++++-- unpackerr/updater.json | 4 ++-- 5 files changed, 22 insertions(+), 7 deletions(-) create mode 100644 unpackerr/rootfs/etc/cont-init.d/01-migration.sh diff --git a/unpackerr/CHANGELOG.md b/unpackerr/CHANGELOG.md index 97738cba7..22096ebdf 100644 --- a/unpackerr/CHANGELOG.md +++ b/unpackerr/CHANGELOG.md @@ -1,4 +1,6 @@ +- ⚠ MAJOR CHANGE : switch to the new config logic from homeassistant. Your configuration files will have migrated from /config to a folder only accessible from my Filebrowser addon called /addon_configs/db21ed7f_unpackerr. This avoids the addon to mess with your homeassistant configuration folder, and allows to backup the options. Migration of data, custom configs, and custom scripts should be automatic. Please be sure to update all your links however ! For more information, see here : https://developers.home-assistant.io/blog/2023/11/06/public-addon-config/ + ## testing-e916f00-9-linux-arm64-2023-09-17 (2023-09-17) - Update to latest version from hotio/unpackerr diff --git a/unpackerr/config.json b/unpackerr/config.json index 6250786b7..16054c32c 100644 --- a/unpackerr/config.json +++ b/unpackerr/config.json @@ -60,9 +60,10 @@ "image": "ghcr.io/alexbelgium/unpackerr-{arch}", "init": false, "map": [ - "config:rw", - "share:rw", "media:rw", + "addon_config:rw", + "homeassistant_config:rw", + "share:rw", "ssl" ], "name": "Unpackerr", @@ -85,7 +86,8 @@ "extraction_path": "str?", "localdisks": "str?", "networkdisks": "str?", - "watch_path": "str?" + "watch_path": "str?", + "TZ": "str?" }, "slug": "unpackerr", "udev": true, diff --git a/unpackerr/rootfs/etc/cont-init.d/01-migration.sh b/unpackerr/rootfs/etc/cont-init.d/01-migration.sh new file mode 100644 index 000000000..39e0736e6 --- /dev/null +++ b/unpackerr/rootfs/etc/cont-init.d/01-migration.sh @@ -0,0 +1,6 @@ +#!/usr/bin/bashio + +if [ -f /homeassistant/unpackerr.conf ]; then + bashio::log.warning "Migrating unpackerr.conf to /addons_configs/$HOSTNAME/unpackerr.conf" + mv /homeassistant/unpackerr.conf /config/unpackerr.conf +fi \ No newline at end of file diff --git a/unpackerr/rootfs/etc/cont-init.d/99-config.sh b/unpackerr/rootfs/etc/cont-init.d/99-config.sh index 8a9ea63ef..705ba0a97 100755 --- a/unpackerr/rootfs/etc/cont-init.d/99-config.sh +++ b/unpackerr/rootfs/etc/cont-init.d/99-config.sh @@ -1,11 +1,14 @@ #!/usr/bin/bashio # Set user -if bashio::config.has_value 'PUID'; then PUID="$(bashio::config 'PUID')"; fi -if bashio::config.has_value 'PGID'; then PGID="$(bashio::config 'PGID')"; fi +if bashio::config.has_value 'PUID'; then export PUID="$(bashio::config 'PUID')"; fi +if bashio::config.has_value 'PGID'; then export PGID="$(bashio::config 'PGID')"; fi +if bashio::config.has_value 'TZ'; then export TZ="$(bashio::config 'TZ')"; fi # Enable watch folder if bashio::config.has_value "watch_path"; then + # Info + bashio::log.info "Watch path is $(bashio::config 'watch_path'), creating folder and setting permission" # Enables folders sed -i "/[[folder]]/c [[folder]]" /config/unpackerr.conf # Set downloads path @@ -20,6 +23,8 @@ fi # Enable extraction folder if bashio::config.has_value "extraction_path"; then + # Info + bashio::log.info "Extraction path is $(bashio::config 'extraction_path'), creating folder and setting permission" # Enables folders sed -i "/[[folder]]/c [[folder]]" /config/unpackerr.conf # Set extraction path diff --git a/unpackerr/updater.json b/unpackerr/updater.json index 062f7791b..961e830fb 100644 --- a/unpackerr/updater.json +++ b/unpackerr/updater.json @@ -4,7 +4,7 @@ "last_update": "2023-09-17", "repository": "alexbelgium/hassio-addons", "slug": "unpackerr", - "source": "dockerhub", - "upstream_repo": "hotio/unpackerr", + "source": "github", + "upstream_repo": "Unpackerr/unpackerr", "upstream_version": "testing-e916f00-9-linux-arm64-2023-09-17" } From a804ccfdaf00d9035c596ec41702bc76e727a8a4 Mon Sep 17 00:00:00 2001 From: alexbelgium Date: Sat, 30 Dec 2023 08:37:13 +0100 Subject: [PATCH 68/88] Updater bot : emby updated to 4.8.0.65 --- emby/CHANGELOG.md | 3 +++ emby/Dockerfile | 2 +- emby/config.json | 2 +- emby/updater.json | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/emby/CHANGELOG.md b/emby/CHANGELOG.md index 766ff1243..a64bd1de3 100644 --- a/emby/CHANGELOG.md +++ b/emby/CHANGELOG.md @@ -1,4 +1,7 @@ +## 4.8.0.65 (30-12-2023) +- Update to latest version from linuxserver/docker-emby + ## 4.8.0.64 (30-12-2023) - Update to latest version from linuxserver/docker-emby diff --git a/emby/Dockerfile b/emby/Dockerfile index ea7c687bf..be5f713dd 100644 --- a/emby/Dockerfile +++ b/emby/Dockerfile @@ -16,7 +16,7 @@ ARG BUILD_FROM ARG BUILD_VERSION -ARG BUILD_UPSTREAM="4.8.0.64" +ARG BUILD_UPSTREAM="4.8.0.65" FROM ${BUILD_FROM} ################## diff --git a/emby/config.json b/emby/config.json index ec64da70a..be4178494 100644 --- a/emby/config.json +++ b/emby/config.json @@ -114,6 +114,6 @@ "slug": "emby_nas", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons/tree/master/emby", - "version": "4.8.0.64", + "version": "4.8.0.65", "video": true } diff --git a/emby/updater.json b/emby/updater.json index d89105ace..8b6c70230 100644 --- a/emby/updater.json +++ b/emby/updater.json @@ -5,5 +5,5 @@ "slug": "emby", "source": "github", "upstream_repo": "linuxserver/docker-emby", - "upstream_version": "4.8.0.64" + "upstream_version": "4.8.0.65" } From baa7b13c8d747a461bbada22c4dc8decb9c2f9fa Mon Sep 17 00:00:00 2001 From: alexbelgium Date: Sat, 30 Dec 2023 08:38:50 +0100 Subject: [PATCH 69/88] Updater bot : jackett updated to 0.21.1461 --- jackett/CHANGELOG.md | 3 +++ jackett/config.json | 2 +- jackett/updater.json | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/jackett/CHANGELOG.md b/jackett/CHANGELOG.md index 8ebc94eb3..57d81cde8 100644 --- a/jackett/CHANGELOG.md +++ b/jackett/CHANGELOG.md @@ -1,4 +1,7 @@ +## 0.21.1461 (30-12-2023) +- Update to latest version from linuxserver/docker-jackett + ## 0.21.1454 (30-12-2023) - Update to latest version from linuxserver/docker-jackett diff --git a/jackett/config.json b/jackett/config.json index 6a6779966..57b2acd70 100644 --- a/jackett/config.json +++ b/jackett/config.json @@ -100,6 +100,6 @@ "slug": "jackett_nas", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons/tree/master/jackett", - "version": "0.21.1454", + "version": "0.21.1461", "webui": "http://[HOST]:[PORT:9117]" } diff --git a/jackett/updater.json b/jackett/updater.json index a25f970a1..71d4a568d 100644 --- a/jackett/updater.json +++ b/jackett/updater.json @@ -4,5 +4,5 @@ "slug": "jackett", "source": "github", "upstream_repo": "linuxserver/docker-jackett", - "upstream_version": "0.21.1454" + "upstream_version": "0.21.1461" } From d65d881432fdc93498bb0b47165506bda96684bc Mon Sep 17 00:00:00 2001 From: alexbelgium Date: Sat, 30 Dec 2023 08:42:51 +0100 Subject: [PATCH 70/88] Updater bot : sonarr updated to 4.0.0.741 --- sonarr/CHANGELOG.md | 3 +++ sonarr/Dockerfile | 2 +- sonarr/config.json | 2 +- sonarr/updater.json | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/sonarr/CHANGELOG.md b/sonarr/CHANGELOG.md index 6e8d58393..78417d2a1 100644 --- a/sonarr/CHANGELOG.md +++ b/sonarr/CHANGELOG.md @@ -1,4 +1,7 @@ +## 4.0.0.741 (30-12-2023) +- Update to latest version from linuxserver/docker-sonarr + ## 4.0.0.740 (30-12-2023) - Update to latest version from linuxserver/docker-sonarr diff --git a/sonarr/Dockerfile b/sonarr/Dockerfile index 4629941e0..8e86843a0 100644 --- a/sonarr/Dockerfile +++ b/sonarr/Dockerfile @@ -16,7 +16,7 @@ ARG BUILD_FROM ARG BUILD_VERSION -ARG BUILD_UPSTREAM="4.0.0.740" +ARG BUILD_UPSTREAM="4.0.0.741" FROM ${BUILD_FROM} ################## diff --git a/sonarr/config.json b/sonarr/config.json index a47562e03..871b190b8 100644 --- a/sonarr/config.json +++ b/sonarr/config.json @@ -103,5 +103,5 @@ "slug": "sonarr_nas", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons/tree/master/sonarr", - "version": "4.0.0.740" + "version": "4.0.0.741" } diff --git a/sonarr/updater.json b/sonarr/updater.json index 96cc9be94..e111f3ea9 100644 --- a/sonarr/updater.json +++ b/sonarr/updater.json @@ -5,5 +5,5 @@ "slug": "sonarr", "source": "github", "upstream_repo": "linuxserver/docker-sonarr", - "upstream_version": "4.0.0.740" + "upstream_version": "4.0.0.741" } From 1a8d27b33bd287e9c7aad8680b674891c9a4b927 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 30 Dec 2023 08:43:12 +0100 Subject: [PATCH 71/88] Update Dockerfile --- unpackerr/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/unpackerr/Dockerfile b/unpackerr/Dockerfile index bbd61ffed..97e34c5ed 100644 --- a/unpackerr/Dockerfile +++ b/unpackerr/Dockerfile @@ -28,9 +28,9 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ S6_SERVICES_GRACETIME=0 # Global LSIO modifications -ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" -ARG CONFIGLOCATION="/config" -RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi && rm /ha_lsio.sh +#ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" +#ARG CONFIGLOCATION="/config" +#RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi && rm /ha_lsio.sh ################## # 3 Install apps # From 9617219d2bc4067de737fa66551bf090398b4810 Mon Sep 17 00:00:00 2001 From: alexbelgium Date: Sat, 30 Dec 2023 08:43:47 +0100 Subject: [PATCH 72/88] Updater bot : unpackerr updated to 0.12.0 --- unpackerr/CHANGELOG.md | 3 +++ unpackerr/config.json | 2 +- unpackerr/updater.json | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/unpackerr/CHANGELOG.md b/unpackerr/CHANGELOG.md index 22096ebdf..c6a830983 100644 --- a/unpackerr/CHANGELOG.md +++ b/unpackerr/CHANGELOG.md @@ -1,4 +1,7 @@ +## 0.12.0 (30-12-2023) +- Update to latest version from Unpackerr/unpackerr + - ⚠ MAJOR CHANGE : switch to the new config logic from homeassistant. Your configuration files will have migrated from /config to a folder only accessible from my Filebrowser addon called /addon_configs/db21ed7f_unpackerr. This avoids the addon to mess with your homeassistant configuration folder, and allows to backup the options. Migration of data, custom configs, and custom scripts should be automatic. Please be sure to update all your links however ! For more information, see here : https://developers.home-assistant.io/blog/2023/11/06/public-addon-config/ ## testing-e916f00-9-linux-arm64-2023-09-17 (2023-09-17) diff --git a/unpackerr/config.json b/unpackerr/config.json index 16054c32c..e4c739dac 100644 --- a/unpackerr/config.json +++ b/unpackerr/config.json @@ -92,5 +92,5 @@ "slug": "unpackerr", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "testing-e916f00-9-linux-arm64-2023-09-17" + "version": "0.12.0" } diff --git a/unpackerr/updater.json b/unpackerr/updater.json index 961e830fb..3ecb93837 100644 --- a/unpackerr/updater.json +++ b/unpackerr/updater.json @@ -1,10 +1,10 @@ { "dockerhub_by_date": true, "fulltag": true, - "last_update": "2023-09-17", + "last_update": "30-12-2023", "repository": "alexbelgium/hassio-addons", "slug": "unpackerr", "source": "github", "upstream_repo": "Unpackerr/unpackerr", - "upstream_version": "testing-e916f00-9-linux-arm64-2023-09-17" + "upstream_version": "0.12.0" } From 206981802d0e9134d953981d8d01e3ef11e7d9fc Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 30 Dec 2023 07:44:26 +0000 Subject: [PATCH 73/88] GitHub bot : scripts executable --- unpackerr/rootfs/etc/cont-init.d/01-migration.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 unpackerr/rootfs/etc/cont-init.d/01-migration.sh diff --git a/unpackerr/rootfs/etc/cont-init.d/01-migration.sh b/unpackerr/rootfs/etc/cont-init.d/01-migration.sh old mode 100644 new mode 100755 From b9ccf4cb24220dacd1fbb87667c96054b817b557 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 30 Dec 2023 11:01:18 +0100 Subject: [PATCH 74/88] Remove blanks --- .../rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh b/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh index 9a2ea9d85..02a6c525f 100755 --- a/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh @@ -117,6 +117,8 @@ fi cd "$CONFIG_LOCATION"/ || true WHITELIST="$(bashio::config 'whitelist')" +# Remove blanks +WHITELIST="${WHITELIST// /}" #clean data sed -i '/AuthSubnetWhitelist/d' qBittorrent.conf From 523cd251f749625c0c9a35c86b55eba8cccc2e46 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 30 Dec 2023 11:03:32 +0100 Subject: [PATCH 75/88] Update CHANGELOG.md --- qbittorrent/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/qbittorrent/CHANGELOG.md b/qbittorrent/CHANGELOG.md index 071004e7f..01e44bcd7 100644 --- a/qbittorrent/CHANGELOG.md +++ b/qbittorrent/CHANGELOG.md @@ -1,5 +1,6 @@ - Feat : sanitize ovpn files by disabling ipv6 (not supported by HA), ensuring CRLF, checking paths of referenced static files - Feat : if no ovpn is referred in the option, it will use a random one from the openvpn folder +- Fix : avoid addon restart at each start (due to blanks being cleaned in the whitelist field) ### 4.6.2_27_reverted (23-12-2023) - ⚠ BREAKING CHANGE : I've decided to revert to the initial upstream image, apologies for this whole incovenience. After receiving many constructive (or plainly negative) feedbacks I have decided it was just not worth it to implement a new upstream image supposed to prevent ip leak for openvpn, plus wireguard support, and decided to just restore my own code. I've still kept qbit_manage, and will perhaps implement wireguard in the future but with my own code. As the databases were migrated for users to the new config locations, I've decided to keep it like that. It is more sustainable as HA is pushing in this direction and allows to backup the config with the addon (which was not the case previously). From 6669762228a3136603b34a18b270ca635d7b5c86 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 30 Dec 2023 11:06:26 +0100 Subject: [PATCH 76/88] Update CHANGELOG.md --- qbittorrent/CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qbittorrent/CHANGELOG.md b/qbittorrent/CHANGELOG.md index 01e44bcd7..1db6da139 100644 --- a/qbittorrent/CHANGELOG.md +++ b/qbittorrent/CHANGELOG.md @@ -1,5 +1,5 @@ -- Feat : sanitize ovpn files by disabling ipv6 (not supported by HA), ensuring CRLF, checking paths of referenced static files -- Feat : if no ovpn is referred in the option, it will use a random one from the openvpn folder +- Feat : sanitize ovpn files (disabling ipv6 as not supported by HA, ensuring CRLF, ensure trailing new line, checking paths of referenced static files...) +- Feat : if no ovpn is referred in the option, it will use a random one from the openvpn folder (from https://github.com/Trigus42/alpine-qbittorrentvpn) - Fix : avoid addon restart at each start (due to blanks being cleaned in the whitelist field) ### 4.6.2_27_reverted (23-12-2023) From bc67d15cfddcb0a398388f1cdcddb6fcb8bf04c7 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 30 Dec 2023 11:15:40 +0100 Subject: [PATCH 77/88] Reduce verbosity of cron jobs --- .templates/ha_lsio.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.templates/ha_lsio.sh b/.templates/ha_lsio.sh index f12b08b9b..1b9fc9391 100755 --- a/.templates/ha_lsio.sh +++ b/.templates/ha_lsio.sh @@ -40,7 +40,7 @@ done # Send crond logs to addon logs if [ -f /etc/s6-overlay/s6-rc.d/svc-cron/run ]; then - sed -i "/exec busybox crond/c exec busybox crond -f -L /proc/1/fd/1 -S -l 5" /etc/s6-overlay/s6-rc.d/svc-cron/run + sed -i "/exec busybox crond/c exec busybox crond -f -L /proc/1/fd/1 -S" /etc/s6-overlay/s6-rc.d/svc-cron/run sed -i "/exec \/usr\/sbin\/cron/c exec /usr/sbin/cron -f -L /proc/1/fd/1 5" /etc/s6-overlay/s6-rc.d/svc-cron/run fi From 2449628572371345b721251277fe760aa30970ec Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 30 Dec 2023 11:19:47 +0100 Subject: [PATCH 78/88] Update ha_lsio.sh --- .templates/ha_lsio.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.templates/ha_lsio.sh b/.templates/ha_lsio.sh index 1b9fc9391..90620f1bf 100755 --- a/.templates/ha_lsio.sh +++ b/.templates/ha_lsio.sh @@ -40,8 +40,8 @@ done # Send crond logs to addon logs if [ -f /etc/s6-overlay/s6-rc.d/svc-cron/run ]; then - sed -i "/exec busybox crond/c exec busybox crond -f -L /proc/1/fd/1 -S" /etc/s6-overlay/s6-rc.d/svc-cron/run - sed -i "/exec \/usr\/sbin\/cron/c exec /usr/sbin/cron -f -L /proc/1/fd/1 5" /etc/s6-overlay/s6-rc.d/svc-cron/run + sed -i "/exec busybox crond/c exec busybox crond -f -S -L /proc/1/fd/1" /etc/s6-overlay/s6-rc.d/svc-cron/run + sed -i "/exec \/usr\/sbin\/cron/c exec /usr/sbin/cron -f &>/proc/1/fd/1" /etc/s6-overlay/s6-rc.d/svc-cron/run fi # Replace lsiown if not found From 95b4fed3561243179252ee34e63587c2dd72739f Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 30 Dec 2023 11:23:40 +0100 Subject: [PATCH 79/88] Update config.json --- qbittorrent/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbittorrent/config.json b/qbittorrent/config.json index 740b52dde..b5c39b137 100644 --- a/qbittorrent/config.json +++ b/qbittorrent/config.json @@ -139,5 +139,5 @@ "slug": "qbittorrent", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "4.6.2_27_reverted" + "version": "4.6.2_28" } From 340771bd9dfa3fe8b20624a5625e41f70ddd7cb5 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 30 Dec 2023 10:30:03 +0000 Subject: [PATCH 80/88] GitHub bot : changelog --- qbittorrent/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qbittorrent/CHANGELOG.md b/qbittorrent/CHANGELOG.md index 1db6da139..de3386c93 100644 --- a/qbittorrent/CHANGELOG.md +++ b/qbittorrent/CHANGELOG.md @@ -1,3 +1,5 @@ +### 4.6.2_28 (30-12-2023) +- Minor bugs fixed - Feat : sanitize ovpn files (disabling ipv6 as not supported by HA, ensuring CRLF, ensure trailing new line, checking paths of referenced static files...) - Feat : if no ovpn is referred in the option, it will use a random one from the openvpn folder (from https://github.com/Trigus42/alpine-qbittorrentvpn) - Fix : avoid addon restart at each start (due to blanks being cleaned in the whitelist field) From c7cdbb2fe1138fbbc556b7670938758a703bb524 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 30 Dec 2023 11:31:14 +0100 Subject: [PATCH 81/88] Create script.template --- .templates/script.template | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .templates/script.template diff --git a/.templates/script.template b/.templates/script.template new file mode 100644 index 000000000..367b110d3 --- /dev/null +++ b/.templates/script.template @@ -0,0 +1,9 @@ +#!/usr/bin/with-contenv bashio +# shellcheck shell=bash + +################# +# CODE INJECTOR # +################# + +# Any commands written in this bash script will be executed at addon start +# See guide here : https://github.com/alexbelgium/hassio-addons/wiki/Add%E2%80%90ons-feature-:-customisation From 5a044c90c9edbd39765bd15db2d2b72b547d6ee5 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 30 Dec 2023 11:40:36 +0100 Subject: [PATCH 82/88] Update 01-custom_script.sh --- .templates/01-custom_script.sh | 36 ++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/.templates/01-custom_script.sh b/.templates/01-custom_script.sh index 9c08a81e1..27ddd9866 100755 --- a/.templates/01-custom_script.sh +++ b/.templates/01-custom_script.sh @@ -22,18 +22,30 @@ else mkdir -p /config/addons_autoscripts fi -bashio::log.green "Execute $CONFIGLOCATION/${slug}.sh if existing" -bashio::log.green "---------------------------------------------------------" -bashio::log.green "If accessing the file with filebrowser it should be mapped to $CONFIGFILEBROWSER/${slug}.sh" +bashio::log.green "Execute $CONFIGFILEBROWSER/${slug}.sh if existing" bashio::log.green "Wiki here : github.com/alexbelgium/hassio-addons/wiki/Add-ons-feature-:-customisation" -# Execute scripts -if [ -f "$CONFIGLOCATION/${slug}".sh ]; then - bashio::log.green "... script found, executing" - # Convert scripts to linux - dos2unix "$CONFIGLOCATION/${slug}".sh || true - chmod +x "$CONFIGLOCATION/${slug}".sh || true - /."$CONFIGLOCATION/${slug}".sh -else - bashio::log.green "... no script found, exiting" +# Download template if no script found and exit +if [ ! -f "$CONFIGLOCATION/${slug}".sh ]; then + TEMPLATESOURCE="https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/script.template" + curl -f -L -s -S "$TEMPLATESOURCE" --output "$CONFIGLOCATION/${slug}".sh + exit 0 fi + +# Convert scripts to linux +dos2unix "$CONFIGLOCATION/${slug}".sh &>/dev/null || true +chmod +x "$CONFIGLOCATION/${slug}".sh + +# Check if there is actual commands +while IFS= read -r line +do + # Remove leading and trailing whitespaces + line=$(echo "$line" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//') + + # Check if line is not empty and does not start with # + if [[ -n "$line" ]] && [[ ! "$line" =~ ^# ]]; then + bashio::log.green "... script found, executing" + /."$CONFIGLOCATION/${slug}".sh + exit 0 + fi +done < "$CONFIGLOCATION/${slug}".sh From c3a26634105a55b5835ee9bb5581e5f22947fadd Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 30 Dec 2023 11:44:02 +0100 Subject: [PATCH 83/88] Update 01-custom_script.sh --- .templates/01-custom_script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.templates/01-custom_script.sh b/.templates/01-custom_script.sh index 27ddd9866..26f9dbad0 100755 --- a/.templates/01-custom_script.sh +++ b/.templates/01-custom_script.sh @@ -40,7 +40,7 @@ chmod +x "$CONFIGLOCATION/${slug}".sh while IFS= read -r line do # Remove leading and trailing whitespaces - line=$(echo "$line" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//') + line="$(echo "$line" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')" # Check if line is not empty and does not start with # if [[ -n "$line" ]] && [[ ! "$line" =~ ^# ]]; then From 5baacbbf6b0f56cc7c26f5047901eccf179cd2c1 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 30 Dec 2023 11:59:28 +0100 Subject: [PATCH 84/88] Update 91-qbittorrent_configuration.sh --- .../rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh b/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh index 02a6c525f..0a41a3b4d 100755 --- a/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh @@ -117,8 +117,9 @@ fi cd "$CONFIG_LOCATION"/ || true WHITELIST="$(bashio::config 'whitelist')" -# Remove blanks +# Sanitize blanks after comma WHITELIST="${WHITELIST// /}" +WHITELIST="${WHITELIST//,/,\ }" #clean data sed -i '/AuthSubnetWhitelist/d' qBittorrent.conf From 988852fdc9be5ce1b4cc510ce9978b32830e1bda Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 30 Dec 2023 12:00:12 +0100 Subject: [PATCH 85/88] Update CHANGELOG.md --- qbittorrent/CHANGELOG.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qbittorrent/CHANGELOG.md b/qbittorrent/CHANGELOG.md index de3386c93..aca7d7482 100644 --- a/qbittorrent/CHANGELOG.md +++ b/qbittorrent/CHANGELOG.md @@ -1,8 +1,7 @@ -### 4.6.2_28 (30-12-2023) -- Minor bugs fixed - Feat : sanitize ovpn files (disabling ipv6 as not supported by HA, ensuring CRLF, ensure trailing new line, checking paths of referenced static files...) - Feat : if no ovpn is referred in the option, it will use a random one from the openvpn folder (from https://github.com/Trigus42/alpine-qbittorrentvpn) - Fix : avoid addon restart at each start (due to blanks being cleaned in the whitelist field) +- Fix : reduce cron log level to avoid spam ### 4.6.2_27_reverted (23-12-2023) - ⚠ BREAKING CHANGE : I've decided to revert to the initial upstream image, apologies for this whole incovenience. After receiving many constructive (or plainly negative) feedbacks I have decided it was just not worth it to implement a new upstream image supposed to prevent ip leak for openvpn, plus wireguard support, and decided to just restore my own code. I've still kept qbit_manage, and will perhaps implement wireguard in the future but with my own code. As the databases were migrated for users to the new config locations, I've decided to keep it like that. It is more sustainable as HA is pushing in this direction and allows to backup the config with the addon (which was not the case previously). From 69847c16d77962f1231717fe0ec0c4445b081234 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 30 Dec 2023 12:00:24 +0100 Subject: [PATCH 86/88] Update config.json --- qbittorrent/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbittorrent/config.json b/qbittorrent/config.json index b5c39b137..ab3652522 100644 --- a/qbittorrent/config.json +++ b/qbittorrent/config.json @@ -139,5 +139,5 @@ "slug": "qbittorrent", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "4.6.2_28" + "version": "4.6.2_29" } From 1c748da10a64a973925964c59cfb85cfb9d3cdb8 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 30 Dec 2023 11:06:50 +0000 Subject: [PATCH 87/88] GitHub bot : changelog --- qbittorrent/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qbittorrent/CHANGELOG.md b/qbittorrent/CHANGELOG.md index aca7d7482..e022ebd35 100644 --- a/qbittorrent/CHANGELOG.md +++ b/qbittorrent/CHANGELOG.md @@ -1,3 +1,5 @@ +### 4.6.2_29 (30-12-2023) +- Minor bugs fixed - Feat : sanitize ovpn files (disabling ipv6 as not supported by HA, ensuring CRLF, ensure trailing new line, checking paths of referenced static files...) - Feat : if no ovpn is referred in the option, it will use a random one from the openvpn folder (from https://github.com/Trigus42/alpine-qbittorrentvpn) - Fix : avoid addon restart at each start (due to blanks being cleaned in the whitelist field) From f7d879cfc01f34431a53a769038bb82b966e870c Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 30 Dec 2023 13:27:10 +0000 Subject: [PATCH 88/88] Github bot : issues linked to readme --- jellyfin/README.md | 1 - qbittorrent/README.md | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/jellyfin/README.md b/jellyfin/README.md index 3fb1f6a5f..c391fb21e 100644 --- a/jellyfin/README.md +++ b/jellyfin/README.md @@ -1,4 +1,3 @@ -## ⚠ Open Request : [✨ [REQUEST] Jellyfin discord bot (opened 2023-08-17)](https://github.com/alexbelgium/hassio-addons/issues/943) by [@matsob0123](https://github.com/matsob0123) ## ⚠ Open Request : [✨ [REQUEST] Jellyfish NAS: omit `/config/addons_config/jellyfin/data/metadata` from backup (opened 2023-10-25)](https://github.com/alexbelgium/hassio-addons/issues/1048) by [@bilogic](https://github.com/bilogic) # Home assistant add-on: jellyfin diff --git a/qbittorrent/README.md b/qbittorrent/README.md index 1135619c5..783cd3fb2 100644 --- a/qbittorrent/README.md +++ b/qbittorrent/README.md @@ -1,4 +1,5 @@ ## ⚠ Open Issue : [🐛 [qbittorrent] Unable to get qbitmanage to run (opened 2023-12-13)](https://github.com/alexbelgium/hassio-addons/issues/1131) by [@hacshacdgacs](https://github.com/hacshacdgacs) +## ⚠ Open Issue : [[Qbittorrent] random ovpn is NOT used as advertised in changelog (opened 2023-12-30)](https://github.com/alexbelgium/hassio-addons/issues/1150) by [@Stooovie](https://github.com/Stooovie) # Home assistant add-on: qbittorrent [![Donate][donation-badge]](https://www.buymeacoffee.com/alexbelgium)