What's new
PGBlitz.com

Register Now! Find useful tips, Interact /w Community Members and join the part the Best Community on the Internet!

Discussion wrong folder in pgblitz

eltonzz

Blitz 3rd Class
Patron
PG Version
8.6.5
Mount Type
Blitz Unencrypted
Server Type
Remote - VPS
Hi,

I seem to be having a weird problem with a newly deployed server; files are not moving to TDRIVE
when i run spgblitz i noticed that it's not looking in folder in /mnt/ instead it's looking for folders in the root directory
[email protected]:/opt/appdata/plexguide$ spgblitz
● pgblitz.service - 'PGBlitz Loaded Balanced Multi SA GDrive Uploader'
Loaded: loaded (/etc/systemd/system/pgblitz.service; enabled; vendor preset:
Active: active (running) since Sun 2019-06-16 18:53:23 UTC; 10min ago
Main PID: 1066 (bash)
Tasks: 2 (limit: 4915)
CGroup: /system.slice/pgblitz.service
├─ 1066 /bin/bash /opt/appdata/plexguide/pgblitz.sh
└─18898 sleep 30

Jun 16 19:02:54 server bash[1066]: find: ‘/downloads/sabnzbd’: No such file or d
Jun 16 19:02:54 server bash[1066]: find: ‘/downloads/nzbget’: No such file or di
Jun 16 19:03:24 server bash[1066]: find: ‘/move’: No such file or directory
Jun 16 19:03:24 server bash[1066]: find: ‘/downloads’: No such file or directory
Jun 16 19:03:24 server bash[1066]: find: ‘/downloads/sabnzbd’: No such file or d
Jun 16 19:03:24 server bash[1066]: find: ‘/downloads/nzbget’: No such file or di
Jun 16 19:03:54 server bash[1066]: find: ‘/move’: No such file or directory
Jun 16 19:03:54 server bash[1066]: find: ‘/downloads’: No such file or directory
Jun 16 19:03:54 server bash[1066]: find: ‘/downloads/sabnzbd’: No such file or d
Jun 16 19:03:54 server bash[1066]: find: ‘/downloads/nzbget’: No such file or di

i tried redeploying Mounts and still it's not moving files and service is pointing to the wrong folders.
Any ideas?
 

eltonzz

Blitz 3rd Class
Patron
i've just deployed a second server and the same thing happened and i'm getting the same errors.
Did anything change in the way pgblitz works??
 
M

MrDoob

Guest
Bash:
sudo mkdir -p /mnt/move &&  sudo chown -cR 1000:1000 /mnt/move && sudo mkdir -p /mnt/downloads/{nzbget,sabnzbd} && sudo chown -cR 1000:1000 /mnt/downloads/
 

eltonzz

Blitz 3rd Class
Patron
Bash:
sudo mkdir -p /mnt/move &&  sudo chown -cR 1000:1000 /mnt/move && sudo mkdir -p /mnt/downloads/{nzbget,sabnzbd} && sudo chown -cR 1000:1000 /mnt/downloads/
the weird thing is that the folder structure is correct
[email protected]:~$ ls -ls /mnt/downloads/

total 4

4 drwxrwxr-x 2 user user 4096 Jun 16 18:08 nzbget

[email protected]:~$ ls -la /mnt/

total 48

drwxr-xr-x 15 root root 4096 Jun 16 18:08 .

drwxr-xr-x 23 root root 4096 Jun 16 15:43 ..

drwxrwxr-x 3 user user 4096 Jun 16 18:08 downloads

drwxrwxr-x 7 user user 4096 Jun 16 17:42 encrypt

drwxrwxr-x 7 user user 4096 Jun 16 17:42 gcrypt

drwxrwxr-x 1 user user 0 Jun 16 20:29 gdrive

drwxrwxr-x 3 user user 4096 Jun 16 18:08 incomplete

drwxrwxr-x 2 user user 4096 Jun 16 17:42 move

drwxrwxr-x 2 user user 4096 Jun 16 17:42 nzb

drwxrwxr-x 2 user user 4096 Jun 16 17:42 pgops

drwxrwxr-x 7 user user 4096 Jun 16 17:42 tcrypt

drwxrwxr-x 1 user user 0 Jun 16 20:29 tdrive

drwxr-xr-x 2 root root 4096 Jun 16 17:42 tmp

drwxrwxr-x 2 user user 4096 Jun 16 17:42 torrent

drwxrwxr-x 1 user user 0 Jun 16 20:29 unionfs

[email protected]:~$ spgblitz

● pgblitz.service - 'PGBlitz Loaded Balanced Multi SA GDrive Uploader'

Loaded: loaded (/etc/systemd/system/pgblitz.service; enabled; vendor preset: enabled)

Active: active (running) since Sun 2019-06-16 20:29:24 UTC; 1h 5min ago

Main PID: 32734 (bash)

Tasks: 2 (limit: 4915)

CGroup: /system.slice/pgblitz.service

├─32416 sleep 30

└─32734 /bin/bash /opt/appdata/plexguide/pgblitz.sh



Jun 16 21:33:34 server bash[32734]: find: ‘/downloads/sabnzbd’: No such file or directory

Jun 16 21:33:34 server bash[32734]: find: ‘/downloads/nzbget’: No such file or directory

Jun 16 21:34:04 server bash[32734]: find: ‘/move’: No such file or directory

Jun 16 21:34:04 server bash[32734]: find: ‘/downloads’: No such file or directory

Jun 16 21:34:04 server bash[32734]: find: ‘/downloads/sabnzbd’: No such file or directory

Jun 16 21:34:04 server bash[32734]: find: ‘/downloads/nzbget’: No such file or directory

Jun 16 21:34:34 server bash[32734]: find: ‘/move’: No such file or directory

Jun 16 21:34:34 server bash[32734]: find: ‘/downloads’: No such file or directory

Jun 16 21:34:34 server bash[32734]: find: ‘/downloads/sabnzbd’: No such file or directory

Jun 16 21:34:34 server bash[32734]: find: ‘/downloads/nzbget’: No such file or directory
 
M

MrDoob

Guest
pleas cat this file


cat /opt/appdata/plexguide/pgblitz.sh

and past the completly lines
 

eltonzz

Blitz 3rd Class
Patron
pleas cat this file


cat /opt/appdata/plexguide/pgblitz.sh

and past the completly lines
chown -R 1000:1000 "/mnt/move"

chmod -R 775 "/mnt/move"



rclone moveto "/mnt/move" "${p}:/" \

--config /opt/appdata/plexguide/rclone.conf \

--log-file=/var/plexguide/logs/pgblitz.log \

--log-level INFO --stats 5s --stats-file-name-length 0 \

--tpslimit 10 \

--checkers=16 \

--transfers=8 \

--no-traverse \

--fast-list \

--bwlimit 30M \

--max-size=300G \

--user-agent="$useragent" \

--drive-chunk-size=64M \

--exclude="**_HIDDEN~" --exclude=".unionfs/**" \

--exclude="**partial~" --exclude=".unionfs-fuse/**" \

--exclude=".fuse_hidden**" --exclude="**.grab/**" \

--exclude="**sabnzbd**" --exclude="**nzbget**" \

--exclude="**qbittorrent**" --exclude="**rutorrent**" \

--exclude="**deluge**" --exclude="**transmission**" \

--exclude="**jdownloader**" --exclude="**makemkv**" \

--exclude="**handbrake**" --exclude="**bazarr**" \

--exclude="**ignore**" --exclude="**inProgress**"
 

eltonzz

Blitz 3rd Class
Patron
pleas cat this file


cat /opt/appdata/plexguide/pgblitz.sh

and past the completly lines
Part #2 of page:


echo "Cycle $cyclecount - Sleeping for 30 Seconds" >> /var/plexguide/logs/pgblitz.log

cat /var/plexguide/logs/pgblitz.log | tail -200 > /var/plexguide/logs/pgblitz.log

#sed -i -e "/Duplicate directory found in destination/d" /var/plexguide/logs/pgblitz.log

sleep 30



# Remove empty directories

find "$dlpath/move" -type d -mmin +2 -empty -exec rmdir {} \;

find "$dlpath/downloads" -mindepth 2 -type d -cmin +$cleaner -empty -exec rmdir {} \;



# nzb cleanup, delete files < 3G

find "$dlpath/downloads/sabnzbd" -mindepth 1 -type f -cmin +$cleaner -size -3G -exec rm -rf {} \;

find "$dlpath/downloads/nzbget" -mindepth 1 -type f -cmin +$cleaner -size -3G -exec rm -rf {} \;



done </var/plexguide/.blitzfinal

}



