Support

Akeeba Backup for Joomla!

#16931 Cannot save Configuration + 500 Server Error on backup

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by nicholas on Thursday, 01 August 2013 11:40 CDT

user55161
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: 2.5.11
PHP version: 5.3.25
MySQL version: (unknown)
Host: unlimitedwebhosting
Akeeba Backup version: 3.7.10 Pro

EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue:

This is a site that has moved to a new server (it is the subdomain referred to in ticket #16911: Redirect to Subdomain) Up till now it has worked flawlessly.

The first error occured on the main domain when running the config wizard. The error was colud not save max execution time ... you wil have to configure manually. I ran Akeeba Tool to fix permissions and everything was fine and I was able to upgrade to J2.5.13 and run backups.

For the subdomain there are 4 profiles:
#1: Full Site Backup - Local (default)
#2: Database Backup Only - Local
#3: Full Site Backup - Remote (DropBox)
#4: Database Backup Only - Remote (Amazon S3)
#1 & #3 are identical apart from the remote configuration; similarly, #2 & 4 are identical apart from the remote configuration.

I can run the config wizard when the active profile is set #1 and backup also with #1. I have also run succesful backups on #2 and #4. Profile #3 is the one giving most problems. The config wizard gives the same error mentioned earlier. I set the manual values to those in the main domain and try to run the backup. The backup starts then I get these errors:

Backup Failed

The backup operation has been halted because an error was detected.

The last error message was:



AJAX Loading Error

HTTP Status: 500 (Internal Server Error)

Internal status: error

XHR ReadyState: 4

Raw server response:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache Server at subdomain.maindomain.com Port 80


Inspection of the apache error log shows two instances of failure:

--------------------------------------------------------------------------------

[Thu Aug 01 09:35:01 2013] [warn] [client 94.175.36.71] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://subdomain.maindomain.com/administrator/index.php?option=com_akeeba&view=backup

[Thu Aug 01 09:35:01 2013] [error] [client 94.175.36.71] Premature end of script headers: index.php, referer: http://subdomain.maindomain.com/administrator/index.php?option=com_akeeba&view=backup

[Thu Aug 01 09:36:23 2013] [error] [client 94.175.36.71] client denied by server configuration: /var/www/vhosts/MyAccountDir/SiteFolder/administrator/index.php, referer: http://subdomain.maindomain.com/administrator/index.php?option=com_akeeba&view=confwiz

[Thu Aug 01 09:38:36 2013] [error] [client 94.175.36.71] client denied by server configuration: /var/www/vhosts/MyAccountDir/SiteFolder/administrator/index.php, referer: http://subdomain.maindomain.com/administrator/index.php?option=com_akeeba&view=confwiz

[Thu Aug 01 09:40:36 2013] [error] [client 94.175.36.71] client denied by server configuration: /var/www/vhosts/MyAccountDir/SiteFolder/administrator/index.php, referer: http://subdomain.maindomain.com/administrator/index.php?option=com_akeeba&view=confwiz

[Thu Aug 01 09:47:01 2013] [warn] [client 94.175.36.71] mod_fcgid: read data timeout in 45 seconds, referer: http://subdomain.maindomain.com/administrator/index.php?option=com_akeeba&view=backup

[Thu Aug 01 09:47:01 2013] [error] [client 94.175.36.71] Premature end of script headers: index.php, referer: http://subdomain.maindomain.com/administrator/index.php?option=com_akeeba&view=backup

[Thu Aug 01 09:50:01 2013] [warn] [client 94.175.36.71] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://subdomain.maindomain.com/administrator/index.php?option=com_akeeba&view=buadmin&task=showcomment&id=199

[Thu Aug 01 09:50:01 2013] [error] [client 94.175.36.71] Premature end of script headers: index.php, referer: http://subdomain.maindomain.com/administrator/index.php?option=com_akeeba&view=buadmin&task=showcomment&id=199



...



[Thu Aug 01 12:41:03 2013] [error] [client 94.175.36.71] client denied by server configuration: /var/www/vhosts/MyAccountDir/SiteFolder/administrator/index.php, referer: http://subdomain.maindomain.com/administrator/index.php?option=com_akeeba&view=confwiz

[Thu Aug 01 12:41:31 2013] [error] [client 94.175.36.71] client denied by server configuration: /var/www/vhosts/MyAccountDir/SiteFolder/administrator/index.php, referer: http://subdomain.maindomain.com/administrator/index.php?option=com_akeeba&view=confwiz

[Thu Aug 01 12:41:43 2013] [error] [client 94.175.36.71] client denied by server configuration: /var/www/vhosts/MyAccountDir/SiteFolder/administrator/index.php, referer: http://subdomain.maindomain.com/administrator/index.php?option=com_akeeba&view=confwiz

[Thu Aug 01 12:41:48 2013] [error] [client 94.175.36.71] client denied by server configuration: /var/www/vhosts/MyAccountDir/SiteFolder/administrator/index.php, referer: http://subdomain.maindomain.com/administrator/index.php?option=com_akeeba&view=confwiz

[Thu Aug 01 12:41:54 2013] [error] [client 94.175.36.71] client denied by server configuration: /var/www/vhosts/MyAccountDir/SiteFolder/administrator/index.php, referer: http://subdomain.maindomain.com/administrator/index.php?option=com_akeeba&view=confwiz

[Thu Aug 01 12:41:54 2013] [error] [client 94.175.36.71] client denied by server configuration: /var/www/vhosts/MyAccountDir/SiteFolder/administrator/templates/bluestork/favicon.ico

[Thu Aug 01 12:45:01 2013] [warn] [client 94.175.36.71] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://subdomain.maindomain.com/administrator/index.php?option=com_akeeba&view=backup

[Thu Aug 01 12:45:01 2013] [error] [client 94.175.36.71] Premature end of script headers: index.php, referer: http://subdomain.maindomain.com/administrator/index.php?option=com_akeeba&view=backup



--------------------------------------------------------------------------------


If I take a manual backup of either the main domain or the subdomain I can transfer the backup to my server, update Joomla and other extensions. All is well.

The current Fine tuning times are set 2.0;20.0;75%. I tried reducing max execution to 15 secs but that didn't make a difference.

I have other Joomla installs on the same server, all with Akeeba Admin Tools and Backup and none of them have given errors despite being transferred from the same old server to this new one.

What do you suggest I try next?
Thanks,
Ric

nicholas
Akeeba Staff
Manager
For each one of the backup profiles go to their Configuration page and set the maximum execution time to 10 seconds. If you are transferring the backup to a remote storage such as Amazon S3 or Dropbox you will also need to reduce, for each profile, the part size for split archives.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user55161
Hi again,

Profiles #1. #2 amd #4 OK.

#4 is DB only (~4MB) to Amazon

#3 fails with 500 server error (original max execution time was 14s, not 15). Log attached.

Error log immediately below:


-------------------------------------------------------------------------------------------------------------

[Thu Aug 01 12:41:03 2013] [error] [client 94.175.36.71] client denied by server configuration: /var/www/vhosts/MyAccountDir/SiteFolder/administrator/index.php, referer: http://subdomain.maindomain/administrator/index.php?option=com_akeeba&view=confwiz

[Thu Aug 01 12:41:31 2013] [error] [client 94.175.36.71] client denied by server configuration: /var/www/vhosts/MyAccountDir/SiteFolder/administrator/index.php, referer: http://subdomain.maindomain/administrator/index.php?option=com_akeeba&view=confwiz

[Thu Aug 01 12:41:43 2013] [error] [client 94.175.36.71] client denied by server configuration: /var/www/vhosts/MyAccountDir/SiteFolder/administrator/index.php, referer: http://subdomain.maindomain/administrator/index.php?option=com_akeeba&view=confwiz

[Thu Aug 01 12:41:48 2013] [error] [client 94.175.36.71] client denied by server configuration: /var/www/vhosts/MyAccountDir/SiteFolder/administrator/index.php, referer: http://subdomain.maindomain/administrator/index.php?option=com_akeeba&view=confwiz

[Thu Aug 01 12:41:54 2013] [error] [client 94.175.36.71] client denied by server configuration: /var/www/vhosts/MyAccountDir/SiteFolder/administrator/index.php, referer: http://subdomain.maindomain/administrator/index.php?option=com_akeeba&view=confwiz

[Thu Aug 01 12:41:54 2013] [error] [client 94.175.36.71] client denied by server configuration: /var/www/vhosts/MyAccountDir/SiteFolder/administrator/templates/bluestork/favicon.ico

[Thu Aug 01 12:45:01 2013] [warn] [client 94.175.36.71] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://subdomain.maindomain/administrator/index.php?option=com_akeeba&view=backup

[Thu Aug 01 12:45:01 2013] [error] [client 94.175.36.71] Premature end of script headers: index.php, referer: http://subdomain.maindomain/administrator/index.php?option=com_akeeba&view=backup

[Thu Aug 01 13:12:50 2013] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?

[Thu Aug 01 13:12:53 2013] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?

[Thu Aug 01 13:45:30 2013] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?

[Thu Aug 01 13:45:34 2013] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?

[Thu Aug 01 14:00:07 2013] [error] [client 94.175.36.71] client denied by server configuration: /var/www/vhosts/MyAccountDir/SiteFolder/administrator/index.php, referer: http://subdomain.maindomain/administrator/index.php?option=com_akeeba&view=confwiz

[Thu Aug 01 14:19:14 2013] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?

[Thu Aug 01 14:19:18 2013] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?

[Thu Aug 01 14:25:01 2013] [warn] [client 94.175.36.71] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://subdomain.maindomain/index.php/home

[Thu Aug 01 14:25:01 2013] [error] [client 94.175.36.71] Premature end of script headers: index.php, referer: http://subdomain.maindomain/index.php/home

[Thu Aug 01 15:05:31 2013] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?

[Thu Aug 01 15:05:34 2013] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?

[Thu Aug 01 15:35:27 2013] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?

[Thu Aug 01 15:35:30 2013] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?

[Thu Aug 01 15:53:40 2013] [warn] [client 173.199.154.160] mod_fcgid: stderr: PHP Warning: watchfulliSend::getExtensions(): Cannot assign to an array of nodes (duplicate subnodes or attr detected) in /var/www/vhosts/MyAccountDir/SiteFolder/administrator/components/com_watchfulli/classes/send.php on line 258, referer: http://subdomain.maindomain/components/com_watchfulli/send.php

[Thu Aug 01 15:53:40 2013] [warn] [client 173.199.154.160] mod_fcgid: stderr: PHP Notice: Undefined variable: debug in /var/www/vhosts/MyAccountDir/SiteFolder/components/com_watchfulli/send.php on line 33, referer: http://subdomain.maindomain/components/com_watchfulli/send.php

[Thu Aug 01 15:54:00 2013] [warn] [client 94.175.36.71] mod_fcgid: read data timeout in 45 seconds, referer: http://subdomain.maindomain/administrator/index.php?option=com_akeeba&view=backup

[Thu Aug 01 15:54:00 2013] [error] [client 94.175.36.71] Premature end of script headers: index.php, referer: http://subdomain.maindomain/administrator/index.php?option=com_akeeba&view=backup

[Thu Aug 01 15:58:35 2013] [warn] [client 94.175.36.71] mod_fcgid: read data timeout in 45 seconds, referer: http://subdomain.maindomain/administrator/index.php?option=com_akeeba&view=backup

[Thu Aug 01 15:58:35 2013] [error] [client 94.175.36.71] Premature end of script headers: index.php, referer: http://subdomain.maindomain/administrator/index.php?option=com_akeeba&view=backup

-------------------------------------------------------------------------------------------------------------


Entries such as:
[Thu Aug 01 12:41:31 2013] [error] [client 94.175.36.71] client denied by server configuration: /var/www/vhosts/MyAccountDir/SiteFolder/administrator/index.php, referer: http://subdomain.maindomain/administrator/index.php?option=com_akeeba&view=confwiz


are significant though? The IP is mine.

Anyway if that wasn't enough, the success of a full site backup led me to upgrade J2.5.11 to 2.5.13. Then a user reported that they could not log in. The message is "You cannot access the private section of this site." When I tried to log in to the front-end as a registered user, not super user I obtained the same message also.

After three attempts Admin Tools locked me out. No big deal: renamed pro.php and deleted the exceptions. Can still log in using Admin account though. Disabled .htaccess; registered users still cannot log in. I'm therefore led to believe it's not an Admin Tools problem after all.

Then the update to 2.5.14 was announced. Updated again (twice in one day has to be a record, surely?)

This site started of as Joomla 1.5 and has been migrated upwards. I checked out the thread on com_contacts and com_contact_details but this isn't Joomla 3. Legacy issues?

Ric

nicholas
Akeeba Staff
Manager
As I said:

[quote]If you are transferring the backup to a remote storage such as Amazon S3 or Dropbox you will also need to reduce, for each profile, the part size for split archives.[quote]

Right now I see this:

DEBUG   |130801 15:57:48|Total size of backup archive (in bytes): 90824759


and I don't see any .j01 file being generated. As a result you're trying to transfer an 87Mb file which causes a timeout because of what is written in the last three paragraphs in this documentation page: https://www.akeebabackup.com/documentation/akeeba-backup-documentation/step-by-step-guides.html#how-to-cloud-backup-basic-config

I hope that helps.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!