Everything posted by J7mbo
-
[Support] binhex - Rclone
Ah I understand, I was confusing running that config command with having to set a password. It's now running and copying stuff after playing with the config. Thanks for you help! --- For future users, here's how I'm backup up (just as an example) my unraid appdata directory to icloud. Setup a fresh container. The RCLONE_MEDIA_SHARES is set to /nas-appdata-backup. The path: /media you need to click EDIT and set the container path to /nas-appdata-backup and the host path to /mnt/user/appdata/. The RCLONE_REMOTE_NAME is: Icloud:/Documents/Backups. This doesn't exist yet, but you should create a Backups directory in your icloud documents folder. Once the container is started, you need to access the container shell and run rclone config --user-agent "Mozilla" --config /config/rclone/config/rclone.conf . I just set it to Mozilla Go through the steps of adding setting up icloud. Call it “Icloud” Now restart the container and access the UI. It should already be automatically copying the contents of the container's /appdata-backup directory, which is mounted from the /mnt/user/appdata directory on your nas, to your icloud Documents/Backup directory. When you have to set a user-agent when creating an iCloud remote, perhaps you can instead set this using the RCLONE_USER_FLAGS env var on the container, but I just did it in the console.
-
[Support] binhex - Rclone
Alright so once I create an empty config file I. The location, the gui loads. Next issue is that you can’t create an iCloud config in there, because apple blocks the user agent. On the command line it doesn’t work either, unless you use the —user-agent setting and set it to something random. Looks like there’s no way to do that in the gui though.
-
[Support] binhex - Rclone
If I don’t set a password in the console as logs say, then the GUI doesn’t run. I mentioned this in my first post that this is what I needed to do to make the gui run. There is no log line on starting the container saying that the gui is running, unless I first set a password in the console and then restart the container. On a fresh setup, without setting a password in the console, here are the log lines:
-
[Support] binhex - Rclone
Sorry I called it "gui password" in the post above, but it's `WEBUI_PASS`. I have set that in one of the first steps. I edited the original post to reference the correct variable names.
-
[Support] binhex - Rclone
From a complete fresh setup with only a few steps needed to get the gui to actually start running, this container uses 45% of the cpu on my nas and the logs are spammed with the following: The steps I followed to get the gui to launch were: Fresh container installed via "Apps" in unraid, previous installations directories in appdata are already deleted, so it's a fresh install Only 3 values are changed in the unraid configuration for the docker container: WEBUI_USER, WEBUI_PASS, and the path mounted as /media in the container (I set it to the appdata directory das that's what I want to backup). RCLONE_MEDIA_SHARES is also empty by default, I'm not sure why, so I set it to media. On the container running, I note that the gui isn't reachable, and instead the logs show that I need to set a password in the container, so I do that, with: rclone config --config /config/rclone/config/rclone.conf . I set a password. Then I have to restart the container. Finally, I get the "password:Bad password" error in the logs I don't know which password it's referring to, but after going through these steps, the GUI does load, but uses 45% of my cpu whilst spamming the logs. I presume that the reason for the cpu usage is just because of the bad password thing.