SimplePortal

Support => Install and Upgrade => Topic started by: Anastasie on May 01, 2015, 01:13:30 PM

Title: Need Help - Upgrading from 2.3.5 to 2.3.6
Post by: Anastasie on May 01, 2015, 01:13:30 PM
Ok - so I was following the instructions to uninstall 2.3.5 prior to installing 2.3.6 on the test version of my forum.  I did see error messages before uninstalling like previous posters.

Somehow when I went to upload and install 2.3.6, I inadvertently installed it on my live forum instead of the test forum. 

Now my live forum is completely dead and I can't do anything.  I hadn't uninstalled 2.3.5 from the live forum yet since I wasn't intending to upgrade it until I verified it was working on my test forum. 

I went into mySQL database and uploaded my forum back-up and my site is still down.

I'm not sure what to do at this point to fix this.  Please help.

I can't get my test forum or live forum to load at this point.  :'(

Quote
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Title: Re: Need Help - Upgrading from 2.3.5 to 2.3.6
Post by: ♦ Ninja ZX-10RR ♦ on May 01, 2015, 03:19:07 PM
Now my live forum is completely dead and I can't do anything.  I hadn't uninstalled 2.3.5 from the live forum yet since I wasn't intending to upgrade it until I verified it was working on my test forum.
So you installed 2.3.6 onto 2.3.5, is it correct? Out of curiosity... How could you possibly do that? The package manager should have warned you about tons of things failing...

I went into mySQL database and uploaded my forum back-up and my site is still down.
Please distinguish between FORUM and DATABASE, they are 2 different things. The database backup is not that important, it's the forum that is damaged as of now. You need to upload the backup of the FORUM, not the database. You should find your backup in your /forum root/Packages/backups directory, upload the latest one that you have (before installing 2.3.6) and it should be back up in minutes.
Let me know what you come up with.

In the future, please be careful whether you edit your live site or test one, I use 2 different servers for that, a free host for the test site is very good since you don't pay for your tests and you can hack your files in the worst possible way, but you can always re-install the whole forum on the test site if something goes wrong.
Regards
Title: Re: Need Help - Upgrading from 2.3.5 to 2.3.6
Post by: Anastasie on May 01, 2015, 08:08:52 PM
I got both test and live forums restored.  When I tried to uninstall 2.3.5 from my test forum I got the following error messages so I didn't do it.  Not sure what I can do to fix this.

See attached screen captures.

I'm kind of nervous to screw this up again...
Title: Re: Need Help - Upgrading from 2.3.5 to 2.3.6
Post by: ♦ Ninja ZX-10RR ♦ on May 01, 2015, 08:26:13 PM
Attach those files and we will see what we can do ;) Good choice not to go on, too.
P.S.: your mods list would be appreciated, to have an idea of how many you got there.
Title: Re: Need Help - Upgrading from 2.3.5 to 2.3.6
Post by: Anastasie on May 01, 2015, 10:09:33 PM
here are the files
Title: Re: Need Help - Upgrading from 2.3.5 to 2.3.6
Post by: Chen Zhen on May 02, 2015, 12:31:53 AM
Anastasie,

Warning!:
All mods and manual edits will be nullified and your forum will be set to its default state.
Database entries will remain unaffected with this procedure.



Imo do the following:

Instructions for SMF upgrade: http://wiki.simplemachines.org/smf/Upgrading
Instructions for repair_settings: http://wiki.simplemachines.org/smf/Repair_settings.php

When your forum is botched and you do not know what to do, use the upgrade package as instructed above.

Regards.
Title: Re: Need Help - Upgrading from 2.3.5 to 2.3.6
Post by: ♦ Ninja ZX-10RR ♦ on May 02, 2015, 12:58:27 AM
I wouldn't want to disagree but it's a simple edit in all tree files... The one method you provided Chen Zhen would kill all the mods and custom themes and the OP would have to start over to customize his forum, please remember it when you link such things (I know that there is the link to the upgrade page but if it was me and I saw my mods wiped after doing that procedure I'd have been very very angry, because I could have followed it step by step, without clicking on the last links).

That said, Anastasie, your SMF arcade version is being the issue because it breaks the uninstall procedure in all 3 points :| I edited the files for you, however keep in mind that the aforementioned arcade mod might give you more headaches, I'd suggest to uninstall SP, try to update that arcade mod as Chen Zhen said, and THEN update SimplePortal again and see what you come up with.

If you want to try this way (more tricky but you won't lose any customizations) I have edited all the files for you. If you choose this path you have (once again, please remember the order of these is CRUCIAL):
1) Put your forum into maintenance mode (optional but suggested).
2) Replace the files you have now with the ones I provided.
3) Uninstall 2.3.5 and IGNORE the 3 errors, they will be still there because I have already removed the code in those places, so the package manager can't find it and throws the error as before, but this time you can ignore it ;)
4) Uninstall that arcade mod
5) Update it, or try to update it
6) Install SimplePortal 2.3.6 :)
7) Let us know what you come up with ;)

EDIT: ups, had forgot the files! ;D
Title: Re: Need Help - Upgrading from 2.3.5 to 2.3.6
Post by: Chen Zhen on May 02, 2015, 01:36:10 AM
♦ Ninja ZX-10RR ♦,

  For those that seem to not be PHP savvy I tend to give instruction on using the upgrade package in an attempt to have them learn a simple method of repairing their forum without outside help. I figure it will help them in the future if something similar happens for any modification or possible forum failure/crash.

  You are correct whereas I should have first stated that all mods and manual edits will be nullified and that the forum will be set to its default state except for their database being fully intact. Imo due to the details provided in this specific case it looks as though there are only 5 mods installed with no manual edits. Installing the mods as instructed (the last process) would have their forum fixed and updated.

\\ last post has been updated with a warning regarding upgrade package usage

Regards.
Title: Re: Need Help - Upgrading from 2.3.5 to 2.3.6
Post by: ♦ Ninja ZX-10RR ♦ on May 02, 2015, 03:20:50 AM
Thanks :) Me instead I updated the last post because erh... I had forgot to attach the files ;D *blushes*
Title: Re: Need Help - Upgrading from 2.3.5 to 2.3.6
Post by: Anastasie on May 02, 2015, 09:24:57 AM
Thank you both for the help - I will see if I can make it work on my testing forum.
I honestly don't know if the arcade has an upgrade - I don't think it's been updated in quite a few years.
Title: Re: Need Help - Upgrading from 2.3.5 to 2.3.6
Post by: Chen Zhen on May 02, 2015, 12:05:12 PM
Anastasie,

The link that I left in the last post is an updated version although you can still use that older version if you wish.
ref. http://web-develop.ca/index.php?action=downloads;sa=downfile&id=5

Regards.
SimplePortal 2.3.8 © 2008-2024, SimplePortal