Open SalkinDK opened 7 years ago
Do you have anything inside your cloud-encrypt folder? Try running fusermount -uz /volume1/docker/Cloud-Media/cloud-encrypt
and then run your docker container again.
If that doesn't work try remove -v /volume1/docker/Cloud-Media/cloud-encrypt:/cloud-encrypt:shared
from your docker command
No, nothing inside the folder. Tried with a brand new one as well.
I get this response to the fusermount command. fusermount: failed to unmount /volume1/docker/Cloud-Media/cloud-encrypt: Invalid argument
I tried adding the line after the problem startet to see if that would solve anything, but I have just removed it and still have the same problem.
Does the error with cloud-encrypt still occur when you don't bind it to the docker command?
If it doesn't try running with the scripts outside docker (https://github.com/madslundt/cloud-media-scripts). Docker can have some problems running mount inside
Yes, the error still occur.
I just tried adding it after I got the error to see if it did anything different.
Hmm ok, I would just like to have it inside a docker so I don't have to mess with the Synology OS. So i am sure it will stil work after upgrading the DSM.
Okay I'll try see if I can enforce the error on my machine and maybe fix it
Ok, thx alot.
I have just tried agian and when i have inputtet the stuff in plexdrive_setup, nothing happens. After i have set the auth code it just hangs in ssh, no now line or anything. If i check the log on the docker container i get this error:
7. Enter your generated client ID: [35m[PLEXDRIVE] [2017-10-12 08:45] ERROR : Could not read configuration
[0m2017/10/12 08:45:04 NOTICE: Config file "/config/rclone.conf" not found - using defaults
This time i tried with the same google credentials for both rclone and plexdrive, not sure if that is the matter with the rclone config?
EDIT: i tried messing around a bit. I can upload to gd but only if i put files directly into /local-decrypt. I can't see any files in /local-media only if i run bash directly inside the container, so i can see them inside the container på not in filestation in the synology. if i try to run plexdrive_setup i get the following error:
2017/10/12 13:42:12 mount helper error: fusermount: mountpoint is not empty
2017/10/12 13:42:12 mount helper error: fusermount: if you are sure this is safe, use the 'nonempty' mount option
i tried adding the nonempty argument in the mount.script but not sure i did it in the right line or the right file.
Hope this help a bit to find the error. i would love to use this container together with my plex.
maybe this picture will help, since you can see the plexdrive cmd, although not all of it.
I'm seeing something like this. running docker exec docker-plexdrive check
gives me
Waiting for /cloud-encrypt
looking in the logs there's not much there apart from the above.
oh.. and of course:
plexdrive not running
so entering the docker and running: plexdrive
gives me
" panic: Mountpoint not specified
goroutine 1 [running]: main.main() /go/src/github.com/dweidenfeld/plexdrive/main.go:64 +0x1eb3"
Hey there.
I have tried for several days to follow you tutorial to make this awesome docker container to work, but I keep getting this error.
Plexdrive is not running ls: cannot access '/cloud-encrypt': Transport endpoint is not connected Waiting for /cloud-encrypt
My docker create command looks like this. docker create \ --name cloud-media-scripts \ -v /volume1/docker/Cloud-Media/media:/local-media:shared \ -v /volume1/docker/Cloud-Media/mnt/external/media:/local-decrypt:shared \ -v /volume1/docker/Cloud-Media/configurations:/config \ -v /volume1/docker/Cloud-Media/mnt/external/plexdrive:/chunks \ -v /volume1/docker/Cloud-Media/logs:/log \ -v /volume1/docker/Cloud-Media/cloud-encrypt:/cloud-encrypt:shared \ -e PGID="1000" \ -e PUID="1000" \ -e CLEAR_CHUNK_MAX_SIZE="200G" \ --privileged --cap-add=MKNOD --cap-add=SYS_ADMIN --device=/dev/fuse \ madslundt/cloud-media-scripts \ I have tried both with and without the PGID & PUID but with the same result.
Any good idea on what I am doing wrong?
THX in Advance
EDIT: BTW i am running this container gonna Synology 916+ 8gb. But have tried on a ubuntu vm with the same problem.