News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Upgrading from 2.0.19 to 2.1.2 problem

Started by gloudiesaurus, June 24, 2022, 04:13:53 AM

Previous topic - Next topic

gloudiesaurus

I'm trying to upgrade www.gppits.net/forum from 2.0.19 to 2.1.2.

When I use package manager I get this message:
QuoteAn Error Has Occurred!
Package upload failed due to the following error:
"Although the package was downloaded to the server it appears to be empty. Please check the Packages directory, and the "temp" sub-directory are both writable. If you continue to experience this problem you should try extracting the package on your PC and uploading the extracted files into a subdirectory in your Packages directory and try again. For example, if the package was called shout.tar.gz you should:
1) Download the package to your local PC and extract it into files.
2) Using an FTP client create a new directory in your "Packages" folder, in this example you may call it "shout".
3) Upload all the files from the extracted package to this directory.
4) Go back to the package manager browse page and the package will be automatically found by SMF."

I tried to upload all extracted files from the extracted package into the "package directory" but SMF doesn't find version 2.1.2?

What can I do? Thanks!

Arantor

Please see the upgrade guide - https://wiki.simplemachines.org/smf/Upgrading

Going up a major version such as 2.0 to 2.1 is too big for the package manager to handle.

Doug Heffernan

Indeed, major upgrades, such as going from one serie to another, as in this case, should be done manually and not through the Package Manager.

Arantor

The package manager fails *hard* on doing so and can leave the forum in a completely broken state, possibly almost irrecoverable state. It's simply too big a job.

Kindred

However, as this is an ongoing confusion, maybe we should add a package identifier file which doesn't do the upgrade but does fail gently with a clear error/instruction......
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Arantor


Steve

He has them now and then. j/k Kindred!  ;D
Please do not PM me for support.

Arantor

I miss the days when support issues were not just things to explained by a link to the docs, but a thing you could improve in the code and solve them once and for all.

gloudiesaurus

I followed the steps from https://wiki.simplemachines.org/smf/Upgrading.

Made back ups, unzipped all files, uploaded them with FTP into the "forum" folder.
Now I want to run upgrade.php, but the page is completely blanco?

What I'm doing wrong?

Doug Heffernan

Quote from: gloudiesaurus on June 25, 2022, 09:01:54 AMI followed the steps from https://wiki.simplemachines.org/smf/Upgrading.

Made back ups, unzipped all files, uploaded them with FTP into the "forum" folder.
Now I want to run upgrade.php, but the page is completely blanco?

What I'm doing wrong?

What do you mean by blanco, a blank page?




Doug Heffernan

Quote from: gloudiesaurus on June 25, 2022, 09:14:36 AMPHP 5.6

There lies the problem. You must upgrade your php to at least 7.4. as php 5.x is not supported by smf 2.1.x. After you have upgraded the php try the upgrader again and it should load fine.

m4z

Quote from: Kindred on June 24, 2022, 07:13:39 AMHowever, as this is an ongoing confusion, maybe we should add a package identifier file which doesn't do the upgrade but does fail gently with a clear error/instruction......

I believe https://github.com/SimpleMachines/SMF/issues/7379 goes in a similar direction.
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!
<werbung>Meine Freundin hat ihr erstes Buch veröffentlicht!</werbung>

Doug Heffernan

@gloudiesaurus, I am following up on this. Did the upgrade of php solve the issue?

gloudiesaurus

Quote from: Doug Heffernan on June 28, 2022, 10:47:53 AM@gloudiesaurus, I am following up on this. Did the upgrade of php solve the issue?

No I still got the same problem

Kindred

Same problem,  meaning exactly what?
Let's try again

What version of smf I'd currently running, what version of php?

What version are you trying to upgrade to?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

gloudiesaurus

SMF version 2.0.19
PHP 7.4.

This is what happens when running upgrade.php (for version :


Warning: Use of undefined constant mysql - assumed 'mysql' (this will throw an Error in a future version of PHP) in /home/gppitsnet/domains/gppits.net/public_html/forum/Settings.php on line 285

Notice: Trying to access array offset on value of type null in /home/gppitsnet/domains/gppits.net/public_html/forum/Themes/default/languages/index.dutch.php on line 113
SMF-upgradescript
Simple Machines Forum
Voortgang

    Stap 1: Login
    Stap 2: Upgrade Options
    Stap 3: Backup
    Stap 4: Database Changes
    Stap 5: Convert serialized strings to JSON
    Stap 6: Convert to UTF-8
    Stap 7: Delete Upgrade.php

Totale voortgang
4%
Voortgang van stap
0%
0%
Verstreken tijd: 3 minuten, 8 seconden.
Backup Database
Please wait while a backup is created. For large forums this may take some time!
Completed 0 out of 71 tables.
Current Table: "admin_info_files"

Backup Complete! Click Continue to Proceed.

When clicking on continue nothing changes.

gloudiesaurus

And this is the message now when visiting gppits.net/forum

Warning: Use of undefined constant mysql - assumed 'mysql' (this will throw an Error in a future version of PHP) in /home/gppitsnet/domains/gppits.net/public_html/forum/Settings.php on line 285

Upgrading the forum...
We zijn spoedig terug!

Advertisement: