Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

[SOLVED] Projeqtor ...
 
Notifications
Clear all

[SOLVED] Projeqtor still shows 12.1.2 after upgrading to 12.2.1

7 Posts
2 Users
0 Reactions
2,270 Views
(@froutier)
Posts: 34
Active Member
Topic starter
 
[#9901]

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


 
Posted : 21 Jul 2025 17H03
(@froutier)
Posts: 34
Active Member
Topic starter
 

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 ?


 
Posted : 21 Jul 2025 17H07
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

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.


 
Posted : 27 Jul 2025 13H59
(@froutier)
Posts: 34
Active Member
Topic starter
 

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 ?


 
Posted : 12 Aug 2025 18H24
(@froutier)
Posts: 34
Active Member
Topic starter
 

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


 
Posted : 12 Aug 2025 20H08
(@froutier)
Posts: 34
Active Member
Topic starter
 

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...


 
Posted : 12 Aug 2025 20H36
(@froutier)
Posts: 34
Active Member
Topic starter
 

Final thought: it's probably time to subscribe to the auto-update service, as Projeqtor is really a very very valuable piece of software, and supporting the company behind it is the least we can do...

Thanks a lot to the team !


 
Posted : 12 Aug 2025 20H48
Share:

Scroll to Top