Solved /mnt/move keeps being removed

Status
Not open for further replies.

hooper

Blitz Legioner
Original poster
Staff
Donor
297
103
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
4
0
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
 

MrDoob

Administrator
Project Manager
Donor
1,248
332
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
 

MrDoob

Administrator
Project Manager
Donor
1,248
332
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

 

Trending