plexguide / PlexGuide.com

PlexGuide is a comprehensive Docker container management solution designed for Ubuntu & Debian OS. While it specializes in deploying media server applications like Plex, the platform incorporates Traefik as a reverse proxy and offers CloudFlare tunnel integration to access to your containerized services.
https://plexguide.com
1.71k stars 257 forks source link

Failed to start UnionFS Daemon. #21

Closed daveftw84 closed 7 years ago

daveftw84 commented 7 years ago

● unionfs.service - UnionFS Daemon Loaded: loaded (/etc/systemd/system/unionfs.service; enabled; vendor preset: enabled) Active: inactive (dead) since Thu 2017-09-28 09:22:19 CEST; 3min 17s ago Process: 2081 ExecStart=/usr/bin/unionfs -o cow,allow_other,nonempty /mnt/rclone-move=RW:/mnt/plexdrive4=RO /mnt/rclone-union (code=exited, status=0/SUCCESS) Main PID: 2081 (code=exited, status=0/SUCCESS) CGroup: /system.slice/unionfs.service ├─2022 /usr/bin/unionfs -o cow,allow_other,nonempty /mnt/rclone-move=RW:/mnt/plexdrive4=RO /mnt/rclone-union ├─2055 /usr/bin/unionfs -o cow,allow_other,nonempty /mnt/rclone-move=RW:/mnt/plexdrive4=RO /mnt/rclone-union ├─2069 /usr/bin/unionfs -o cow,allow_other,nonempty /mnt/rclone-move=RW:/mnt/plexdrive4=RO /mnt/rclone-union ├─2075 /usr/bin/unionfs -o cow,allow_other,nonempty /mnt/rclone-move=RW:/mnt/plexdrive4=RO /mnt/rclone-union └─2083 /usr/bin/unionfs -o cow,allow_other,nonempty /mnt/rclone-move=RW:/mnt/plexdrive4=RO /mnt/rclone-union

Sep 28 09:22:19 Ubuntu-1604-xenial-64-nextcloud systemd[1]: unionfs.service: Service hold-off time over, scheduling restart. Sep 28 09:22:19 Ubuntu-1604-xenial-64-nextcloud systemd[1]: Stopped UnionFS Daemon. Sep 28 09:22:19 Ubuntu-1604-xenial-64-nextcloud systemd[1]: unionfs.service: Start request repeated too quickly. Sep 28 09:22:19 Ubuntu-1604-xenial-64-nextcloud systemd[1]: Failed to start UnionFS Daemon.

daveftw84 commented 7 years ago

pretty much every time i restart the server it uploads one video to gdrive then stops now

Admin9705 commented 7 years ago

i had a mistake

sudo mkdir /mnt/rclone-union && sudo mkdir /mnt/rclone-move && sudo mkdir /mnt/rclone-move/tv && sudo mkdir /mnt/rclone-move/movies

the old part had /mnt/rclone-movies at the end... you see the change there now.

Run

sudo mkdir /mnt/rclone-move/movies

and then reboot the server

I had this for the union service

[Unit] Description=UnionFS Daemon After=multi-user.target

[Service] Type=simple User=root Group=root ExecStart=/usr/bin/unionfs -o cow,allow_other,nonempty /mnt/rclone-move=RW:/mnt$ TimeoutStopSec=20 KillMode=process Restart=always

[Install] WantedBy=multi-user.target

On Sat, Sep 30, 2017 at 12:38 AM, daveftw84 notifications@github.com wrote:

pretty much every time i restart the server it uploads one video to gdrive then stops now�

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/Admin9705/The-Awesome-Plex-Server/issues/21#issuecomment-333282872, or mute the thread https://github.com/notifications/unsubscribe-auth/AXlN3oVgtDKtSnQ8-BehrBdRhxwZ-p9Fks5sncXPgaJpZM4Pm1YV .

Admin9705 commented 7 years ago

refollowed instructions and it worked on my second vm. after i ran the unionfs service, i typed /mnt/rclone-union and everything showed up.

On Sat, Sep 30, 2017 at 8:17 AM, E. D. user@dunn.cloud wrote:

i had a mistake

sudo mkdir /mnt/rclone-union && sudo mkdir /mnt/rclone-move && sudo mkdir /mnt/rclone-move/tv && sudo mkdir /mnt/rclone-move/movies

the old part had /mnt/rclone-movies at the end... you see the change there now.

Run

sudo mkdir /mnt/rclone-move/movies

and then reboot the server

I had this for the union service

[Unit] Description=UnionFS Daemon After=multi-user.target

[Service] Type=simple User=root Group=root ExecStart=/usr/bin/unionfs -o cow,allow_other,nonempty /mnt/rclone-move=RW:/mnt$ TimeoutStopSec=20 KillMode=process Restart=always

[Install] WantedBy=multi-user.target

On Sat, Sep 30, 2017 at 12:38 AM, daveftw84 notifications@github.com wrote:

pretty much every time i restart the server it uploads one video to gdrive then stops now�

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/Admin9705/The-Awesome-Plex-Server/issues/21#issuecomment-333282872, or mute the thread https://github.com/notifications/unsubscribe-auth/AXlN3oVgtDKtSnQ8-BehrBdRhxwZ-p9Fks5sncXPgaJpZM4Pm1YV .

daveftw84 commented 7 years ago

ok thank you what are the Jurassic World.mkv_HIDDEN~ files uploading to drive? looks like folders with unpack in name is slipping into the /mnt/sab/downloads/complete/movies/ directory . is this ok?

daveftw84 commented 7 years ago

also i cant find a few settings inside SABnzbd +?
like Direct Unpack: Check [ON] Ignore any Folders inside archives: Check the Box - [ON] On failure, try alternative NZB: Check the BOX [ON] Cleanup List: nfo, exe, com, bat, txt, doc, xls, xlxs, docx, doc, jpg, jeg, gif, png

i mention this because im seeing weird uploads to drive. like 00000.bdjo files or INC_LOADING_v01_00003.png or MovieObject.bdmv

daveftw84 commented 7 years ago

ok, i first sudo mkdir /mnt/rclone-move/movies then i sudo chmod 755 /mnt/rclone-move && sudo chmod 755 /mnt/rclone-union next i sudo nano /etc/systemd/system/unionfs.service

[Unit] Description=UnionFS Daemon After=multi-user.target

[Service] Type=simple User=root Group=root ExecStart=/usr/bin/unionfs -o cow,allow_other,nonempty /mnt/rclone-move=RW:/mnt/plexdrive4=RO /mnt/rclone-union TimeoutStopSec=20 KillMode=process Restart=always

i rebooted the whole server waited a hour almost nothing uploading to gdrive ls /mnt/rclone-union is empty

im going to try to remove the cow, and reboot again

daveftw84 commented 7 years ago

forgot to mention sudo systemctl daemon-reload sudo systemctl enable unionfs.service sudo systemctl start unionfs.service

daveftw84 commented 7 years ago

sigh, removing the cow doesnt seem to help. fuck my life

daveftw84 commented 7 years ago

lol word wrap. i got it

Admin9705 commented 7 years ago

You need to update it. Are running SAB 2.3.0? probably another issue.

On Sat, Sep 30, 2017 at 10:14 AM, daveftw84 notifications@github.com wrote:

also i cant find a few settings inside SABnzbd +? like Direct Unpack: Check [ON] Ignore any Folders inside archives: Check the Box - [ON] On failure, try alternative NZB: Check the BOX [ON] Cleanup List: nfo, exe, com, bat, txt, doc, xls, xlxs, docx, doc, jpg, jeg, gif, png

i mention this because im seeing weird uploads to drive. like 00000.bdjo files or INC_LOADING_v01_00003.png or MovieObject.bdmv

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/Admin9705/The-Awesome-Plex-Server/issues/21#issuecomment-333311274, or mute the thread https://github.com/notifications/unsubscribe-auth/AXlN3kAHBzojX2rItMblw17do7x5pWZCks5snkzEgaJpZM4Pm1YV .

daveftw84 commented 7 years ago

sudo apt install sabnzbdplus sudo add-apt-repository ppa:jcfp/nobetas sudo apt update sudo apt install sabnzbdplus

Creating a service for SABNZBD

using these instructions gave me SAB 0.7.20. how do i update it?

Admin9705 commented 7 years ago

restart the service after or reboot the server, make sure you executed each one, one by one

On Sat, Sep 30, 2017 at 3:28 PM, daveftw84 notifications@github.com wrote:

sudo apt install sabnzbdplus sudo add-apt-repository ppa:jcfp/nobetas sudo apt update sudo apt install sabnzbdplus Creating a service for SABNZBD

using these instructions gave me SAB 0.7.20. how do i update it?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/Admin9705/The-Awesome-Plex-Server/issues/21#issuecomment-333330577, or mute the thread https://github.com/notifications/unsubscribe-auth/AXlN3lIjhkJZjUelMelSkfl9cwPUKpajks5snpZcgaJpZM4Pm1YV .

Admin9705 commented 7 years ago

@daveftw84, check out the scripts for rclone, plexdrive4 and unionfs. @Alasano fixed it. replace the restart=yes whatever it was to the one thats there now, something about remainafterstart or whatever it is.