Page 1 of 1

upgrade from 4.1.13 to github-master (4.2.0 actually)

Posted: Fri Jul 07, 2017 7:57 pm
by ffabreti
Hello,

I am moving a TBG install (4.1.13) from one server to another and decided to upgrade the version too.
As 4.1.13 is the last version published, I want to upgrade to version 4.2.0, master branch on github (because it corrects lots of bugs that have bitten me :lol: ).

None of the Readme.md, Upgrade.md, FAQ or Wiki docs apply in my case (really hope I am wrong about that!)
I mean, there are no docs guiding such a upgrade.

So, I have tried to copy files and database to new server and starting upgrade via web (localhost/upgrade) and it tells me I am running the last version (4.1.13) already.

Had better luck installing 4.2.0 from scratch and pointing it to database from 4.1.13, but, database schema have subtly changed and I am afraid I will end up having silently errors and funcionality malfunction.

Anyway, what would be the correct way to migrate from last published version to github master ?

Thanks,

Re: upgrade from 4.1.13 to github-master (4.2.0 actually)

Posted: Sat Aug 12, 2017 12:29 pm
by ffabreti
Anyone have a clue?

Re: upgrade from 4.1.13 to github-master (4.2.0 actually)

Posted: Mon Aug 14, 2017 2:37 pm
by bmudda
What worked for me is the following (Note: I upgraded form 4.1.9 version but I think procedures should be same as the upgrade does incremental updates):
1. Backup everything from 4.1.13 version
2. From 4.1.13, do a git pull to get the latest master
3. Do composer install to update/install dependencies
4. Upgrade bug genie from the console using tbg_cli and you should see the output that it has been upgraded

Code: Select all

$ php tbg_cli upgrade
Currently installed version: 4.1.9
Upgrading to version: 4.2.0
Successfully upgraded to version 4.1.10
Successfully upgraded to version 4.1.12
Upgrading comments table. This may take a few minutes.
Successfully upgraded to version 4.1.13
Updating/fixing status of milestones.
Successfully upgraded to version 4.1.14
Upgrade complete!