Support

Akeeba Backup for Joomla!

#15733 AKeeba backup/Admin Tools upgrade issues

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 Friday, 10 May 2013 09:00 CDT

hctxDS19
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.9
PHP version: 5.3.17
MySQL version: 5.5.28
Host: cloudaccess
Akeeba Backup version: 3.7.4

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:
I am setting up a migration test site from current host to cloudaccess and am updating Akeeba Tools/Backup on test site before going live.
I had Admin Tools 2.4.4 and Akeeba 3.5.9. Old host was using php 5.2 but cloudaccess has us set up on 5317 so wanted to get updated to current versions.
I purchased a subscription to Admin Tools (AT) Pro yesterday. The 2.4.4 AT version was installed by person who fixed our site and recommended AT for security reasons. i wanted to buy subscription so i could get up to date and get updates.
I updated the AT to 2.5.3 then updated Akeeba Backup (AB) from 359 to 374. I had to install both (AT first) via extension manager due to unknown issues updating via Akeeba backend (forget message i got). After installing AB via extension manager i got the DATABASES ARE CORRUPT yellow box when i tried to do a backup. I found this article and followed instructions:
https://www.akeebabackup.com/support/akeeba-backup-3x/15175-your-database-tables-are-corrupt.html

After re-installing AB I would get blank screen when i would click Components>AT or Component>AB. I did a search on your site for help and found this:
https://www.akeebabackup.com/support/admin-tools/15678-fatal-error-when-accessing-admin-tools-in-backend.html

I followed instructions and was able to get both AT and AB installed. I did a test backup last night and did a test restore all seemed ok as i saw the new ANGIE interface that i assume was part of 3.7.4 version.

Today, i came in and tried to do another test restore and after the AB INSTALLER runs the process skips the database info pages (ANGIE) and skips straight to the step 6 Restoration Cleanup, i believe. Site pulls up fine, but the ANGIE step should not be skipped, right?
While typing this i have tried another Restore and this time the ANGIE steps with database info page DOES appear and the full process takes place.
I know this was long, but i tried to be as detailed as possible and i just want to know if there is anything i should do to ensure test site is fully functional with Akeeba AT & AB before going live.

Thanks for help.

nicholas
Akeeba Staff
Manager
Hello David,

The database restoration part should never be skipped. It is exactly what the restoration script is designed to do. Maybe the restoration was a bit too quick and you thought it was skipped? In fact, if it's skipped then the database isn't restored and the site doesn't work at all.

Apart from that it seems that you already fixed all issues you had with your site and everything is set up properly.

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!

hctxDS19
Broke test site this AM doing a test restore. Can't even get in to server via Filezilla. Taking up with host to see what's what. Will leave open ticket til i hear something.

Thanks for help.

hctxDS19
things seem to be back in order...although something else has come up since my last post that i address below, but first...I am running AdTools Pro 2.5.3 and Ak Pro 3.7.4 with J 2.5.9.
Is there an upgrade order i should follow for all 3 entities...like Ak first, AdTools 2nd and J 3rd, etc? I have read about double install but that's for J ext mgr method, not "one click upgrade component method", correct?

Also, i went live with test site and purchased space for another test site. I am trying replicate live site to test site and was able to restore a backup to it, only when i log in to test site with htaccess pswd to access backend i get this message:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Are there some tweeks i need to make via FTP to htaccess files or something to get to Joomla log in page?

thanks again.

nicholas
Akeeba Staff
Manager
Currently, there is no specific installation order. Normally, you need to install Akeeba backup first, then Admin Tools and then any other extension published by us.

When using the one click upgrade component method it is likely that Joomla! forgets to copy some files. This usually happens in major upgrades. If in doubt, I would recommend upgrading manually and install each component twice, without uninstalling it in between. A manual upgrade is the same as installing a component. You just have to go to Extensions, Extensions Manager and install the Zip installation package of the new version of the component.

Regarding your issue with the restored site, I need a clarification. Is it the same or a different host? If it is a different host you will need to first remove your .htaccess file, edit the .htaccess Maker configuration options and regenerate your .htaccess file. If, however, you are restoring on the same host you most likely have a completely different issue. If this is the case please tell me and I will give you further troubleshooting instructions.

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!

hctxDS19
same host...

Settings don't get lost with manual upgrade do they?

nicholas
Akeeba Staff
Manager
Hello David,

No, if you do a manual upgrade to the exact way that I described then no, you will not lose any settings. Do note, however, that if you try uninstalling the component you will lose your settings. Moreover, uninstalling Akeeba Backup we also delete all the backup archive stored in your default output directory. This is why I strongly advise against uninstalling the component before upgrade.

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!

hctxDS19
thanks again...that's why i am trying to get test site going so i could try it out there first. Test site at same host but lesser service plan.

