Closed smshapiro85 closed 2 years ago
Thanks for your patience, could you try running the following to see if your config file is getting properly loaded:
docker run \
--rm \
-v /path/to/rclone.conf:/config/rclone/rclone.conf \
-e RCLONE_CONFIG='/config/rclone/rclone.conf' \
--entrypoint rclone \
ghcr.io/ep1cman/unifi-protect-backup \
listremotes
This hould list the remotes it has configured, for example I see:
local:
onedrive:
Hi,
I just updated the README as there were some issues reported by another user. Please check that out to see if it helps
@ep1cman yes that did it, thank you.... for anyone who comes back here using Docker, just make sure that the rclone config file target is "/config/rclone/rclone.conf" instead of "/config/rclone.conf."
Here is a copy of my working docker script:
docker run \
-e UFP_USERNAME='unifibackup' \
-e UFP_PASSWORD='REDACTED' \
-e UFP_ADDRESS='192.168.1.1' \
-e UFP_SSL_VERIFY='false' \
-e RCLONE_DESTINATION='unifirclone:/12t-unifi-rclone' \
-e RCLONE_RETENTION='180d' \
-v /Users/porterranch/.config/rclone:/data \
--mount type=bind,source="/Users/porterranch/.config/rclone/rclone.conf",target=/config/rclone/rclone.conf \
-v /Users/porterranch/.config/rclone/:/config \
ghcr.io/ep1cman/unifi-protect-backup
Description
I am trying this out in Docker on a Mac but having trouble with the app finding the rclone remote. Error message:
What I Did
Docker script
Rclone Config
Screenshot of docker inspect window
Traceback