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

Prochaines Sessions

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)
 

21 août 2025 (16h-17h30)

4 septembre 2025 (16h-17h30)

16 septembre 2025 (10h30-12h)

 
 

Planifiez avec ProjeQtOr

17 et 18 septembre 2025 (9h-12h30)

 
 

Administrez avec ProjeQtOr

24 et 25 septembre 2025 (9h-12h30)

 

 

 

[SOLVED] Projeqtor still shows 12.1.2 after upgrading to 12.2.1

More
21 Juil 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 Connexion or Create an account to join the conversation.

More
21 Juil 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 Connexion or Create an account to join the conversation.

More
27 Juil 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 Connexion or Create an account to join the conversation.

More
12 Aoû 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 Connexion or Create an account to join the conversation.

More
12 Aoû 2025 18:08 - 12 Aoû 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 Aoû 2025 18:09 by froutier.

Please Connexion or Create an account to join the conversation.

More
12 Aoû 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 Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.074 seconds

Paramétrages de cookies

×

Cookies fonctionnels

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

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.