nicholas
Akeeba Staff
Manager
A white page or a page with a 500 Internal Server Error is, in fact, either a .htaccess issue to a PHP fatal error in disguise.

First, let's see if it is a .htaccess issue. Try renaming the .htaccess file in your site's root to htaccess.bak If there is a .htaccess file in the site's administrator directory, try renaming it as well. If that solves the problem, the issue was with a directive in your .htaccess file. We'd like to recommend you to try removing directives from your .htaccess until you find the one which causes the problem.

If that doesn't help, the error you are receiving is in fact a PHP error in disguise. First, check your server's error logs (not the access logs) immediately after visiting the page which throws the error. There should be an exact description of the PHP fatal error which occurred. Sometimes you can find the error messages in files called error_log or error.log inside the site's root and/or administrator directories. If unsure about the error log location, please consult your host. Most likely the error logs are available in your site's cPanel, Plesk control panel or similar hosting account management facility.

If your host does not give you access to the error logs and you have access to the Joomla! administrator area, please log in to your site's back-end, go to Global Configuration, click on the Server tab and set the Error Reporting to Maximum (Joomla! 1.5) or Development (Joomla! 2.x and later). Try visiting the problem page again.

If you still get a blank page, edit your configuration.php file and put the following code right after the final closing curly brace ( this is what a curly brace looks like --> } ) but before the closing PHP tag (it looks like ?> that is a question mark and a greater-than sign):
ini_set( 'display_errors', true );
error_reporting( E_ALL ); 
Try visiting the problem page again.

If you still get a white page, please remote the two lines from your configuration.php file. Edit the .htaccess file in your site's root. If you don't have a file named .htaccess create a new one. Beware that htaccess.txt is a DIFFERENT FILE and will NOT work! Add the following to the end of the file:
php_flag display_errors On
php_value error_reporting 32767
and retry loading the problem page.

If you still get a white page, remove the two lines from your .htaccess file. Now, create a file called php.ini with the following content:
display_errors=on
error_reporting=E_ALL
and upload it into your site's root and your site's administrator directory. Retry loading the problem page.

IMPORTANT: Sometimes the error won't show. Edit your configuration.php and find the line starting with public $error_reporting and set it to:
public $error_reporting = 'development';

This instructs Joomla! to enable maximum error, warnings and notices verbosity. In 99.9% of cases it will result in the error messages being shown on the browser.

Please note that if you can not understand what the PHP error message means, just copy and paste it here verbatim so that we can take a look and point you to the right direction.

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!

hctxDS19
I just got this in ticket from my web dev guy who assists with host regarding technical issues like this:

-Try getting in with ftp, rename .htaccess .htaccess.bak.
-Do similar thing with akkeeba administrator's .whatever file
-Upload standard joomla htaccess file, with mod_rewrite enabled (uncommented).
-Try again to log in to back end.
-Re-run akeeba admin, but use paths appropriate to this install.
-Edit settings on Akeeba Backup to not back up .htaccess files.

but can't find the .whatever file in akeeba folder structure.

I'll give your method a shot...

hctxDS19
Tried htaccess.bak (no period "." before "htaccess") method in root (there was a .htaccess.bkp file there already along with .htaccess) and administrator folder It got me past the htaccess log in alltogether, as in now it's disabled or not active. I cleared browser cache and login history to be sure and still no htaccess pop up.

I can log in to Joomla backend now but if i reactivate the htaccess password feature in Admin Tools will i get the same error as before?

nicholas
Akeeba Staff
Manager
Normally no. Admin Tools checks your server capabilities and tries to choose the correct method to create the file.

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!

hctxDS19
ok, i got it...reset the htaccess pswd and all good.
Only thing is, when i do restores, say from live site JPAs i will have to go back and rename the htaccess files again, correct?

Thanks again for your help.

nicholas
Akeeba Staff
Manager
Yes, you will have to rename the .htaccess files. Or you can skip them from the backup (using the Files and Directories Exclusion feature of Akeeba Backup, of course) :)

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!

hctxDS19
last thing...promise.

Is double install required assuming issues appear after first install or if first install goes fine (seemingly...no errors/issues) just leave it at that?
Did double install via ext mgr for test site and after first install no errors/issues. Went ahead and did it again per instructions and all still ok. Just want to verify before i do same on live site.

nicholas
Akeeba Staff
Manager
If not only the installation completes without errors but you also see no errors when using the component then no, you do not need to do a double installation. The double installation is for those cases when the installation does complete successfully (I mean: without an obvious error) but the component seems to be missing some feature or something is not working quite right.

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!

hctxDS19
thanks N...great help.

nicholas
Akeeba Staff
Manager
You're welcome!

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!