-
-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I am trying to run iCloud-docker with an external hard drive, that is exfat. When first starting, everything worked fine. After my system had to reboot, I was unable to start iCloud-docker properly as it has trouble changing permissions:
maxikrause@raspi3-mk:~/icloud $ docker compose up -d && docker compose logs -f
[+] Running 1/1
✔ Container icloud-backup Started 0.8s
icloud-backup | Setting up user 'abc' with UID: 1000, GID: 1000
icloud-backup |
icloud-backup | ====================================================
icloud-backup | To support this project, please consider sponsoring.
icloud-backup | https://github.com/sponsors/mandarons
icloud-backup | https://www.buymeacoffee.com/mandarons
icloud-backup |
icloud-backup | User UID: 1000
icloud-backup | User GID: 1000
icloud-backup | ====================================================
icloud-backup | Setting ownership for /app
icloud-backup | Setting ownership for /icloud
icloud-backup | chown: /icloud/drive/Documents/Hochschule Fresenius/Studium/2. Semester/Medienmanagement/Referat HBO/hbonow.png: Operation not permitted
icloud-backup | chown: /icloud/drive/Documents/Hochschule Fresenius/Studium/2. Semester/Medienmanagement/Referat HBO/hbonow Kopie.png: Operation not permitted
^Cmaxikrause@raspi3-mk:~/icloud $ docker compose stop
[+] Stopping 1/1
✔ Container icloud-backup Stopped 11.1s
maxikrause@raspi3-mk:~/icloud $ ls -l data/icloud-hdd/
total 384
drwxrwxrwx 1 maxikrause maxikrause 131072 Aug 9 02:03 drive
drwxrwxrwx 1 maxikrause maxikrause 131072 Aug 9 02:06 photos
drwxrwxrwx 1 maxikrause maxikrause 131072 Feb 19 2021 'System Volume Information'My user does have permission to write and read, but the docker
To Reproduce
- Mount exFAT HDD into data (tried both exfat AND exfat-fuse)
- Set permissions of mount with
sudo mount.exfat-fuse -o uid=1000,gid=1000,fmask=0000,dmask=0000 /dev/sda1 /mnt/icloud-hdd - Start container
Configuration
docker-compose:
services:
icloud:
image: mandarons/icloud-drive
container_name: icloud-backup
restart: unless-stopped
environment:
- PUID=1000
- PGID=1000
env_file:
- .env
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
- ./config:/config
- ./data/icloud-hdd:/icloud:rwconfig.yml:
app:
logger:
level: "info"
filename: "/config/icloud.log"
credentials:
username: "[email protected]"
retry_login_interval: 600
root: "/icloud"
pushover:
user_key: "uiXXXXXXXXChRnfX"
api_token: "at1XXXXXXXXXc"
drive:
destination: "drive"
remove_obsolete: false
sync_interval: 300
photos:
destination: "photos"
remove_obsolete: false
sync_interval: 500
all_albums: false
folder_format: "%Y/%m"
filters:
file_sizes:
- "original"Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working