New install of Xcloner has a invalid temporary folder | 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
New install of Xcloner has a invalid temporary folder
September 30, 2010
3:38 pm
Avatar
dehcbad25
Member
Members
Forum Posts: 5
Member Since:
September 30, 2010
sp_UserOfflineSmall Offline

I just installed the Xcloner plugin and after finishing configuring I am looking in the info section and I have this warning

Temporary Folder /usr/share/wordpress//administrator/backups incorrect or unreadable 
this path needs to be created and be writeable in order for XCloner to work properly

This makes sense, since I don't have a folder /usr/share/wordpress//administrator/backups, and I cannot create one in my box either because of the double slash. I changed the backup directory, but I have not find anywhere where to change the temporary folder

September 30, 2010
4:40 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Hi there! What is the value of the Backup Start Path option in your XCloner Config?

As per our install instructions, there is a special folder that always need needs to exist inside the Backups Start Path you configured in XCloner, and that is administrator/backups , you need to also make it fully writeable.

Please check also the wiki instructions https://docs.xcloner.com/#/

 

Hope it helps! Ovidiu

September 30, 2010
10:05 pm
Avatar
dehcbad25
Member
Members
Forum Posts: 5
Member Since:
September 30, 2010
sp_UserOfflineSmall Offline

Well, look at that 🙂
I had already created the folder administrator/backups. However it fixed the error after I removed the trailing slash from the Backup Start Path.

After saving info was showing green, but still shows /usr/share/wordpress//administrator/backups as the temporary folder. Most likely because after saving the trailing slash is back into the backup start path.

However I run a backup manually and it completed.

Just one quick note, I searched the PDF manual, and there was no mentioning of the temporary folder on it. I will refer to the wiki next time just in case 🙂

October 1, 2010
6:42 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Thanks for letting us know, we did not have the change to update the pdf manual yet, the wiki online is more easier to edit 🙂

Regards, Ovidiu

October 21, 2010
2:28 pm
Avatar
alex
Member
Members
Forum Posts: 12
Member Since:
October 21, 2010
sp_UserOfflineSmall Offline

I'm experiencing a very similar problem and it seems to render Xcloner useless.

I have created the administrator/backups directory at the root of my wordpress site and it is fully readable and writable, but when i try to create backup I get a slew of errors:

Warning: fopen(/ ... /wp-blog-netfirms//administrator/backups/database-sql.sql) [function.fopen]: failed to open stream: Permission denied in / ... /wp-blog-netfirms/wp-content/plugins/xcloner-backup-and-restore/cloner.functions.php on line 1863

Warning: fopen(/ ... /wp-blog-netfirms//administrator/backups/perm.txt) [function.fopen]: failed to open stream: Permission denied in / ... /wp-blog-netfirms/wp-content/plugins/xcloner-backup-and-restore/cloner.functions.php on line 1257
TAR error: File '/ ... /wp-blog-netfirms//administrator/backups/index.html' does not exist
Starting the manual backup process!
Database backup: d60695889: Backup FAILED, please check that administrator/backups directory is writeable!

Backup / ... /WP-backups/xcloner-backups/backup_2010-10-21_10-24_ovaloffice.ca-sql-nodrop.tar created, we may continue!
Please click here to continue!

Warning: fopen(/ ... /wp-blog-netfirms//administrator/backups/perm.txt) [function.fopen]: failed to open stream: Permission denied in / ... /wp-blog-netfirms/wp-content/plugins/xcloner-backup-and-restore/cloner.functions.php on line 890
Total process: % out of 0 files
Processing files 0 to 0 for backup file /mnt/w0501/d45/s17/b02c59fa/www/ovaloffice.ca/WP-backups/xcloner-backupfolder/backup_2010-10-21_09-55_ovaloffice.ca-sql-nodrop.tar!
Current backup size: 1 KB

Unable to continue, could not open file / ... /wp-blog-netfirms//administrator/backups/perm.txt for reading!

Any ideas what might be going wrong?

October 21, 2010
2:36 pm
Avatar
dehcbad25
Member
Members
Forum Posts: 5
Member Since:
September 30, 2010
sp_UserOfflineSmall Offline

Alex, it seems to be a permission issue.

Make sure your backup folder is readable and accessible by the web browser, in apache usually the user is www-data

October 21, 2010
4:21 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Could you tell us what permissions do you have setup on this folder wp-blog-netfirms//administrator/backups ?

 

Ovidiu

October 21, 2010
6:12 pm
Avatar
alex
Member
Members
Forum Posts: 12
Member Since:
October 21, 2010
sp_UserOfflineSmall Offline

It seems like you're right, there was something really odd going on with the permissions. I had been using the Fetch ftp client and it was telling the permissions for that folder were 777. After your reply i got suspicious and I tried the Cyberduck client instead. Indeed Cyberduck indicated different permissions on the folder! After repeatedly resetting the folder permissions both ftp clients now agree that they are 777 and also the backup seems to work now.

I just have a couple questions:

Is 777 the correct permissions setting for this folder?

Excuse me for being a nube but why do you put a double-slash in the path "wp-blog-netfirms//administrator/backups"? What does that mean?

 

Thanks!!

October 21, 2010
6:37 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

777 is correct, but you might want to try also 666 on that directory for security reasons

 

As for double slash, you can remove that and replace it with a single slash, it might have something to do with the default folder assignment, will look into that, however it should not affect the backup process.

 

Ovidiu

December 2, 2010
12:59 pm
Avatar
Bill
Member
Members
Forum Posts: 17
Member Since:
December 2, 2010
sp_UserOfflineSmall Offline

Hi,

I get something similar. My info page reports:

C:/wamp/www/drupal-6.19//administrator/backup incorrect or unreadable

..which would make sense, given the double slash.

Mybackup start path is 'C:/wamp/www/drupal-6.19/' but when I try & remove the trailing slash, it is re-inserted aurtomatically when I save.

Kind of odd!

Thanks

Bill

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