FTP transfer to another server | Page 2 | Wordpress Support | Forum Archive

The free forums are no longer in use. It remains available as read-only archive.

Avatar
Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
The forums are currently locked and only available for read only access
sp_Feed Topic RSSsp_TopicIcon
FTP transfer to another server
January 21, 2011
5:12 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Hi there! What is your Backup Start Path value?

Inside the archive, there is a file called administrator/backups/perm.txt, could you check and see if the missing directories are listed there?

 

Ovidiu

January 21, 2011
5:13 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Also, make sure the user you run the cron under has permissions to access those folders as this was the previous case issue if i remember right

 

Ovidiu

January 21, 2011
6:20 pm
Avatar
petebocken
Member
Members
Forum Posts: 5
Member Since:
January 21, 2011
sp_UserOfflineSmall Offline

Backup start path: /var/www/vhosts/mydomain.com/httpdocs/

 

Yes, the directories are listed in perm.txt.

 

All the folders inside these two folders are set to 777 and files are 666.

January 22, 2011
11:16 pm
Avatar
Marty
New Member
Members
Forum Posts: 2
Member Since:
January 22, 2011
sp_UserOfflineSmall Offline

I'm also trying to transfer to another server and I'm getting an error stating the following:

 

Warning: ftp_nb_put() [function.ftp-nb-put]: Rename/move failure: No such file or directory in /***/***/***/***/*****/*******/***********/html/administrator/components/com_xcloner-backupandrestore/cloner.functions.php on line 579

FTP upload has failed for file /home/******/*******/********************/html/XCloner.php ! Stopping ....

 

I've looked and the file it's claiming is not there is in fact there, so I'm at a loss. I've gone through and made sure all my permissions in all the directories are set to 777.

 

Help?

Thanks.

January 23, 2011
11:02 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Hi Marty! Make sure the ftp upload path you are trying to send the files to is correct, doublecheck it with a ftp client. If it still fails, follow this restore wiki https://docs.xcloner.com/#/ and move the backup archive and restore script manually to the restore location so you are able to continue with the restore.

 

Ovidiu

January 23, 2011
7:30 pm
Avatar
petebocken
Member
Members
Forum Posts: 5
Member Since:
January 21, 2011
sp_UserOfflineSmall Offline

@Mike - Did you ever figure out how to backup your blogs.dir and wp-content/uploads directories with cron?

@Ovidiu - Anything else I should check into with my plesk setup/cron to get this to work?

 

Mike said:

What's weird is that my blogs.dir and uploads directories were omitted during the cron backup. I tried backing up only the files instead of the db+files combo for 4 tests and each time those directories were missing, yet when I do the manual backup everything is there.


January 23, 2011
8:01 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

What permissions to you have setup on your blogs.dir/ and uploads/ folders? As i said, usually this is caused by a permissions issue as the system user running the cron script might not have access to those folders

 

Ovidiu

January 23, 2011
8:27 pm
Avatar
petebocken
Member
Members
Forum Posts: 5
Member Since:
January 21, 2011
sp_UserOfflineSmall Offline

I logged into my server with ssh and I see that the files inside wp-content/uploads and blogs.dir have the user and group apache and the other files like in my themes folder for example have my username for user and group psacln.  So it appears cron doesn't appear to have permission to either my username or the apache group.

 

I am on Media Temple (dv) using plesk.  I know that I have had issues like this before with WordPress not being able to upload files unless the uploads directory had permissions 777.  Also I couldn't run autoupdate until I added the ftp creds into wp-config.  I understand I can enable PHP to run FastCGI to allow PHP to run as my domain/FTP user rather than as the apache user.... but I have been avoiding doing that.  Apparently uploaded files from wordpress cannot be accessed with cron.  Bummer.

 

XCloner! Support said:

What permissions to you have setup on your blogs.dir/ and uploads/ folders? As i said, usually this is caused by a permissions issue as the system user running the cron script might not have access to those folders

 

Ovidiu


Forum Timezone: America/Chicago
Most Users Ever Online: 867
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
mlguru: 30
Django29: 29
Andy: 21
D: 21
Marcus: 20
Jamie F: 19
Member Stats:
Guest Posters: 738
Members: 10030
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
Omar Vera
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0