Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2016-12-23 16:21:16

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,271
Website GitHub

Version string modification required BEFORE 4.7.0 is released

Pleases would anyone who has already downloaded and run a copy of the dev branch since the release of Txp 4.6.2 do the following:

  • Update your installation to at least 2dff863e from the dev branch.
  • Run this command from a MySQL console: select val from txp_prefs where name = 'version';
  • If the result from that query is 4.7.0 or 4.7.0-dev, run the following command to correct it: update txp_prefs set val='4.6.2' where name = 'version';

Your version string must read 4.6.2 — the last major release. Failure to do this before 4.7.0 is released will result in your database not being upgraded properly. See Issue 859 for details.

Sorry for the extra hassle. Hopefully this will be the last of the version shenanigans we have to endure.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#2 2016-12-25 03:05:01

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,079
Website

Re: Version string modification required BEFORE 4.7.0 is released

I went ahead, and updated, first on what is essentially a throwaway DB that was a couple of weeks old. git pull to update the local TXP files, accessed the website, then accessed the DB via Sequel Pro, ran the queries. Upon success, I then proceeded to an older test site, which has existed since before 4.6.2, updated successfully. Finally I updated the local mirror copy of a real world site (a DB that is as old as Texpattern…). The latter two instances had been running TXP 4.7-dev for, well, for a while.
In all cases, updating was successful.

Me thanks Stef for writing down simple and easy instructions!
Me grateful for Sequel Pro for providing a nice interface with MySql.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#3 2016-12-25 05:08:53

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,075
Website Mastodon

Re: Version string modification required BEFORE 4.7.0 is released

Bloke wrote #303393:

Pleases would anyone who has already downloaded and run a copy of the dev branch since the release of Txp 4.6.2 do the following:

is there a way to determine if we need to do this step? Is it possible to have the correct version of 4.6.2 installed?

thanks

EDIT: for example i am running this version:
Textpattern version: 4.6.2 (8412e32468526e075446b881d13bd9ce)
is this ok or should i fix it?

Last edited by bici (2016-12-25 05:53:33)


…. texted postive

Offline

#4 2016-12-25 06:08:13

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,079
Website

Re: Version string modification required BEFORE 4.7.0 is released

bici wrote #303406:

is there a way to determine if we need to do this step? Is it possible to have the correct version of 4.6.2 installed?

thanks

EDIT: for example i am running this version:
Textpattern version: 4.6.2 (8412e32468526e075446b881d13bd9ce)
is this ok or should i fix it?

No, if you run TXP version 4.6.x you don’t need to do anything. It is only if you use the in-development version (known as 4.7-dev) that you need to take action.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

Board footer

Powered by FluxBB