Support

Pre-sales

#36998 500 Internal Server Error after restore

Posted in ‘Pre-sales and Account Questions’
This is a public ticket

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

becksteiner

Hello, 

 

The back-up showed everything to be alright. I got all the correct messages and after the last step deleted installation folder I got the error 500. I cannot access the backend and the front end anymore :-( 

This are the information from the host Logfile: attachment

 

The browser is only showing:

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

Please contact the server administrator at admin to inform them of the time this error occurred, and the actions you performed just before this error.

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

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

 

What can I do or where can I find more answers to the error? 

 

Friendly regards, Robert 

nicholas
Akeeba Staff
Manager

When you extract your site its .htaccess file is extracted under the name htaccess.bak. This is intentional. The .htaccess file changes how your server works; if the file backed up on your old server is incompatible with your new server you'd think that the problem is with our software. The name htaccess.bak is inert, the server does not take it into account.

When you clean up, the very last thing it does is rename htaccess.bak back to .htaccess and redirect you to your site's frontend (if cleaning up through the restoration script) or a page asking you if you want to visit your site's frontend (if cleaning up through Kickstart).

If the .htaccess file that had been backed up on your old server is incompatible with your new server guess what happens? That's right, error 500.

So, delete the .htaccess file. Then Joomla's default htaccess.txt into .htaccess which is a bit safer and allows SEF URLs to be used.

FYI, for the past two years you can do that from the restoration script (ANGIE) itself. In the Site Setup page you have an option about what to do with your site's .htaccess file. Choose to use the default for what I described above to happen automatically.

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!

becksteiner

Hello, 

Thanks for the hint, but the htaccess is correct. Could it be an other cause after updating? 

 

Friendly regards, Robert

nicholas
Akeeba Staff
Manager

Can you please confirm in no uncertain terms that you deleted the .htaccess as I told you and the problem remained? I never ask you to do something just for fun. It's a critical data point in troubleshooting. When your response implies that you didn't even try what I suggested I can no longer help as you are denying me the information I need to do my job.

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!

becksteiner

Hello, 

Thank you for the tips, but the problem was with the restoring the database. I uploaded an other database back-up and had again access to the site. I then had you reinstall the  last jooomla update and some other components but now the site is working again. 

 

Friendly regards, Robert 

nicholas
Akeeba Staff
Manager

Okay, you'd said the error was at the end of the restoration and your server log only said there's a PHP timeout. If that happens again please file a ticket under the Site Restoration support category and I'll probably have you send me the backup so I can take a better look at what is really going on.

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: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

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!