Solved 8.0.24 New Files Not Uploaded

sixshooterz

PG Sergeant
PG Donor
Sep 14, 2018
37
14
8
Anywhere, USA
Reactions
14 0 0
#1
PG Version
8.0.24
Server Type
Remote - Dedicated Server
Just upgraded from 7.7.7 to 8.0.24 and changed the paths in my apps (sonarr, radarr, sabnzbd) as per changelog. New files download and instead of being put into /mnt/move to upload to gdrive are put into the correct folder under /mnt/unionfs and never uploaded. I've created some test files in /mnt/move and they're uploaded immediately.

It seems as though the temporary folders that used to exist under /mnt/move (mirroring the folders under the unionfs) are no longer there. I've blown away my rclone settings under OAuth & Mounts (option 3) and recreated everything.

How do I go about getting my files to start uploading again?
 

sixshooterz

PG Sergeant
PG Donor
Sep 14, 2018
37
14
8
Anywhere, USA
Reactions
14 0 0
#4
After reboot, the same issue exists. The file is put into the proper directory under /mnt/unionfs and never /mnt/move so it can be uploaded to gdrive.
 

sixshooterz

PG Sergeant
PG Donor
Sep 14, 2018
37
14
8
Anywhere, USA
Reactions
14 0 0
#5
I don't know if this makes any difference, Plex scanning is horrendously slow as well. Checking the logs on Portainer shows countless lines of
Code:
sqlite3: Sleeping for 200ms to retry busy DB.
 

sixshooterz

PG Sergeant
PG Donor
Sep 14, 2018
37
14
8
Anywhere, USA
Reactions
14 0 0
#6
Blowing everything away and starting over. I'm hoping that the paths and such won't be changing in the future! This is such a PITA
 
Assists Greatly with Development Costs

sixshooterz

PG Sergeant
PG Donor
Sep 14, 2018
37
14
8
Anywhere, USA
Reactions
14 0 0
#7
In trying to clean up the remnants of PG before reinstalling, it seems that a move folder was created on my processing disk. Is /mnt/move no longer the temporary path for uploading to gdrive? Did it get moved to the processing disk? If so, that's great! I didn't see that documented anywhere.
 

sixshooterz

PG Sergeant
PG Donor
Sep 14, 2018
37
14
8
Anywhere, USA
Reactions
14 0 0
#8
Ok, just downloaded several files on a new install and instead of using /mnt/move, there's been a folder named move in my processing folder on a separate drive. I see the files were created in that move folder in the correct paths so they do show up in Plex and are playable, however, they are never uploaded to gdrive.

I'm fine with the move folder being on the processing drive, in fact I'd prefer it so my root drive doesn't fill up. I do, however, want these file uploaded as they were doing previously on 7.7.7. How can I make that happen? I've removed all remnants of 7.7.7, did a fresh install of PG 8.1.0, and rebooted the server several times.

EDIT: Upon checking the syslog, I see the following messages:
Code:
Jan 12 00:58:49 host01 systemd[1]: Started Plex Autoscan.
Jan 12 00:58:49 host01 systemd[26780]: pgscan.service: Changing to the requested working directory failed: No such file or directory
Jan 12 00:58:49 host01 systemd[26780]: pgscan.service: Failed at step CHDIR spawning /opt/appdata/pgscan/scan.py: No such file or directory
Jan 12 00:58:49 host01 systemd[1]: pgscan.service: Main process exited, code=exited, status=200/CHDIR
Jan 12 00:58:49 host01 systemd[1]: pgscan.service: Failed with result 'exit-code'.
Jan 12 00:58:59 host01 systemd[1]: pgscan.service: Service RestartSec=10s expired, scheduling restart.
Jan 12 00:58:59 host01 systemd[1]: pgscan.service: Scheduled restart job, restart counter is at 199.
Jan 12 00:58:59 host01 systemd[1]: Stopped Plex Autoscan.
Thanks!
 

Admin9705

Administrator
Project Manager
Jan 17, 2018
4,598
1,944
113
Reactions
1,944 0 0
#9
Ok, just downloaded several files on a new install and instead of using /mnt/move, there's been a folder named move in my processing folder on a separate drive. I see the files were created in that move folder in the correct paths so they do show up in Plex and are playable, however, they are never uploaded to gdrive.

I'm fine with the move folder being on the processing drive, in fact I'd prefer it so my root drive doesn't fill up. I do, however, want these file uploaded as they were doing previously on 7.7.7. How can I make that happen? I've removed all remnants of 7.7.7, did a fresh install of PG 8.1.0, and rebooted the server several times.

