What's new
PGBlitz.com

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

Solved /mnt/move keeps being removed

Assists Greatly with Development Costs
Status
Not open for further replies.

hooper

Blitz Legioner
Staff
Donor
PG Version
8.6.3
Mount Type
Blitz Encrypted
Server Type
Remote - Dedicated Server
the /mnt/move directory keeps getting removed. Running the 8.6.3 release.
 

megemega

Blitz 3rd Class
Just happened to me today as well.

PG Version 8.6.3
Mount Type Blitz Encrypted
Server Type Remote - Dedicated Server

AND
PG Version 8.6.3
Mount Type Blitz Unencrypted
Server Type Local Server
 
M

MrDoob

Guest
short fix .

Without redeploy >>


service pgblitz stop
service pgblitz status
kill {pid} numbers

cd /opt/appdata/pgblitz
nano pgblitz
scroll.down and find this line

(At the end)
find "{{hdpath}}/move/" -type d -mmin +2 -empty -exec rm -rf {} \;

Change to

find "{{hdpath}}/move/" -mindepth 2 -type d -mmin +2 -empty -exec rm -rf {} \;

Ctrg + x > y

chmod -R 755 pgblitz.sh

sudo mkdir /mnt/move

chown -cR 1000:1000 /mnt/move

service pgblitz start



That's for pgblitz.

If you use PGMove

Simple chnage pgblitz.sh commands to pgmove.sh
 
M

MrDoob

Guest
On githube I have the code chnage for round 5mins ..

In the old command was " -mindepth 2 " included .. then was removed and behind $hdpath}}/move/* that's .

In this case all empty folder don't removed .. now all removed ..
 
Status
Not open for further replies.

Similar threads


Development Donations

 

Top NZB NewsGroups!

Members - Up To a 58% Discount!

Trending

Top