Womabre / unraid-docker-templates

unRAID Docker templates
19 stars 2 forks source link

Failsafe / .mounted Path Change / Multiple Install #11

Open Maniskryptus opened 2 years ago

Maniskryptus commented 2 years ago

Hello,

I would like to install icloudpd as docker on my unraid server. That worked great. But since we are several people in the house, I need a 2 instance. However, the program always asks for the .mounted file in the iCloudpd folder, even though I renamed everything to iCloudpd_test. Is it possible to change the path of the failsafe file, .mounted? Original: /home/user/iCloud/.mounted Modified: /home/user/iCloud_test/.mounted. Thanks very much!

Womabre commented 2 years ago

The path you are referring to, /home/user/iCloud, is the internal container path that is redirected to a host path. This can be configured in the docker settings. So you can create two containers with two separate host paths. For example /mnt/user/icloud_user1 and /mnt/user/icloud_user2 Both paths must contain a .mounted file.

image

Maniskryptus commented 2 years ago

Thanks for your answer.

I've made screenshots now, maybe you can see such a mistake.

The first container is "iCloudpd_itsweber", this also works fine.

The second container is "iCloudpd_user2", I have now only adjusted the data path there and changed it to "/mnt/user/icloud_user2". Otherwise everything standard.

Then the following error appears in the log.

Screenshot 2022-09-08 184820

Container 1 Screenshot 2022-09-09 070441

Screenshot 2022-09-09 070500

Container 2 Screenshot 2022-09-09 070348

Screenshot 2022-09-09 070413

Maniskryptus commented 2 years ago

I found the solution.

I think I didn't understand the principle of Docker at UNRAID at first. It is always a matter of redirects, so you can specify the DATA path as you like, it is always forwarded internally to /home/user/iCloud.

Anyway I had to adjust 3 paths to make it work.

I made it clear with the screenshots.

_Kostrazia stands for the individual name. You can choose whatever you like.

Now I just need to know where in the UNRAID container I set the True for automatically converting the HEIC files to JPEG. Maybe someone knows.

Screenshot 2022-09-10 092712

Screenshot 2022-09-10 092730

Screenshot 2022-09-10 092749

pdawg17 commented 1 year ago

I found the solution.

I think I didn't understand the principle of Docker at UNRAID at first. It is always a matter of redirects, so you can specify the DATA path as you like, it is always forwarded internally to /home/user/iCloud.

Anyway I had to adjust 3 paths to make it work.

I made it clear with the screenshots.

_Kostrazia stands for the individual name. You can choose whatever you like.

Now I just need to know where in the UNRAID container I set the True for automatically converting the HEIC files to JPEG. Maybe someone knows.

Screenshot 2022-09-10 092712

Screenshot 2022-09-10 092730

Screenshot 2022-09-10 092749

I'm having the same issue and just came across your post. I did just as you did but when I start the docker and check the logs, it still shows "/home/user/iCloud" as the download directory in the logs and the config points to the icloudpd.conf and not the second one. Did the log change for you once you did this?