Incorrect version number after update (General)

by Wolly, Tuesday, September 11, 2018, 13:28 (2051 days ago)

I've upgraded from v. 2.4.6 to 2.4.13. The update script didn't work, so I updated manually by running the db queries and replacing the files. However, the admin section still shows this:

[image]

The VERSION file in the config folder shows 2.4.13. How can I fix this?

Avatar

Incorrect version number after update

by Auge ⌂, Tuesday, September 11, 2018, 13:57 (2051 days ago) @ Wolly

Hello

I've upgraded from v. 2.4.6 to 2.4.13. The update script didn't work, so I updated manually by running the db queries and replacing the files. However, the admin section still shows this:

[image]

The VERSION file in the config folder shows 2.4.13. How can I fix this?

When you actualised the database by hand and loaded all the files up to the server, the forum should be in the actual state. You obviously forgot to execute the last step of every update per script. It's the actualisation of the version number (nowadays with the value from the file VERSION).

Please set the actual version number in the setting field version. Go to the admin panel, then to "forum settings" and follow the link to the "advanced settings" below the settings form. The setting version is the next to last row in the settings form table. Value should be "2.4.13".

Please share any information you remember about the failed upgrade attempt. It's really seldom that an upgrade failed, but maybe there is something we can make better.

Tschö, Auge

--
Trenne niemals Müll, denn er hat nur eine Silbe!

Incorrect version number after update

by Wolly, Tuesday, September 11, 2018, 16:15 (2051 days ago) @ Auge

Ah, perfect. I should have thought of that. I tested another install of 2.4.6 and got the same error message when running the update script:

"Error in line 291: The version you want to install (see string in config/VERSION) must be greater than the current installed version. Current version: 2.4.6, version you want to install: 2.4.6. Please check also if you uploaded the actual file version of config/VERSION. Search therefore for the file date and compare it with the date from the installation package"

config/VERSION said 2.4.6, and it worked when I changed it to 2.4.13. Perhaps it should be included in the instructions that you have to change config/VERSION to the version you want to install to as well?

Avatar

Incorrect version number after update

by Auge ⌂, Tuesday, September 11, 2018, 16:36 (2051 days ago) @ Wolly

Hello

"Error in line 291: The version you want to install (see string in config/VERSION) must be greater than the current installed version. Current version: 2.4.6, version you want to install: 2.4.6. Please check also if you uploaded the actual file version of config/VERSION. Search therefore for the file date and compare it with the date from the installation package"

config/VERSION said 2.4.6, and it worked when I changed it to 2.4.13.

So far so good. The eror message led you to the necessary check what led you to the solution.

Perhaps it should be included in the instructions that you have to change config/VERSION to the version you want to install to as well?

Ah, no and yes. The wiki page about updating states the necessity of using the file config/VERSION from the package one wants to upgrade to. But on the other hand you are right, the readme could contain a section about the updating process as well and therein the use of the actual file config/VERSION should be mentioned as a mandatory requirement for the update/upgrade.

I'm sorry for the inconvenience.

Tschö, Auge

--
Trenne niemals Müll, denn er hat nur eine Silbe!

RSS Feed of thread