Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: kittonium on August 26, 2024, 11:25:05 PM

Title: 2.0.19 Upgrade Hangs
Post by: kittonium on August 26, 2024, 11:25:05 PM
Hello everyone! I haven't posted in 6 or 7 years or so, but still running the best forum software.

I've been thinking of upgrading to 2.1 but unfortunately it isn't going smoothly,  might be something dumb but it's hanging at this step:

Overall Progress
44%
Step Progress
61%
0%
Time Elapsed: 0 mins, 43 seconds.
Database Changes
Executing database changes
Please be patient - this may take some time on large forums. The time elapsed increments from the server to show progress is being made.
Executing upgrade script 2 of 2.
Executing: "Adding support for alerts" (15 of 71 - of this script)


If you go back to the main page, PHP still works, but it says this:

Thank you for choosing to upgrade to SMF 2.1.4. All files appear to be in place and the upgrade can now proceed.
Warning!

"Kitster" is running the upgrade script.

The upgrade script has been running for the last 8 minutes and 8 seconds.

The upgrade script was last updated 7 minutes and 25 seconds ago.

We recommend that you do not run this script unless you are sure that KittoniuM has completed their upgrade.

You can choose to either run the upgrade again from the beginning or continue from the last step reached during the most recent upgrade.


Is there any other way I can just setup a fully new 2.1 install - and then have some kind of import old db script do the job?



EDIT: "click here to try again" does nothing but hang forum


Title: Re: 2.0.19 Upgrade Hangs
Post by: Aleksi "Lex" Kilpinen on August 27, 2024, 01:44:57 AM
Time Elapsed: 0 mins, 43 seconds. I would just get some coffee and let it do it's thing until it advances or actually fails, or atleast for like 15 minutes. It seems like it is running. The 30 second notice is not an error.
Title: Re: 2.0.19 Upgrade Hangs
Post by: kittonium on August 27, 2024, 01:19:24 PM
Quote from: Aleksi "Lex" Kilpinen on August 27, 2024, 01:44:57 AMTime Elapsed: 0 mins, 43 seconds. I would just get some coffee and let it do it's thing until it advances or actually fails, or atleast for like 15 minutes. It seems like it is running. The 30 second notice is not an error.


It's definitely broken, I had it on for an hour
Title: Re: 2.0.19 Upgrade Hangs
Post by: Arantor on August 27, 2024, 01:28:22 PM
How big is your forum?
Title: Re: 2.0.19 Upgrade Hangs
Post by: Sir Osis of Liver on August 27, 2024, 04:40:07 PM
Quote from: kittonium on August 26, 2024, 11:25:05 PMIs there any other way I can just setup a fully new 2.1 install - and then have some kind of import old db script do the job?

That's what upgrade.php does, it updates 2.0 database to make it compatible with 2.1.  A 2.0 database will not work in 2.1.
Title: Re: 2.0.19 Upgrade Hangs
Post by: Kindred on August 27, 2024, 09:00:07 PM
One of my forums took several hours to complete the upgrade ...  its a pretty large forum, which has existed since Yabb days, so the time is expected
Title: Re: 2.0.19 Upgrade Hangs
Post by: kittonium on August 29, 2024, 01:04:47 AM
Quote from: Arantor on August 27, 2024, 01:28:22 PMHow big is your forum?
Nice to see you again Arantor and Kindred, I remember seeing you guys here when I was asking questions 7+ years ago lol...
The database is 70mb
Title: Re: 2.0.19 Upgrade Hangs
Post by: Sir Osis of Liver on August 29, 2024, 05:05:52 PM
Was forum language set to english before you started upgrade?  Have you tried restarting upgrade from beginning?
Title: Re: 2.0.19 Upgrade Hangs
Post by: kittonium on August 31, 2024, 01:13:38 AM
Quote from: Sir Osis of Liver on August 29, 2024, 05:05:52 PMWas forum language set to english before you started upgrade?  Have you tried restarting upgrade from beginning?


The language error'd out, even though I only have english.. I just pressed SKIP error to get to this part.

Yes I've tried restarting.
Title: Re: 2.0.19 Upgrade Hangs
Post by: Sir Osis of Liver on August 31, 2024, 04:28:06 PM
You can try running Table Maintenance on all tables in phpmyadmin, but don't think that will help.  A 70mb database should upgrade in a few minutes.  Php version? Logging any server errors?