jlloyola / pcloudcc_docker

Docker image for pcloud console client
GNU General Public License v3.0
17 stars 1 forks source link

fusermount: mount failed: Permission denied #5

Open lonesome-code opened 2 weeks ago

lonesome-code commented 2 weeks ago

Hello! When I try to run the container there seem to be a problem with fuse. I've tested a lot but with no success. What I've done: I've configured the docker-compose file in portainer, started it, attached to the container, and provided the password. So far so good, but in console log I found this error: fusermount: mount failed: Permission denied I've enabled debug and this is the complete output:

# Enabling debug output
+ PCLOUD_DRIVE_PATH=/pCloudDrive
+ : 1001
+ : 1002
++ getent group 1002
+ pcloud_group=
+ pcloud_group=pcloud
+ groupadd pcloud -g 1002
++ getent passwd 1001
+ pcloud_user=
+ pcloud_user=pcloud
+ useradd -m pcloud -u 1001 -g 1002
useradd: warning: the home directory /home/pcloud already exists.
useradd: Not copying any file from skel directory into it.
+ ARGS=(-m ${PCLOUD_DRIVE_PATH})
+ echo 'Base Args: -m'
Base Args: -m
+ '[' -n ''\'''\''' ']'
+ echo '# Adding -s to save password'
# Adding -s to save password
+ ARGS=(-s ${ARGS[@]})
+ '[' -n mah@mahc.de ']'
+ ARGS=(-u ${PCLOUD_USERNAME} ${ARGS[@]})
+ password_file_stdin=/dev/stdin
+ '[' -n '' ']'
+ echo '# Launching pcloud'
# Launching pcloud
++ id -u
+ '[' 1001 = 0 ']'
+ mkdir -p /pCloudDrive
+ chown pcloud:pcloud /pCloudDrive
+ chown -R pcloud:pcloud /home/pcloud
+ set -x
+ exec gosu pcloud /usr/bin/pcloudcc -u xxx@xxxx.org -s -m /pCloudDrive
pCloud console client v.2.0.1
fusermount: mount failed: Permission denied
Down: Everything Downloaded| Up: Everything Uploaded, status is SCANNING
Down: Everything Downloaded| Up: Everything Uploaded, status is READY
fusermount: mount failed: Permission denied

The connection to the pcloud service is working because every time I upload a file to my account I get an output on console like this:

event1073741825
event1073741825

So obviously the client has a connection but no files are synced, neither upload nor download. I've double-checked filesystem permissions with no success. Any ideas about the fusermount-error?

lonesome-code commented 2 weeks ago

Forgot my environment:

BlockyBlockling commented 2 weeks ago

Have you tried that yet? https://github.com/jlloyola/pcloudcc_docker?tab=readme-ov-file#troubleshooting