Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: klausp45 on July 23, 2022, 05:26:28 AM

Title: stuck at upgrade to 2.1.2
Post by: klausp45 on July 23, 2022, 05:26:28 AM
Hi,
I am trying to upgrade my smf forum 2.0.19 to 2.1.2 for some days now. First I got stuck several times during the upgrade-process via upgrade php. The process didn't throw out any errors, just stopped at different steps.
Now I doubbled the server-resspurces to 2 cpu and 4 gb ram. It's running smoother now and gets stuck at following steps everytime I restart it. There are no errors in server logs. Clicking "try again" doesn't do anything.

Quote"Cleaning up after old UTF-8 languages" (59 of 71)
Update the members' languages...done
Server has not responded for 30 seconds. It may be worth waiting a little longer before trying again. Click here to try again.

After the normal upgrade via "large upgrade" failed, I copied the "full install" files to a new dir, copied the root-files from the "large upgrade" over it and linked them via repair-settings (fixed also dir-settings) to a "fresh" sql-db from the 2.0.19 system, to get sure nothing is messed up.

php: 8.1
db:    MariaDB 10.3.35

Thanx for any help.
Title: Re: stuck at upgrade to 2.1.2
Post by: marcosbr on July 23, 2022, 06:47:15 PM
Just a suggestion...
Leave 2.0 out of PHP 8...
Update and switch to PHP8...
Title: Re: stuck at upgrade to 2.1.2
Post by: Arantor on July 23, 2022, 06:55:39 PM
I don't believe 8.1 is officially supported yet, try with 8.0.
Title: Re: stuck at upgrade to 2.1.2
Post by: klausp45 on July 24, 2022, 05:48:04 AM
Thanks for the answers.
I tried the upgrade now with php 7.4, 8.0, 8.1. Nothing worked. All stuck at the same step.
Title: Re: stuck at upgrade to 2.1.2
Post by: SpacePhoenix on July 24, 2022, 06:27:01 AM
Don't know if MariaDB has one, anything listed in the slow query log?
Title: Re: stuck at upgrade to 2.1.2
Post by: klausp45 on July 24, 2022, 07:51:35 AM
M
Quote from: SpacePhoenix on July 24, 2022, 06:27:01 AMDon't know if MariaDB has one, anything listed in the slow query log?
Thank you. My hoster will enable it. Will get results later.

The settings.php upgrade info is:
"{"id":1,"name":"Administrator","pass":,"started":1658611637,"updated":1658663306,"version":"2.0.15","step":3,"substep":340,"skip_db_substeps":false,"main":2}"

anyone knows, what this substep 340 is?
Title: Re: stuck at upgrade to 2.1.2
Post by: klausp45 on July 25, 2022, 05:26:05 PM
couldn't solve the problems with the upgrade via browser.
but everything worked from commandline now.
Title: Re: stuck at upgrade to 2.1.2
Post by: Steve on July 25, 2022, 06:04:40 PM
Quote from: klausp45 on July 25, 2022, 05:26:05 PMeverything worked from commandline now
Meaning what? Your issue is resolved?
Title: Re: stuck at upgrade to 2.1.2
Post by: Arantor on July 25, 2022, 06:12:38 PM
The command line upgrader is more reliable than the web one, chances are the OP is actually all upgraded now.
Title: Re: stuck at upgrade to 2.1.2
Post by: Doug Heffernan on July 26, 2022, 04:18:23 AM
Marking this as solved in that case. @klausp45, if we misread/misunderstood you and the upgrade is not completed and you will still need assistance, please feel free to mark it as unsolved anytime
Title: Re: stuck at upgrade to 2.1.2
Post by: klausp45 on August 07, 2023, 12:45:40 PM
Sorry for not getting back. Yes, the problem was solved by using upgrade,php at the commandline.
Title: Re: stuck at upgrade to 2.1.2
Post by: Doug Heffernan on August 07, 2023, 01:39:57 PM
Quote from: klausp45 on August 07, 2023, 12:45:40 PMSorry for not getting back. Yes, the problem was solved by using upgrade,php at the commandline.

No problem. Glad to see that the issue has been solved.