Support

Akeeba Backup for Joomla!

#40524 skip 1st file restoration step

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
3.10.12
PHP version
7.4
Akeeba Backup version
8.3.3

Latest post by tampe125 on Thursday, 04 April 2024 11:11 CDT

HDcms

Hello
I need to restore a large site >8GB of files on shared hosting.
I already have this with the same files another time, unfortunately I have to do it several times to migrate this big site to joomla 4.4
It took almost 8 hours. I saw the progress bar was almost at the end (I see the files/folders under the web directory).
Now when I go back to see if the restoration of the files is finished, I find myself on the page which asks me to restart the restoration of the files :-(
How to go to the next page to avoid spending 8 hours waiting for the restoration.

Regards

tampe125
Akeeba Staff

Hello,

first of all, are you talking about the extraction or the restoration step? Looking at what you wrote, I think you're talking about the extraction, the part that is handled by Kickstart. If that's the case, once the extraction is completed, you can simply go to the root of your website, where you'll be redirected to the /installation folder. There you can restore your website.

Please remember that once completed, you'll have to manually rename your .htaccess.bak file to .htaccess and delete the installation folder. Those tasks are performed by the Clean Up task in Kickstart, so you'll have to do that manually.

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

HDcms

Hi

Indeed the beginning is the extraction of the jpa files.
I went to the root of the site which returned me to the /installation/ folder
I continued with the database installation and then completed the installation.
I didn't need to rename the htaccess file, I got the right data
Unfortunately I have an error:

"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at [email protected] 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."

By putting the start public $debug = '1'; mode on, nothing changes :-(

regards

tampe125
Akeeba Staff

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 hosting control panel.

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 Development. 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 remove 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.

If that fails again, remove the php.ini file and create a file named .user.ini (note that it's dot user dot ini, the leading dot is important) with the contents:

display_errors=on
error_reporting=E_ALL

and upload it into your site's root and your site's administrator directory. Wait for 10 minutes. Waiting is important, .user.ini files do not apply immediately. 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.

If you still get a white page, delete the php.ini or .user.ini file your created and consult your host. They have to provide you the PHP error message, file and line it occurs (along with the error's backtrace) themselves.

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.

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

HDcms

Hi

There was indeed a problem in the htacess
One works correctly but the other has 2 strange behaviors
I have an error "HTTP ERROR 500โ€‹" on the front-end side
If I want to put debug mode on the admin side, I cannot save the parameter change (>I cannot clear the cache or any other saving operation either
If you have a solution, otherwise I will do the reinstallation

tampe125
Akeeba Staff

In this case the best thing to do is to replce your current .htaccess file with Joomla default one. Double check that your website is working with the default .htaccess file.

After that, get inside the Htaccess Maker and set to Off the option "Disable client-side risky behavior..." both for frontend and backend. Usually it can create issues on some hosts.

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
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!