wiserain / docker-plexdrive Goto Github PK
View Code? Open in Web Editor NEWDocker image for Plexdrive mount
Home Page: https://hub.docker.com/r/wiserain/plexdrive
Docker image for Plexdrive mount
Home Page: https://hub.docker.com/r/wiserain/plexdrive
After running ncdu on the mounted folder I got the message ‘Transport endpoint not connected’. It is no longer mounted, so I fix this by restarting the container.
Is there any way to detect a failure when the location is not mounted and restart the service?
[PLEXDRIVE] [2022-05-17 17:58] INFO : First cache build process started...
[PLEXDRIVE] [2022-05-17 17:58] INFO : Allocated 256 cache chunks in 65.873µs
[PLEXDRIVE] [2022-05-17 17:58] INFO : Mounting path /data
2022/05/17 17:58:08 mount helper error: fusermount: failed to access mountpoint /data: Transport endpoint is not connected
I got this error since yesterday. I haven't changed anything in the config etc.
suggested solutions?
After setting up plexdrive via the exec
method:
plexdrive | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
plexdrive | [s6-init] ensuring user provided files have correct perms...exited 0.
plexdrive | [fix-attrs.d] applying ownership & permissions fixes...
plexdrive | [fix-attrs.d] done.
plexdrive | [cont-init.d] executing container initialization scripts...
plexdrive | [cont-init.d] 10-adduser: executing...
plexdrive |
plexdrive | GID/UID
plexdrive | -------------------------------------
plexdrive | User uid: 911
plexdrive | User gid: 911
plexdrive | -------------------------------------
plexdrive |
plexdrive | [cont-init.d] 10-adduser: exited 0.
plexdrive | [cont-init.d] 40-config: executing...
plexdrive | [cont-init.d] 40-config: exited 0.
plexdrive | [cont-init.d] 50-plexdrive: executing...
plexdrive | *** checking config
plexdrive | Waiting for config files in /config. Retrying in 30s ...
plexdrive | RUN: docker exec -it <CONTAINER_NAME> plexdrive_setup
plexdrive | Waiting for config files in /config. Retrying in 30s ...
plexdrive | RUN: docker exec -it <CONTAINER_NAME> plexdrive_setup
plexdrive | Waiting for config files in /config. Retrying in 30s ...
plexdrive | RUN: docker exec -it <CONTAINER_NAME> plexdrive_setup
plexdrive | Waiting for config files in /config. Retrying in 30s ...
plexdrive | RUN: docker exec -it <CONTAINER_NAME> plexdrive_setup
plexdrive | *** checking mountpoint
plexdrive | mountpoint (/cloud) already mounted. Retrying in 15s ...
plexdrive | mountpoint (/cloud) already mounted. Retrying in 15s ...
plexdrive | mountpoint (/cloud) already mounted. Retrying in 15s ...
compose:
version: '3'
services:
plexdrive:
container_name: plexdrive
image: wiserain/plexdrive:5.1.0
restart: always
network_mode: "bridge"
volumes:
- /home/parallels/plexdrive/config:/config
- /home/parallels/plexdrive/cache:/cache
- /home/parallels/cloud:/data:shared
privileged: true
devices:
- /dev/fuse
cap_add:
- MKNOD
- SYS_ADMIN
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Brussels
How do i set POOLING_FS=mergerfs
in docker-compose.yml
Thank you for the update. Will this project remain relevant in the future?
Hi,
I have installed the plexdrive docker using this command:
docker run -d \
--name=plexdrive \
--restart=always \
--net=bridge \
-v /docker/plexdrive/config:/config \
-v /docker/plexdrive/cache:/cache \
-v /media/GDrive:/data:shared \
--privileged \
--device=/dev/fuse \
--cap-add=MKNOD \
--cap-add=SYS_ADMIN \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Europe/Madrid \
wiserain/plexdrive:latest
Then to mount the unit I use this from the container console:
plexdrive mount ${plexdrive_mountpoint:-/data} \
-c /config/ \
--cache-file=/cache/cache.bolt \
--uid=${PUID:-911} \
--gid=${PGID:-911} \
--umask=022 \
-o allow_other \
--drive-id=ABC123qwerty987 (with my real drive-id)
The setup wizard starts, and it works perfectly.
I can access my Team unit without problems
But when I stop the container and restart it, it connects to my normal drive, and not Team.
Looking at the log, I see that the drive-id command is missing when mounting the drive
[services.d] starting services
executing => plexdrive mount /data -c /config/ --cache-file=/cache/cache.bolt --uid=1000 --gid=1000 --umask=0100775 -o allow_other
[services.d] done.
I am doing something wrong?
How do I get it to reconnect to my Team unit?
Hi,
It's possible you add this option of plexdrive "--drive-id" on docker compose ?
Thank you.
Following the docker compose example, I get "Permission denied" when trying to access the mounted directory on the host. What could be the cause of this?
-rw-r--r-- 1 root root 2.8K May 15 23:03 docker-compose.yml
d????????? ? ? ? ? ? drive
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.