News:

Wondering if this will always be free?  See why free is better.

Main Menu

Trying to upgrade to 2.1.4 and getting an error

Started by bayonetbrant, June 06, 2025, 10:03:50 AM

Previous topic - Next topic

bayonetbrant

Hey folks,

I'm making a largish jump from 2.0.17 to the current 2.1.4 in the hopes that it helps clear up a couple of issues we're seeing, while we're also working with our host on some back-end solutions.

However, when trying to run the 2.1.4 "big" upgrade package, I get this error:

vsprintf(): Argument #2 ($values) must be of type array, string given
From what I'm seeing elsewhere in the forums, it might be related to the version of PHP we've got on the server?  But that thread from a few years ago and not sure if that solution still applies.

Any help would be great.

Thanks!

Kindred

Сл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."

shawnb61

2nd question: Did you try to upgrade via the package manager?  Or the upgrader?

Upgrading:
https://wiki.simplemachines.org/smf/Upgrading
A question worth asking is born in experience & driven by necessity. - Fripp

bayonetbrant

Quote from: Kindred on June 06, 2025, 10:20:15 AMwhat version of php is being used?

Looks like 8.3.20


Quote from: shawnb61 on June 06, 2025, 10:28:47 AM2nd question: Did you try to upgrade via the package manager?  Or the upgrader?

package manager



Illori

you cannot upgrade to 2.1.4 from 2.0.* using the package manager.

bayonetbrant

Quote from: Illori on June 06, 2025, 11:10:45 AMyou cannot upgrade to 2.1.4 from 2.0.* using the package manager.

well then, that kills that idea  8)

bayonetbrant

is there a 2.1.x that I can upgrade to w/ the package manager, and then bump up to 2.1.4?

I'm just trying to stick w/ the process I already know rather than puzzling thru a different one I'm not familiar with.


thanks!

Doug Heffernan

#7
Quote from: bayonetbrant on June 06, 2025, 11:18:33 AMis there a 2.1.x that I can upgrade to w/ the package manager, and then bump up to 2.1.4?

I'm just trying to stick w/ the process I already know rather than puzzling thru a different one I'm not familiar with.


thanks!

All large upgrades should be performed manually only. For more on how to perform such an upgrade please see the following link:

Upgrading SMF

Sir Osis of Liver

Don't believe 2.1.4 supports php 8.3, you should use 8.1 or 8.2.
When in Emor, do as the Snamors.
                              - D. Lister

bayonetbrant

Quote from: Sir Osis of Liver on June 06, 2025, 01:05:21 PMDon't believe 2.1.4 supports php 8.3, you should use 8.1 or 8.2.


OK. Let me check with the host about that.  I know there's a fairly simple way to do it, but I don't want to mess it up.  Thanks!

bayonetbrant

Quote from: Doug Heffernan on June 06, 2025, 11:41:07 AMAll large upgrades can be performed manually only. For more on how to perform such an upgrade please see the following link:

Upgrading SMF

that's what I was afraid of.  Thanks for the link!

shawnb61

Quote from: Sir Osis of Liver on June 06, 2025, 01:05:21 PMDon't believe 2.1.4 supports php 8.3, you should use 8.1 or 8.2.

I'm not aware of any such limitation.

Never had issues with 8.3.  I cut over to 8.4.5 for testing a while back.  Biggest problem with 8.4.x so far is other utilities, e.g., phpmyadmin.
A question worth asking is born in experience & driven by necessity. - Fripp

Sir Osis of Liver

I know it works ok in 8.3, but don't think it officially supports it.  Don't recall ever running an upgrade in 8.3, I guess there's no harm as long as database is backed up.
When in Emor, do as the Snamors.
                              - D. Lister

shawnb61

I always consult the wiki / Online Manual for version support info.

No restrictions are mentioned for 2.1 at this time.
A question worth asking is born in experience & driven by necessity. - Fripp

bayonetbrant

I think the current plan is to run a clean install of 2.1.4 and then restore the existing forum DB into it.

(fingers, toes, and eyes all crossed that this works)






yes, I am working on a separate instance than my production server.  I'm not *that* new at this!  ::)

shawnb61

Quote from: bayonetbrant on June 09, 2025, 03:03:11 PMI think the current plan is to run a clean install of 2.1.4 and then restore the existing forum DB into it.

That won't work, the DB structures are incompatible with the code.  The upgrader updates the structures & properly migrates the data from the old structure to the new structure.

You need to run the upgrader per the instructions. 
A question worth asking is born in experience & driven by necessity. - Fripp

bayonetbrant


Sesquipedalian

It's really not hard, though. Indeed, using our upgrader is much easier than the manual manipulation you were trying to do. You just upload all the files in the upgrade package, point your browser to http://example.com/forum/upgrade.php (obviously, use your own URL), and click through the steps. That's it.
I promise you nothing.

Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

Advertisement: