PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old December 28th, 2004, 03:09 PM   #1 (permalink)
Member
Verified Customer
 
firstrebel's Avatar
 
Join Date: Jan 2003
Location: London
Posts: 267
Backup error - 4.8.5 upgrade

I have upgraded 4.8.2 > 4.8.5 and all is OK but cannot now do a backup. See attached jpeg for error message. The backup files are not being created.

Bob
Attached Images
File Type: jpg photopost_error1.jpg (85.0 KB, 11 views)
__________________
Robert Isaac

www.volvogallery.org.uk
firstrebel is offline   Reply With Quote
Old December 28th, 2004, 04:00 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Have you uploaded the latest version?

The backup directory path is located in the admin options now not the config file.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 29th, 2004, 04:32 AM   #3 (permalink)
Member
Verified Customer
 
firstrebel's Avatar
 
Join Date: Jan 2003
Location: London
Posts: 267
After I ran the upgrade script I uploaded the new config-inc.php after entering the mysql access details. I then 'saved' the settings in both the config and options admin pages. The backup does not work with the new config-inc.php file even though the correct path is shown in the options admin page. I reverted to the 4.8.2 config-inc.php file and backup ran OK.
__________________
Robert Isaac

www.volvogallery.org.uk
firstrebel is offline   Reply With Quote
Old December 29th, 2004, 07:33 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
You have not downloaded the latest download as I stated. The initial download in the adm-backup it was looking for the backup directory in the config.

This has been corrected and the distribution has been corrected about a week ago.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 29th, 2004, 07:47 AM   #5 (permalink)
Member
Verified Customer
 
firstrebel's Avatar
 
Join Date: Jan 2003
Location: London
Posts: 267
I downloaded 4.8.5 on December 17. Are you saying there is a more current version that is also 4.8.5??
__________________
Robert Isaac

www.volvogallery.org.uk
firstrebel is offline   Reply With Quote
Old December 29th, 2004, 08:51 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Of course that is exactly what I have said.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 29th, 2004, 09:05 AM   #7 (permalink)
Member
Verified Customer
 
firstrebel's Avatar
 
Join Date: Jan 2003
Location: London
Posts: 267
I just downloaded the 'latest' v4.8.5 and then uploaded adm-backup.php and tried again. Same error message. Are there any other files I need to reupload?

I cant see any documentation referring to this.
__________________
Robert Isaac

www.volvogallery.org.uk
firstrebel is offline   Reply With Quote
Old December 29th, 2004, 09:48 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
As with all backups there are 3 things one needs to consider.

The new file has this

print "Directory to store backups: <i>{$Globals['backupdir']}</i><br /><br />";

Number 1

The directory server path you have entered in the global option for backups must exist and be writable 777

Number 2

Mysql must be on the same server as the install.

Number 3

The path to mysql must be entered correctly also in the backup options in admin


If you now have the new file and it still does not work you have not done one of the other options.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 29th, 2004, 10:05 AM   #9 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
You only need the adm-backup.php file from the current build.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old December 29th, 2004, 10:06 AM   #10 (permalink)
Member
Verified Customer
 
firstrebel's Avatar
 
Join Date: Jan 2003
Location: London
Posts: 267
I followed the upgrade instruction from 4.8.2 > 4.8.5 to the letter - not uploading config-inc.php until after running the upgrade script and saving the settings.

So to your points.

Quote:
Number 1

The directory server path you have entered in the global option for backups must exist and be writable 777
Nothing here has changed since 4.8.2
/home/backups/photopost

Quote:
Number 2

Mysql must be on the same server as the install.
Nothing here has changed since 4.8.2

Quote:
Number 3

The path to mysql must be entered correctly also in the backup options in admin
Nothing here has changed since 4.8.2
/usr/bin/mysqldump
__________________
Robert Isaac

www.volvogallery.org.uk
firstrebel is offline   Reply With Quote
Old December 29th, 2004, 10:21 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Are those the entries in the new admin options as yes it has changed since 4.8.2. They are no longer exist in the config file. They are found in the global options.

What do your global options state for 4.8.5 on this subject? I have the following in my config and it backups without flaw

Directory for backups?
The full path to the directory to store backups

/var/www/html/backups

Path to mysqldump
The full path to your mysqldump executable

/usr/bin/mysqldump
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 29th, 2004, 10:36 AM   #12 (permalink)
Member
Verified Customer
 
firstrebel's Avatar
 
Join Date: Jan 2003
Location: London
Posts: 267
The paths are in the new admin global options - see attached jpeg. The only way to run the backup is with the old (v4.8.2) config-inc.php file. Running the backup with the new (v4.8.5) config-inc.php gived 0 size backup files.
Attached Images
File Type: jpg pp_error.jpg (23.3 KB, 7 views)
__________________
Robert Isaac

www.volvogallery.org.uk
firstrebel is offline   Reply With Quote
Old December 29th, 2004, 10:59 AM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Firstrebel


Try changing this line

print "Path to mysqldump: <i>$mysqldumpcmd/mysqldump</i><br />";

to this

print "Path to mysqldump: <i>{$Globals['mysqldumppath']}</i><br />";


then this line

$dumpcmd = "$mysqldumppath --opt -h $host -u$mysql_user -p$mysql_password $database ";

to this

$dumpcmd = "{$Globals['mysqldumppath']} --opt -h $host -u$mysql_user -p$mysql_password $database ";
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 29th, 2004, 11:23 AM   #14 (permalink)
Member
Verified Customer
 
firstrebel's Avatar
 
Join Date: Jan 2003
Location: London
Posts: 267
Yes, that fixed the problem. Thanks for your time and prompt help.

Bob
__________________
Robert Isaac

www.volvogallery.org.uk
firstrebel is offline   Reply With Quote
Old February 1st, 2005, 03:02 PM   #15 (permalink)
Member
Verified Customer
 
firstrebel's Avatar
 
Join Date: Jan 2003
Location: London
Posts: 267
Upgrade 4.8.5 > 4.86 backup error

I have just upgraded 4.8.5 > 4.86 and this same error has happened. The fix you suggested above has not worked for 4.86

Bob
__________________
Robert Isaac

www.volvogallery.org.uk

Last edited by firstrebel; February 2nd, 2005 at 11:07 AM.
firstrebel is offline   Reply With Quote
Old February 2nd, 2005, 03:02 PM   #16 (permalink)
Member
Verified Customer
 
firstrebel's Avatar
 
Join Date: Jan 2003
Location: London
Posts: 267
Any help with this please?
__________________
Robert Isaac

www.volvogallery.org.uk
firstrebel is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to backup - then upgrade kimber89 General Discussion 2 September 21st, 2005 12:23 PM
Error on Database Backup myjeeprocks Photopost Pro Installation & Upgrades 1 April 18th, 2005 08:52 AM
4.86 backup error firstrebel Photopost Pro Installation & Upgrades 4 February 3rd, 2005 02:31 PM
Backup Error Message nbenton Photopost Pro Installation & Upgrades 2 July 14th, 2004 09:19 AM


All times are GMT -5. The time now is 02:23 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0