Support

Site Restoration

#18446 Admin 500 error after restore to another server - I clicked on Remove Installation Folder instead of Clean Up.

Posted in ‘Site restoration’
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

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by dlb on Friday, 06 December 2013 11:19 CST

Ludwig von Mises
 Hi.

I recently changed servers and migrated a bunch of sites from SiteGround to a2 Hosting. All restores were fine, with no issues. However, on the last site that needed to be restored, I am getting Internal Server Error when accessing the back end. This didn't happen with any of the other 5 sites restored.

On this restore I accidentally pressed Remove Installation Folder and DID NOT click on Clean Up. My admin PHP error log is showing a slew of fatal errors of components and plugins trying to access files with the user name of my old account.

Is there a quick fix to this? Or should I just do a fresh restore and over-write everything?

Front end is fine: miraargentina.com

Thanks!

dlb
The "Clean up" option would have deleted the /installation folder along with the backup archive and kickstart. All you did was delete the /installation folder. So that is an issue, but not the cause of your 500 error.

The 500 error should leave a message in the site's error log. That is the first thing to check. Let's see if we can find more information about the error.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

Ludwig von Mises
I tried everything in this article: Common issues on restored sites and how to solve them. https://www.akeebabackup.com/documentation/troubleshooter/prbasicts.html

It looks like this is the error being thrown when I try to access admin:
File does not exist: /home/user/public_html/500.shtml

Maybe the path of least resistence here is to just re-restore the backup?

Ludwig von Mises
SOLVED!

The problem was the .htaccess file in the /administrator folder. It had the old user in it:

AuthUserFile "/home/olduser/public_html/administrator/.htpasswd"
AuthName "Restricted Area"
AuthType Basic
require valid-user

RewriteEngine On
RewriteRule \.htpasswd$ - [F,L]

I change olduser to the current user and now it's fine.

Thanks for the help!

dlb
Great! I'm glad you got it figured out.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

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!