 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
December 28th, 2004, 03:09 PM
|
#1 (permalink)
| | Member Verified Customer
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
|
| |
December 28th, 2004, 04:00 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
December 29th, 2004, 04:32 AM
|
#3 (permalink)
| | Member Verified Customer
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.
|
| |
December 29th, 2004, 07:33 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
December 29th, 2004, 07:47 AM
|
#5 (permalink)
| | Member Verified Customer
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??
|
| |
December 29th, 2004, 08:51 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Of course that is exactly what I have said.
|
| |
December 29th, 2004, 09:05 AM
|
#7 (permalink)
| | Member Verified Customer
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.
|
| |
December 29th, 2004, 09:48 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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. |
| |
December 29th, 2004, 10:06 AM
|
#10 (permalink)
| | Member Verified Customer
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
|
| |
December 29th, 2004, 10:21 AM
|
#11 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
December 29th, 2004, 10:36 AM
|
#12 (permalink)
| | Member Verified Customer
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.
|
| |
December 29th, 2004, 10:59 AM
|
#13 (permalink)
| | Photopost Developer Verified Customer
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 ";
|
| |
December 29th, 2004, 11:23 AM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Jan 2003 Location: London
Posts: 267
|
Yes, that fixed the problem. Thanks for your time and prompt help.
Bob
|
| |
February 1st, 2005, 03:02 PM
|
#15 (permalink)
| | Member Verified Customer
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
Last edited by firstrebel; February 2nd, 2005 at 11:07 AM.
|
| |
February 2nd, 2005, 03:02 PM
|
#16 (permalink)
| | Member Verified Customer
Join Date: Jan 2003 Location: London
Posts: 267
|
Any help with this please?
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 02:23 AM. | |