You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,8 @@
9
9
[./run-seedbox.sh] line 320: ./env/traefik.env: No such file or directory
10
10
```
11
11
This bug was introduced in ``v2.2.1`` release and I'm sorry for it. It should work as expected now.
12
+
*[**Flood**] Fix #61
13
+
The feature of Deluge Daemon auth autoconfig was broken since v2.2.0. It should work now and also handle filesystem with different permissions between config directory and media directory.
# Cleanup files before start, in case there was a change we start from scratch at every script execution
255
244
rm -f services/generated/*-vpn.yaml
245
+
rm -f services/generated/*-envfile.yaml
256
246
257
247
ALL_SERVICES="-f docker-compose.yaml"
258
248
@@ -307,6 +297,47 @@ for json in $(yq eval -o json config.yaml | jq -c ".services[]"); do
307
297
fi
308
298
fi
309
299
300
+
# If we are on flood service AND autoconfig for flood password is set to true:
301
+
# Check that .env.custom exists and variable defined
302
+
# Do the deluge autoconfig - we already checked that deluge is enabled at this point
303
+
if [[ ${name}=="flood"&&${FLOOD_AUTOCREATE_USER_IN_DELUGE_DAEMON}==true ]];then
304
+
# Specific instructions for Flood
305
+
if [[ !-f env/${name}.env ]];then
306
+
echo"ERROR. You set variable \"FLOOD_AUTOCREATE_USER_IN_DELUGE_DAEMON\" to true but you did not specify key \"FLOOD_FLOOD_PASSWORD\" in your .env.custom."
307
+
exit 1
308
+
fi
309
+
set -a
310
+
source env/${name}.env
311
+
set +a
312
+
# User for Deluge daemon RPC has to be created in deluge auth config file
0 commit comments