EDIT: Upon checking the syslog, I see the following messages:
Code:
Jan 12 00:58:49 host01 systemd[1]: Started Plex Autoscan.
Jan 12 00:58:49 host01 systemd[26780]: pgscan.service: Changing to the requested working directory failed: No such file or directory
Jan 12 00:58:49 host01 systemd[26780]: pgscan.service: Failed at step CHDIR spawning /opt/appdata/pgscan/scan.py: No such file or directory
Jan 12 00:58:49 host01 systemd[1]: pgscan.service: Main process exited, code=exited, status=200/CHDIR
Jan 12 00:58:49 host01 systemd[1]: pgscan.service: Failed with result 'exit-code'.
Jan 12 00:58:59 host01 systemd[1]: pgscan.service: Service RestartSec=10s expired, scheduling restart.
Jan 12 00:58:59 host01 systemd[1]: pgscan.service: Scheduled restart job, restart counter is at 199.
Jan 12 00:58:59 host01 systemd[1]: Stopped Plex Autoscan.
Thanks!
If you read what it said, pgscan is not ready :D haha
 

Admin9705

Administrator
Project Manager
Jan 17, 2018
4,598
1,944
113
Reactions
1,944 0 0
#10
In trying to clean up the remnants of PG before reinstalling, it seems that a move folder was created on my processing disk. Is /mnt/move no longer the temporary path for uploading to gdrive? Did it get moved to the processing disk? If so, that's great! I didn't see that documented anywhere.
it won't, it was fixing tons of legacy sutff :D
 

sixshooterz

PG Sergeant
PG Donor
Sep 14, 2018
37
14
8
Anywhere, USA
Reactions
14 0 0
#11
I tried configuring that via the menu and it still doesn't deploy.

My files are sitting on my secondary drive under a move folder, I need to get them uploading to gdrive.
 

Admin9705

Administrator
Project Manager
Jan 17, 2018
4,598
1,944
113
Reactions
1,944 0 0
#13
That's less than helpful.

I tried configuring that via the menu and it still doesn't deploy.

My files are sitting on my secondary drive under a move folder, I need to get them uploading to gdrive.
I understand, but i was just reading your log. Actually several people tried to run it. PG Blitz is fixed on v8. If the problem is deep, just join us on the discord :D
 

sixshooterz

PG Sergeant
PG Donor
Sep 14, 2018
37
14
8
Anywhere, USA
Reactions
14 0 0
#14
I'm not worried about pgscan, unless it has something to do with getting these files to upload. I was grasping at straws and found that in the logs.

I'll have to hop on discord later today to see if we can't figure out why these files don't get moved. 🤦🏼‍♂️
 

Admin9705

Administrator
Project Manager
Jan 17, 2018
4,598
1,944
113
Reactions
1,944 0 0
#15
I'm not worried about pgscan, unless it has something to do with getting these files to upload. I was grasping at straws and found that in the logs.

I'll have to hop on discord later today to see if we can't figure out why these files don't get moved. 🤦🏼‍♂️
no problem :D
 

Admin9705

Administrator
Project Manager
Jan 17, 2018
4,598
1,944
113
Reactions
1,944 0 0
#17

sixshooterz

PG Sergeant
PG Donor
Sep 14, 2018
37
14
8
Anywhere, USA
Reactions
14 0 0
#19
Credit where it's due, thank you to MrDoob on Discord for helping me solve!

Since /mnt/move is where PG expects files to be in order to upload, and mine were being placed in a move folder on a secondary drive, I set up a bind mount to mount that secondary move folder to /mnt/move. The command is as follows:

Code:
sudo mount --bind /secondary/move /mnt/move
Then, to make permanent, switch to su by typing su, enter password. Type crontab -e and paste the above command with @reboot in front of it.. no need for sudo. Voila!

type df -h /mnt/move and marvel at the space available on the secondary drive!
 
Last edited:

MrDoob

PG 1st Lieutenant
Tech Lead
Dedicated Sponsor
PG Donor
Aug 4, 2018
241
88
28
31
GERMANY
Reactions
88 0 0
#19
chown -cR <username>:<username> /mnt/move

This is only for the permission ,:cool:
 

PG Developer Donations

 

Forum statistics

Threads
2,846
Messages
17,825
Members
5,676
Latest member
dittohippo