Comments (3)
How does your docker command look like?
from docker-cloud-media-scripts.
docker create --name cloud --restart=always -v /local-media:/local-media:shared v /local-decrypt:/local-decrypt:shared -v /docker/containers/cloud/config:/config -v /downloads/plexdrive:/chunks -v /var/log:/log -e CLEAR_CHUNK_MAX_SIZE="1000G" -e REMOVE_LOCAL_FILES_WHEN_SPACE_EXCEEDS_GB="1000" -e FREEUP_ATLEAST_GB="500" -e PUID=1000 -e PGID=1000 --privileged --cap-add=MKNOD --cap-add=SYS_ADMIN --device=/dev/fuse madslundt/cloud-media-scripts
Thinking this over, my radarr/sonarr are on docker, so maybe they only see the main dir and not the mount if it had to reconnect ever? Ug if so, I think that kills the idea behind the docker and my idea of plex on host and this on docker wont work either.
Originally I thought it was the load order of the containers so I made a systemd script to wait till the mount was done. I saw the service the container setup for the mount was localx2dmedia.mount. Or was that when I tried to install on the host?
[Unit]
Description=Start containers after the cloud mount is completed.
After=localx2dmedia.mount
[Service]
Type=oneshot
ExecStart=-/usr/bin/docker start hydra
ExecStart=-/usr/bin/docker start sonarr
ExecStart=-/usr/bin/docker start letsencrypt
ExecStart=-/usr/bin/docker start sabnzbd
ExecStart=-/usr/bin/docker start jackett
ExecStart=-/usr/bin/docker start muximux
ExecStart=-/usr/bin/docker start quassel-core
ExecStart=-/usr/bin/docker start plexpy
ExecStart=-/usr/bin/docker start deluge
ExecStart=-/usr/bin/docker start lazylibrarian
ExecStart=-/usr/bin/docker start radarr
ExecStart=-/usr/bin/docker start watchtower
#ExecStop=-/usr/bin/docker stop hydra
#ExecStop=-/usr/bin/docker stop sonarr
#ExecStop=-/usr/bin/docker stop letsencrypt
#ExecStop=-/usr/bin/docker stop sabnzbd
#ExecStop=-/usr/bin/docker stop jackett
#ExecStop=-/usr/bin/docker stop muximux
#ExecStop=-/usr/bin/docker stop quassel-core
#ExecStop=-/usr/bin/docker stop plexpy
#ExecStop=-/usr/bin/docker stop deluge
#ExecStop=-/usr/bin/docker stop lazylibrarian
#ExecStop=-/usr/bin/docker stop radarr
#ExecStop=-/usr/bin/docker stop watchtower
[Install]
WantedBy=multi-user.target
from docker-cloud-media-scripts.
Has this problem reoccured?
from docker-cloud-media-scripts.
Related Issues (20)
- Issue mounting local-crypt HOT 5
- Enhancement: Automatic re-mount of rclone and Fake Cache Option HOT 2
- Plans for Plexdrive 5.x? HOT 3
- All local content removed HOT 2
- :shared not visible on host nor other containers HOT 5
- Enhancement: Wrapper to remove/move with rclone HOT 1
- Can't start container with mount :shared is causing issues HOT 11
- Everything seems okay but folders stay empty. HOT 3
- Remote files staying hidden in union even after removing cache files from .unionfs-fuse directory
- Stuck on "Waiting for /cloud-encrypt" HOT 1
- Prevent Specific Folders from uploading HOT 1
- [Enhancement] Folder for plexdrive on non encrypted mount
- [Enhancement] Upgrade plexdrive and rclone HOT 1
- Started mount loop
- deploy not possible with Portainer
- Stuck on "Mounting union: /local-media" HOT 2
- ls: cannot access '/cloud-encrypt': Transport endpoint is not connected HOT 6
- Request to update docker container with latest version of plexdrive (5.0) and latest version of rclone and any os base patches HOT 2
- Docker container up and running. Unable to copy files to local-media directory. Permissions show ok via ls-l. HOT 6
- Cloud mount goes away HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-cloud-media-scripts.