# keeps the function in a loop

cheeseballs=0

while [[ "$cheeseballs" == "0" ]]; do startscript; done
 

eltonzz

Blitz 3rd Class
Patron
everything else works fine, plex, nzbget, sonnar. pgui.domain.com shows all lights green
Only moving is not working
 
Last edited:

eltonzz

Blitz 3rd Class
Patron
now i can't seem to deploy it on the 2nd server.
i redeployed pgblitz and i even created a new project with new credentials and i checked the user account and it's ok
↘ Input Selection | Press [ENTER]: a


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
? Conducting RClone Mount Checks ~ pgclone.pgblitz.com
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

2019/06/17 00:59:19 ERROR : Attempt 1/3 failed with 2 errors and: failed to make directory: googleapi: Error 404: File not found: 0AK2nZpLpOYsGUk9PVA., notFound
2019/06/17 00:59:20 ERROR : Attempt 2/3 failed with 2 errors and: failed to make directory: googleapi: Error 404: File not found: 0AK2nZpLpOYsGUk9PVA., notFound
2019/06/17 00:59:20 ERROR : Attempt 3/3 failed with 2 errors and: failed to make directory: googleapi: Error 404: File not found: 0AK2nZpLpOYsGUk9PVA., notFound
2019/06/17 00:59:20 Failed to mkdir: failed to make directory: googleapi: Error 404: File not found: 0AK2nZpLpOYsGUk9PVA., notFound
/opt/pgclone/functions/multihd.sh: line 8: /var/plexguide/multihd.paths: No such file or directory
GDRIVE : Passed
TDRIVE : Passed
GDSA01 : Failed

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
? RClone Mount Checks - Failed
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

CANNOT DEPLOY!

POSSIBLE REASONS:
1. GSuite Account is no longer valid or suspended
2. Client ID and/or Secret are invalid and/or no longer exist

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
↘ Acknowledge Info | Press [ENTER]
 
M

MrDoob

Guest
So deploy an test server and this is not happen on my side ..

Cline the files new .. over command and try again ..

I can't recreate this issue
 

Universe

Blitz 2nd Class
with 8.6.5 ive had an issue where in nzbget it wont create a folder when downloading a movie from radarr and causes an error and if it does work then it wont move. also for me the paths in nzbget arent there according to the video and ive setup and rebooted entire server but it wont show.
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads


Development Donations

 

Top NZB NewsGroups!

Members - Up To a 58% Discount!

Trending

Members online

Top