View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - [SOLVED] Projeqtor still shows 12.1.2 after upgrading to 12.2.1 - ProjeQtOr
 

[SOLVED] Projeqtor still shows 12.1.2 after upgrading to 12.2.1

More
21 Jul 2025 15:03 #1 by froutier
Hi,

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 :-) ) ?

Thanks
Franck

Please Log in or Create an account to join the conversation.

More
21 Jul 2025 15:07 #2 by froutier
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 ?

Please Log in or Create an account to join the conversation.

More
27 Jul 2025 11:59 #3 by babynus
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.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
12 Aug 2025 16:24 #4 by froutier
Ok, so the upgrade went wrong...

I can see some errors in the log:

***** 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 ?

Please Log in or Create an account to join the conversation.

More
12 Aug 2025 18:08 - 12 Aug 2025 18:09 #5 by froutier
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... ?
Last edit: 12 Aug 2025 18:09 by froutier.

Please Log in or Create an account to join the conversation.

More
12 Aug 2025 18:36 #6 by froutier
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...

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.077 seconds

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.