I just upgraded from 12.1.2 to 12.2.1, but the UI still shows 12.1.2.
I first thought I was victm of dyslexia, so I rolled back my snapshoted container, and did it once again, double-checking my file names and path, and I get the same result.
Is there any other thing I should check ? Or is it a "bug" in the release (dyslexia again ) ?
Seems there is really a problem : I can see new functionnalities (project list for example), the some things are broken (can't create new project, function sortXXXXXXX is missing).
Rolling back.
Is there a good way to troubleshoot this king of issue ?
After overwriting old code with new code, disconnect and reconnect as Admin : this should finish with DB upgrades.
In your case it seems DB upgrades failed : have a llok at log files to understand issues, fix and try again.
***** ERROR ***** [V12.1.2] Error on SqlElement to get 'mustChangePassword' for Class 'User' : field 'mustChangePassword' not found in Database.
***** ERROR ***** [V12.1.2] [4] Error on SqlElement to get 'defaultDuration' for Class 'ActivityType' : field 'defaultDuration' not found in Database.
Grepping these values in projeqtor/db/ it seems these fields are created in the 12.2.0 script. But I tried to install 12.2.1 directly from 12.1.2. That might be the problem ?
Ok, starting fresh, step by step, release by release.
Right now I'm at v12.1.2.
In projeqtor/db, latest script is projeqtor_V12.1.2.sql
In projeqtor/db/, all files are dated 7 May.
So I :
1) disconnect every user
2) close the application
3) logout
4) unzip -uo projeqtorV12.1.3.zip into /var/www
5) recursively chown the directory to www-data
6) restart apache
7) log into projeqtor as admin
But... nothing seems to happen. Shown version is still 12.1.2. No database update message is shown.
Log says:
DEBUG
loginCheck : current db version = 'V12.1.2'
and let me log in happily.
In projeqtor/db, latest script is now projeqtor_V12.1.3.sql and files are dated 17 June.
But the tentative upgrade seems unnoticed...
What is the way Projeqtor can tell an upgrade is ongoing ? I might have a "marker" file lyong around or something... ?
Ok, answering my own question: it seems projeqtor compares dthe version stored in database with $version in tool/projeqtor.php.
It seems my 'unzip -uo ' command was not overriding some file, including tool/projeqtor.php, hence the upgrade unnoticed.
So I did 'unzip -o ' and that time all went smoothly...
En poursuivant votre navigation, vous acceptez le dépôt de cookies tiers destinés au bon fonctionnement et à la sécurisation du site (gestion de session, reCaptcha) et à une analyse statistique anonymisée des accès sur notre site (Google Analytics). Si vous vous inscrivez, les informations que vous fournirez ne seront jamais divulguées à un tiers sous quelque forme que ce soit. En savoir plus
Cookies settings
×
Functional Cookies
Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.
Session
Please login to see yours activities!
Other cookies
Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.