Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > Bugs > Topic : Restore previously deleted installation from backup not working



Threaded Mode | Print  

 Restore previously deleted installation from backup not working, Unable to restore (7 Replies, Read 20782 times)
deimos
Group: Member
Post Group: Newbie
Posts: 5
Status:
Hello!

Steps to reproduce:
  1. Install Wordpress
  2. Backup this installation
  3. Delete this istallation
  4. Restore this istallation

Expected result: Installation restored
Actual result: Restore failed with the error:

Error while opening {wp.26_21206.2018-12-14_07-49-12} in write binary mode

Softaculous Version : 5.1.3

Reproduces on several servers, including a completely freshly installed clean VPS.

Will appreciate any help.
IP: --   

Restore previously deleted installation from backup not working
salman
Group: Softaculous Team
Post Group: Working Newbie
Posts: 50
Status:
Hi,

We have replicated the issue and fixed it, i have attached the patch file, please unzip the patch file you will get restore.php in respective includes folder , upload it /Path/To/softaculous/includes/main/
You can refer the Softaculous path according to panels here:http://softaculous.com/docs/Immediate_Synchronize_with_Softaculous_Servers

Edited by Moderator : December 14, 2018, 3:00 pm
IP: --   

Restore previously deleted installation from backup not working
deimos
Group: Member
Post Group: Newbie
Posts: 5
Status:
Hello salman,

Thank you for your quick response. Unfortunately after I replace the 'restore.php' with the files in your attachment, the 'restore' button redirects me to blank page:

https://sandbox:2083/cpsessXXXXX/frontend/paper_lantern/softaculous/index.live.php?act=restore&restore=wp.26_74255.2018-12-14_14-32-25.tar.gz

Files are 644, owned by root. Are there any other tweaks required?
IP: --   

Restore previously deleted installation from backup not working
Moderator
Group: Universal Moderator
Post Group: Newbie
Posts: 17
Status:
Hi,

I have attached the file again with correct structure , please unzip it at
/usr/local/cpanel/whostmgr/docroot/cgi/softaculous/

Edited by Moderator : December 14, 2018, 3:03 pm
IP: --   

Restore previously deleted installation from backup not working
deimos
Group: Member
Post Group: Newbie
Posts: 5
Status:
Hello,

Let me clarify the exact steps:

1) I replace the old restore.php with the new ones:
archive:/includeXX/main/restore.php -> /path/to/softaculous/includeXX/main/restore.php
2) I open cPanel Softaculous menu -> Backups & Restore -> Click on Restore icon
3) I get to the black page, backup not restored.

List of updated files:

-rw-r--r-- 1 root root 63986 Dec 14  2018 /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/includes52/main/restore.php
-rw-r--r-- 1 root root 50478 Dec 14  2018 /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/includes53/main/restore.php
-rw-r--r-- 1 root root 47555 Dec 14  2018 /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/includes56/main/restore.php
-rw-r--r-- 1 root root 57659 Dec 14  2018 /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/includes71/main/restore.php
IP: --   

Restore previously deleted installation from backup not working
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 4266
Status:
Hi,

We are releasing Softaculous 5.1.4 in a day or two with the fix.

If you want we can check your server and apply the patch again.

Please open a support ticket with the root details of your server :
https://www.softaculous.com/support/

-----------------------
SitePad Website Builder
Follow us on Twitter
IP: --   

Restore previously deleted installation from backup not working
salman
Group: Softaculous Team
Post Group: Working Newbie
Posts: 50
Status:
Hi,

We have just released the Softaculous 5.1.4 which includes this fix:

https://www.softaculous.com/board/index.php?tid=14798&title=Softaculous_5.1.4_Launched_in_Stable_branch
Please run the cron command to get the Softaculous latest version.



Edited by salman : December 18, 2018, 11:39 am
IP: --   

Restore previously deleted installation from backup not working
deimos
Group: Member
Post Group: Newbie
Posts: 5
Status:
Thank you, salman, Brijesh, everything works like a charm.

Appreciate your support.
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is July 15, 2019, 8:23 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.245