-
Notifications
You must be signed in to change notification settings - Fork 126
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
Configuration permission issues - unable to access rclone config file #122
Comments
For some reason not using an environment file and using direct env values in the podman run command fixes this and it runs like normal… confusing :/ Worth noting there must be something fragile about the way env files are handled. |
I attempted to reproduce the issue but wasn't successful. Could you provide the environment variables starting with Furthermore, if your error message is |
I also had the same issue as @n-hass. However, instead of using direct env values like he did, I directly mounted the .env file to /.env and removed the --env-file flag. Then, everything loaded as it should. Something isn't getting read correctly when using the --env-file flag. |
I compared the differences between using When the environment variable values in the I would like to get more information, especially the output of environment variables, to help troubleshoot the issue. |
After you mentioned this, I did go back and try loading the .env as --env-file and can replicate your findings. I had some single quote entries that were read in with the quotes.
What information are you seeking and how can I help provide it to help you with further troubleshooting? |
I need to confirm if the problem is caused by the improper removal of quotation marks around the environment variable values when using If possible, please provide the log information related to environment variables. They should be separated by yellow Unfortunately, even if we have confirmed that the issue is caused by quotation marks, there are limited actions this tool can take. I believe the best course of action would be to include a reminder in the README, advising users not to use the While it might be tempting to simply remove leading and trailing quotation marks from the values of environment variables, what should the tool do if a user's environment variable is |
Hello
I am encountering some strange issues with permissions. Whether I use my userns keep-id or as root 0:0, I can create and view a config with podman run but cannot run the backup script.
IE, this reveals my valid config:
and then the same command dropping the
-it
andrclone config
, fails with config not found:If I also do
-it —entrypoint sh
, i can go to the config dir and access the rclone.conf file.Why might the backup script be the only thing not able to access the rclone config?
The text was updated successfully, but these errors were encountered: