JosNem Posted January 14 Share Posted January 14 Little disclaimer: Our IT guy sadly passed away a while ago. He set up our PS shop and took care of all things web-related. I'm a layman but I have to take care of our system for the time being... So before Christmas I had to install a new module, but this required me to upgrade my PS version... I upgraded using the "1-click upgrade"-module which was already installed. I'm usually quite cautious with these things, but since 1CU offers to back up your data before the upgrade, I figured it'd be alright... The upgrade itself worked, but some lines of texts were shifted and the shop site looked pretty wonky. So I immediately did a rollback to the backup 1-click upgrade had made. No error messages or anything, but now both the shop page and backend access are completely inaccessible! Took me a while, but eventually I figured out that our domain provider should have backups - which they did... Thing is, we're a pretty old company and there are a ton of subdomains etc. making everything quite confusing. There were 3 database backups in total and because of confusuion with the naming convention I mistakenly rolled back the wrong website. By the time I'd noticed my mistake (this all happened around Christmas break) our provider didn't have the actually relevant backup anymore. Our shop+backend are still inaccessible. I do have access to the relevant FTP files, but no idea how much that helps. Is there any way to fix this? Does PS maybe do its own backups that I could maybe access via FTP? This one's on me, but I need help guys. Link to comment Share on other sites More sharing options...
ComGrafPL Posted January 15 Share Posted January 15 How the situation is now? BO works but with wrong db or all is offline? PS doesnt have any backup. Only rollback on 1-click. So wrong db was restored for store? Link to comment Share on other sites More sharing options...
JBW Posted January 15 Share Posted January 15 10 hours ago, ComGrafPL said: PS doesnt have any backup. Only rollback on 1-click. 1-clickupgrade stores its backup on the server, can be downloaded by FTP and restored manually (files + DB). But first thing to try would be to actiate debug mode and check whats wrong with the actual shop. Link to comment Share on other sites More sharing options...
JosNem Posted January 16 Author Share Posted January 16 On 1/15/2025 at 9:58 AM, ComGrafPL said: How the situation is now? BO works but with wrong db or all is offline? PS doesnt have any backup. Only rollback on 1-click. So wrong db was restored for store? Hey, thanks for answering. If BO means backend, then yes, that's also offline sadly. The 2 DBs I restored had nothing to do with the actual website, I'm pretty sure. I think they might've been set up for testing purposes. The crash happened when I rolled back to the 1-click-backup, but since there were no error messages, I assume that's the data the website is currently (not) working with. Link to comment Share on other sites More sharing options...
JosNem Posted January 16 Author Share Posted January 16 14 hours ago, JBW said: But first thing to try would be to actiate debug mode and check whats wrong with the actual shop. Is that possible without backend access? Link to comment Share on other sites More sharing options...
JBW Posted January 16 Share Posted January 16 1 hour ago, JosNem said: Is that possible without backend access? Sure, set _PS_MODE_DEV_ to true in file config\defines.inc.php Link to comment Share on other sites More sharing options...
JosNem Posted January 16 Author Share Posted January 16 1 hour ago, JBW said: Sure, set _PS_MODE_DEV_ to true in file config\defines.inc.php Dumb questions only from me, but where can I view the debug logs? And how would I need to change this line of code?: /* Debug only */ if (!defined('_PS_MODE_DEV_')) { define('_PS_MODE_DEV_', false); } I was expecting a regular bool, like: _PS_MODE_DEV_ = false; Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now