-
-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Container overwrites configs and doesn't respect directories #251
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
Can you try the same without using rootless please? |
Without rootless the container overwrites both sections mentioned at each stop, but manually selecting the directory in web ui always downloads files in the correct paths. |
I would expect the file to get overwritten if you're editing it outside of the app and not saving it with the correct permissions/ownership. As on start up, It checks to see if it can see a config file there https://github.com/linuxserver/docker-qbittorrent/blob/master/root/etc/s6-overlay/s6-rc.d/init-qbittorrent-config/run#L7 |
When running rootless it chowns to the highest SUBUID in the range for PUID 1001 (this is true for all files, configs and downloads) and therefore i can no longer edit them if not with sudo. |
I can't comment on rootless, are containers are not designed to run in that environment nor do we provide support for it. You should not be setting these to 0 as that means qbittorrent will be running as root. |
Running rootless shouldn't make any difference to how the container operates with regards to the config files unless you're mounting /config somewhere weird like an NFS mount. |
/config is on a regular directory and so is /downloads/incomplete /complete is in a cifs mount. I can confirm that running the container as non-rootless works with this configuration Edit: But weirdly enough running it as rootless works too, the first time |
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
As we do not support or design to support rootless, though it CAN work, our expectation is that users running an unsupported setup are able to support it themselves. Best-effort help is available on our discord in #other-support, but a github issue would be inappropriate for an unsupported configuration like this. Closing this as OP confirmed the supported setup works as expected. |
This issue is locked due to inactivity |
Is there an existing issue for this?
Current Behavior
Container overwrites configs and doesn't respect directories.
The first time i run the (rootless) container it will actually download the files in the /downloads/incomplete and /complete directories i specified but as soon as stop the container (docker compose down) and restart it (docker compose up) it will store complete and incomplete files in /downloads even if i specify the directory from the webui until i remove the /config folder and start over by setting folders via webui.
Also,
This section always gets overwritten when the container exits:
This section always stays the same:
Expected Behavior
The container respects directory configuration.
Steps To Reproduce
See current behavior & docker-compose.yml
Environment
CPU architecture
x86-64
Docker creation
Container logs
The text was updated successfully, but these errors were encountered: