files keep getting deleted | PlexGuide.com

files keep getting deleted

  • Stop using Chrome! Download the Brave Browser via >>> [Brave.com]
    It's a forked version of Chrome with native ad-blockers and Google's spyware stripped out! Download for Mac, Windows, Android, and Linux!
Welcome to the PlexGuide.com
Serving the Community since 2016!
Register Now

pazler2k18

Experienced
Original poster
Jul 4, 2018
57
5
hey guys, when SABnzbd downloads things into /mnt/downloads/nzb/ they are deleted after like 1 minutes. i have changed CloneClean to 200 minutes. but they are still getting deleted within 1 minute.
 

Admin9705

Administrator
Project Manager
Donor
Jan 17, 2018
5,156
2,112
did you redeploy when you changed clone clean? nothing deletes it after a minute. clone clean by default is 600 minutes.
 

pazler2k18

Experienced
Original poster
Jul 4, 2018
57
5
ye i did redploy. they get deleted within 1 minute. but i can still see them in /mnt/unionfs/nzb/ but sonarr and radarr can't access them. then 5 minutes later they are gone.
 

UncleBuck

Elite
Staff
Dec 21, 2018
238
76
Are these by chance small files? I have seen this happen with sabnzbd when I download DVD quality stuff. I have never figured out why.
 

pazler2k18

Experienced
Original poster
Jul 4, 2018
57
5
Untitled.png

this a screen shot of what i just downloaded now. as you can see. they are no in /mnt/download/nzb/tv but they are in /mnt/unionfs/nzb/tv/
Post automatically merged:

Are these by chance small files? I have seen this happen with sabnzbd when I download DVD quality stuff. I have never figured out why.
ye i have also noticed that. anything under 2G seems to be deleted asap.
 

Admin9705

Administrator
Project Manager
Donor
Jan 17, 2018
5,156
2,112
possibly sitting in /mnt/move. In pgx, files stay at their locations so it doesn't do this.
 

pazler2k18

Experienced
Original poster
Jul 4, 2018
57
5
possibly sitting in /mnt/move. In pgx, files stay at their locations so it doesn't do this.
this is the error i get tho.
20-6-7 14:39:51.0|Warn|DownloadedEpisodesCommandService|Folder/File specified for import scan [/mnt/downloads/nzb/tv/16.and.Pregnant.S03E14.HDTV.XviD-CRiMSON] doesn't exist.
20-6-7 14:39:51.0|Debug|DownloadedEpisodesCommandService|Failed to import
20-6-7 14:39:51.1|Debug|Api|[GET] /api/v3/command: 200.OK (2 ms)
 

doob

Administrator
Project Manager
Jun 7, 2020
851
448
PGBLITZ :
sudo service pgblitz stop

PGMOVE :
sudo service pgmove stop

sudo nano /opt/pgclone/scripts/cloneclean.sh

from
Code:
    find "$hdpath/downloads/nzbget" -mindepth 1 -type f -cmin +$cleaner -size -4G 2>/dev/null -exec rm -rf {} \;
    find "$hdpath/downloads/sabnzbd" -mindepth 1 -type f -cmin +$cleaner -size -4G 2>/dev/null -exec rm -rf {} \;
to
Code:
    find "$hdpath/downloads/nzbget" -mindepth 1 -type f -cmin +$cleaner -size -1G 2>/dev/null -exec rm -rf {} \;
    find "$hdpath/downloads/sabnzbd" -mindepth 1 -type f -cmin +$cleaner -size -1G 2>/dev/null -exec rm -rf {} \;
add follow part in the uploand command

sudo nano /opt/appdata/plexguide/pgmove.sh

Code:
   --exclude="**nzb**"
sudo nano /opt/appdata/plexguide/pgblitz.sh
Code:
   --exclude="**nzb**"

CTRG + X + Y

sudo mkdir -p /mnt/downloads/nzb/ && sudo chown -cR 1000:1000 /mnt/downloads/nzb && sudo chmod -cR 775 /mnt/downloads/nzb


PGBLITZ :
sudo service pgblitz start

PGMOVE :
sudo service pgmove start[/CODE]
 
  • Like
Reactions: 1 user

pazler2k18

Experienced
Original poster
Jul 4, 2018
57
5
PGBLITZ :
sudo service pgblitz stop

PGMOVE :
sudo service pgmove stop

sudo nano /opt/pgclone/scripts/cloneclean.sh

from
Code:
    find "$hdpath/downloads/nzbget" -mindepth 1 -type f -cmin +$cleaner -size -4G 2>/dev/null -exec rm -rf {} \;
    find "$hdpath/downloads/sabnzbd" -mindepth 1 -type f -cmin +$cleaner -size -4G 2>/dev/null -exec rm -rf {} \;
to
Code:
    find "$hdpath/downloads/nzbget" -mindepth 1 -type f -cmin +$cleaner -size -1G 2>/dev/null -exec rm -rf {} \;
    find "$hdpath/downloads/sabnzbd" -mindepth 1 -type f -cmin +$cleaner -size -1G 2>/dev/null -exec rm -rf {} \;
add follow part in the uploand command

sudo nano /opt/appdata/plexguide/pgmove.sh

Code:
   --exclude="**nzb**"
sudo nano /opt/appdata/plexguide/pgblitz.sh
Code:
sudo service pgmove stop
Code:
   --exclude="**nzb**"

CTRG + X + Y

sudo mkdir -p /mnt/downloads/nzb/ && sudo chown -cR 1000:1000 /mnt/downloads/nzb && sudo chmod -cR 775 /mnt/downloads/nzb


PGBLITZ :
sudo service pgblitz start

PGMOVE :
sudo service pgmove start[/CODE]
sorry doob just seen this. when i try
PGBLITZ :
sudo service pgblitz stop

PGMOVE :
sudo service pgmove stop

sudo nano /opt/pgclone/scripts/cloneclean.sh

from
Code:
    find "$hdpath/downloads/nzbget" -mindepth 1 -type f -cmin +$cleaner -size -4G 2>/dev/null -exec rm -rf {} \;
    find "$hdpath/downloads/sabnzbd" -mindepth 1 -type f -cmin +$cleaner -size -4G 2>/dev/null -exec rm -rf {} \;
to
Code:
    find "$hdpath/downloads/nzbget" -mindepth 1 -type f -cmin +$cleaner -size -1G 2>/dev/null -exec rm -rf {} \;
    find "$hdpath/downloads/sabnzbd" -mindepth 1 -type f -cmin +$cleaner -size -1G 2>/dev/null -exec rm -rf {} \;
add follow part in the uploand command

sudo nano /opt/appdata/plexguide/pgmove.sh

Code:
   --exclude="**nzb**"
sudo nano /opt/appdata/plexguide/pgblitz.sh
Code:
   --exclude="**nzb**"

CTRG + X + Y

sudo mkdir -p /mnt/downloads/nzb/ && sudo chown -cR 1000:1000 /mnt/downloads/nzb && sudo chmod -cR 775 /mnt/downloads/nzb


PGBLITZ :
sudo service pgblitz start

PGMOVE :
sudo service pgmove start[/CODE]

hello doob sorry just seen this.

when i try to do

Code:
 sudo service pgmove stop
i then get this error

Code:
 Failed to stop pgmove.service: Unit pgmove.service not loaded.
and also when i try

Code:
 sudo nano /opt/appdata/plexguide/pgmove.sh
i just get balnk screen like nothing is there at all.

i have tried to reinstall PG to see if that would make a different. but the pgmove.sh is blank.
 

doob

Administrator
Project Manager
Jun 7, 2020
851
448
What version of PG you run *?*

Plexguide used /mnt/downloads/<cluentnams>
Mha/pst used /mnt/downloads/nzb

Mha/pst I coded so I know the folder parts
And if you run pst%mha you don't have the services
You run a docker uploader


Step to edits

sudo service cloneclean stop
sudo nano /opt/appdata/plexguide/pgunion.sh

{ remove ${hdpath}/move:RW }

SAVE

sudo nano /opt/appdata/plexguide/rclone.conf

{ remove /move here also }

sudo docker stop radarr
sudo docker stop sonarr

cp -rv /opt/appdata/plexguide/rclone.conf /opt/appdata/uploader

open portainer
click local
Click uploader
Click duplicate/edit
Switch the image to

mrdoob/rccup:latest

Now click volumes

Switch from

/mnt/move : /move
To
/mnt/downloads : /move

Remove this line

/opt/appdata/uploader/plex : app/plex

And deploy

And see the magic


When all is done

Reboot the system. ;)



Additional informations
 

Recommend NewsGroups

      Up To a 58% Discount!

Trending