Skip to content
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

rclone remote mount help #174

Open
mihcox opened this issue Oct 27, 2024 · 1 comment
Open

rclone remote mount help #174

mihcox opened this issue Oct 27, 2024 · 1 comment

Comments

@mihcox
Copy link

mihcox commented Oct 27, 2024

  • Unifi Protect Backup version: unifi-protect-backup:latest
  • Unifi Protect version: Protect 5.0.45
  • Python version:
  • Operating System: UNRAID
  • Are you using a docker container or native?: DOCKER

Description

Trying to add a new remote path, which works over my cmd, but does not work via unraid docker container.

What I Did

rclone destination: TrueNas:/
Container Variable: RCLONE_DESTINATION
rclone destination path in the format {rclone remote}:{path on remote}. E.g.gdrive:/backups/unifi_protect

Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/unifi_protect_backup/unifi_protect_backup_core.py", line 189, in start
await self._check_rclone()
File "/usr/lib/python3.12/site-packages/unifi_protect_backup/unifi_protect_backup_core.py", line 331, in _check_rclone
raise ValueError(f"rclone does not have a remote called {remote}")
ValueError: rclone does not have a remote called TrueNas
v

But when running via the command line to validate the rclone config, it works as expected. Any advice?

rclone copy /mnt/user/Photo/To\ Sort/ 'TrueNas:Content/Camera Recorings'

runs without issue

@ep1cman
Copy link
Owner

ep1cman commented Jan 18, 2025

This is usually caused by incorrectly mounting the config file into the container. I would suggest getting a console into the container and checking if the file is where you expect it to be with the contents you expect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants