docker-compose-nas
docker-compose-nas copied to clipboard
Update Script to Allowlist QBittorrent Instead of Attempting to Use Password
Using a salted password will not work because presumably every client download has a different salt. This is why the previous default wouldn't work even if we write the password to the .conf file.
This instead adds the subnet of the docker network to the conf file.
If this is to be merged in I would recommend also cleaning up the environmental variables passed into the container I added last commit.
Are you sure about this? It works for me and is a documented workaround with multiple people saying it works:
- https://www.reddit.com/r/unRAID/comments/180ou0b/comment/kah9zk3/
- https://github.com/qbittorrent/qBittorrent/issues/11680#issuecomment-566550516
- https://www.truenas.com/community/threads/qbittorrent-4-6-3-cant-log-into-webui.116563/#post-811282
I think your approach makes sense and is cleaner, but I would not remove the existing
sed -i.bak '/WebUI\\ServerDomains=*/a WebUI\\Password_PBKDF2="@ByteArray(ARQ77eY1NUZaQsuDHbIMCA==:0WMRkYTUWVT9wVvdDtHAjU9b3b7uB8NR1Gur2hmQCvCDpm39Q+PsJRJPaCU51dEiz+dTzh8qbPsL8WkFljQYFQ==)"'line as this is useful for the end user.