Website down and "An unexpected error occurred" after upgrading to 5.5.2.1
Permalink
After logging in to the "/login"-page and entered the dashboard and I got a message saying I was running and old version and should upgrade. I took a backup (so I go the dbu_mynumbers.sql"-file) and runned the upgrade, and the site just went down...
So now, when entering the webpage it says: "An unexpected error occurred. Invalid task permission", and when trying to enter the dashboard at "/index.php/dashboard" the same error message is three times in a row.
How do I restore my site? (I know html, but I´m no php-guru, I use the Concrete since I think it´s an great and easy way of running websites, that´s about it...)
Please help me!
Webpage:http://www.anderssonssmide.se
So now, when entering the webpage it says: "An unexpected error occurred. Invalid task permission", and when trying to enter the dashboard at "/index.php/dashboard" the same error message is three times in a row.
How do I restore my site? (I know html, but I´m no php-guru, I use the Concrete since I think it´s an great and easy way of running websites, that´s about it...)
Please help me!
Webpage:http://www.anderssonssmide.se
First off, well done on taking a backup first. So many of those with upgrade problems have failed that critical stage.
Before reverting, you could try running the upgrade process again manually. There are instructions on how to do that in a file within the upgrade zip package.
Then as mhawke says, you can comment out the line in config/site.php to try running your site using the pre-upgrade version of c5. However, there could be some database changes from the upgrade process, so if that does not work you will also need to import the database backup you made, probably using phpMyAdmin to run the import if you cant get at the dashboard.
Before reverting, you could try running the upgrade process again manually. There are instructions on how to do that in a file within the upgrade zip package.
Then as mhawke says, you can comment out the line in config/site.php to try running your site using the pre-upgrade version of c5. However, there could be some database changes from the upgrade process, so if that does not work you will also need to import the database backup you made, probably using phpMyAdmin to run the import if you cant get at the dashboard.
Are you guys like the best!!!!! Big thanks!!!!
I use the #-solution that mhawke mentioned, since I only could access the files by FTP, and now I can access the webpage and dashboard by http again. Everything looks just like before, and I still got this message that I´m running 5.4.1.1 and need to upgrade... but no, I won´t do that this time...
:-)
Now, that I can access the webpage and changed a file, do I need to to some restore or delete some files, or can I just go on like before?
I use the #-solution that mhawke mentioned, since I only could access the files by FTP, and now I can access the webpage and dashboard by http again. Everything looks just like before, and I still got this message that I´m running 5.4.1.1 and need to upgrade... but no, I won´t do that this time...
:-)
Now, that I can access the webpage and changed a file, do I need to to some restore or delete some files, or can I just go on like before?
That is probably a sign that the upgrade process didn't fully complete, because completion of the upgrade would have changed that info in the database.
If you want to try the upgrade again, the safest way is to make a clone of the site on a development system and text/practice the upgrade on that clone. Then, once all issues are known and resolved, repeat the process on the actual site (with backups at all stages, just in case).
If you want to try the upgrade again, the safest way is to make a clone of the site on a development system and text/practice the upgrade on that clone. Then, once all issues are known and resolved, repeat the process on the actual site (with backups at all stages, just in case).
PS. If it is running happily, you can continue as before. However, bear in mind that upgrades do things with the database. So check through everything thoroughly (do some edits, run some jobs, check the log for errors). If you get any glitches, you should restore the pre-upgrade database backup you made from Backup/Restore.
Big thanks for your tips JohntheFish!
I learned me a lesson the hard way.
I´ll be more careful upgrading in the future....
:-)
I learned me a lesson the hard way.
I´ll be more careful upgrading in the future....
:-)
JohntheFish has created a great add-on that eases the process of backing up or moving a site. Check it out:
http://www.concrete5.org/marketplace/addons/backup-voodoo/...
http://www.concrete5.org/marketplace/addons/backup-voodoo/...
One of the reasons why your update failed may be because you tried to upgrade to 5.5.2.1 from version 5.4.1.1
To do this you must upgrade sequentially from 5.4.1.1 through 5.4.2.2 and then make the leap to 5.5.2.1
To do this you must upgrade sequentially from 5.4.1.1 through 5.4.2.2 and then make the leap to 5.5.2.1
Im having the same issue my website is down, but I can go anywhere as there is no edit or anything showing, have I broken it?
so it looks like this:
What version were you upgrading from?