Support

Akeeba Backup for Joomla!

#23169 unable to restore 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 on Wednesday, 07 October 2015 17:20 CDT

user88103
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 upload kickstart.php up to my new server. i set up it up pull my backup from s3. it pulls everything and it says complete. blue button shows up and says reload kickstart. then it starts all over again. does nothing.

your documentation is horrible. https://www.akeebabackup.com/documentation/quick-start-guide/using-angie.html

tell s me nothing. The "run the installer" button never shows up. What installation directory do i upload?

i've spent 24 hours trying to restore a site and still can't and i'm a technical person. what of money upgrading to pro

dlb
The installation folder is inside your backup archive. It contains the program files to perform your restore (ANGIE) along with your database dump. It needs to be deleted after your restore is complete, your site will not run with the installation folder present.

From your description, it sounds like the extraction is complete. If that is the case, you can simply enter the address of your site in your browser and you will be redirected to the installer. You can pick up from there.

It makes me nervous that Kickstart is looping like that. Are you getting any kind of error message? If the archive is not completely extracted then we can't go on to the installer.


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)

user88103
i've set every directory to 777 yet i keep getting error messages like

AN ERROR OCCURRED
Could not open /var/www/affluentconcierge.me/html/kicktemp/kickstart-1441275100.dat for writing.

i can't restore whatsoever

nicholas
Akeeba Staff
Manager
First please let me point out that when Kickstart fails it gives you a link to the relevant troubleshooter page. Therefore you neither have to be a technical person nor spend countless hours reading the VERY detailed documentation that covers just about every possible, improbable and almost impossible case that our experience of 23,000+ tickets and 9 years has brought into our attention (and these are just the ones that are impossible to deal automatically / programmatically).

As you can read on that page the solution is rather simple.

Before starting Kickstart, you will have to do some preparatory work. Using your FTP client application, create a directory named kicktemp inside the same directory kickstart.php is in. For example, if kickstart.php is in public_html directory you have to create the kicktemp directory inside the public_html directory. Using your FTP client application give that directory (that is: the kicktemp directory) 0777 permissions (read, write and browse/execute to owner, group and others). Don't worry, we will get rid of that directory later.

When Kickstart starts, set the Write to files option to Use FTP. In the fields which appear below you have to supply your FTP host name (usually it's localhost, 127.0.0.1 or the FTP hostname provided to you by your host), the FTP username and password provided by your host and the FTP directory.

In order to determine the proper FTP directory, do this. Connect to your site using FileZilla. Navigate inside the folder Joomla! is installed in. Usually it's a directory named public_html, htdocs, www or something similar. If unsure don't ask us, ask your host. Now, on the right-hand pane you will find the FTP path. Most likely it will look something like /public_html. Copy this and paste it into the FTP Directory text box in Kickstart.

In the Temporary Directory box you see that there is already something written in it. Append (do not replace!) /kicktemp to it. For example, if it was reading /home/users/myuser/public_html it should now read /home/users/myuser/public_html/kicktemp. Click on the Check button next to it. It should tell you that the directory is readable. If not, retry the above procedure and don't skip any steps. Then click on the Test FTP Connection button. It should tell you that the FTP connection was established. If not, ask your host if they do support sites writing to themselves using FTP. If they don't you'll have to manually extract the archive locally (e.g. using Akeeba eXtract Wizard) and upload the files manually. In this case, please consult the Quick Start Guide for further instructions.

Alternatively, you can use the Hybrid write mode, as documented in Kickstart's documentation, which does most of the above for you as long as you provide the correct FTP connection information.

Now, as to why this happens.

This issue has to do with how your host has set up their server. Kickstart or any PHP script, including Joomla! itself, that requires to write files to the server needs adequate permissions for PHP itself to be able to write to files on your server. On most hosts this is not a problem since PHP runs under the same user as your user account, either through FastCGI or (if you have a really old server) through suPHP.

On an unfortunately configured host, like the one you are restoring to, PHP runs as an Apache module, therefore under the same user as your server making files unwriteable to PHP. This is why you need to use the FTP layer in Kicsktart AND you will need to do the same after restoration with Joomla! itself. That's how web server works.

For very detailed information on how users, groups, permissions and FTP works on your server please consult the very detailed Security Information chapter of our documentation. It is a long read but it will help you understand the technical aspects which make objectively impossible for software to deal with these issues without your providing of additional information.

Regarding your comment about your purchase please do let me remind you that you are paying us for our software and support. We did provide our support promptly. However you need to keep in mind that we are NOT your host and we cannot be held responsible for your server's misconfiguration. It is objectively impossible for unprivileged user space software –like the one running on a shared server– to modify privileged server configuration. This is essentially what you ask of us. Objectively, this is impossible. The only thing you can do is explore better hosting opportunities for your sites. For this, we strongly recommend the hosting companies SiteGround and Rochen.

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!

user88103
I get a notice to run the installer. once i click on run installer, it shows me 404 file not found.

Then it removes "run installer" and shows me "clean up"

as i look into the installation folder it is incomplete. i've had the professional license for a week. Since then I have not been able to restore backups due to these errors

user88103
all i get is this screen when i use hybrid mode

user88103
when i finally get to install, i get a database error i can't get pass. i tried local and remote database with no progress

nicholas
Akeeba Staff
Manager
Then it removes "run installer" and shows me "clean up"


Yes, that's what it's supposed to do. But also, it opens a new tab or window with the installer. If you do not see that other window then you have a popup blocker. In this case just open a new window and visit installation/index.php on it. Please do keep in mind that at this point Professional or Core has no relevance because the code you've run so far (Kickstart) is common. Also note that this comes AFTER the step where you told me you have a problem.

as i look into the installation folder it is incomplete.


Yes, it is. I think the problem comes from much earlier, in the backup process. Let's rule that out. Create a new backup profile and run the Configuration Wizard. Take a backup with this profile and try to restore it.

all i get is this screen when i use hybrid mode


*sigh* Your server has some restrictions we can't work around with the Hybrid mode. If the above doesn't work we'll have to extract the archive manually. In this case I will probably have to take a look directly on your server to understand exactly what restrictions you have there.

when i finally get to install, i get a database error i can't get pass. i tried local and remote database with no progress


That tells me that you do have a problem during backup. Please do follow the instructions to create a new backup profile and use it for a new backup.

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!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!