Forum

Upgrade from 4.4.2 ...
 
Notifications
Retirer tout

Upgrade from 4.4.2 to 4.5.x Issue

6 Posts
2 Utilisateurs
0 Reactions
7,802 Vu
(@milien56)
Posts: 26
Eminent Member
Début du sujet
 
[#2484]

Hello,

I first tried to upgrade from 4.4.2 to the last stable release (4.5.7).
Following this upgrade even if everything looked going properly during upgrade, i wasn't able to create/modify a new task anymore.

The error message was "le champ 'mode de planification' est obligatoire". The sub-chapter of activity page, dealaing with "Workload stuff" is also not visible in the Activity creation/modification page. I guess there is an issue with planification or workloads.

Nore the planning gantt were accessible (empty white page).

I had a look on this topic: http://www.projeqtor.org/en/forum/10-feedbacks/6122-planning-seems-not-working-anymore-after-upgrading-to-4-5-3?start=6
which seems similar to my issue but i do not use sub-projects at all.

I finaly restored the v4.4.2 (everything went ok) and tried to upgrade to 4.5.0. I then get the same problem, that seems to confirm that issue is coming from planning calculation change from 4.5.X .....

I'm however unable to get out, do you have any idea where the issue could come from ?

Thanks


 
Posté : 04/08/2015 2:58 pm
(@milien56)
Posts: 26
Eminent Member
Début du sujet
 

Could it be that affectation rate rules betwwen project and sub-project also applies betwwen task and sub-tasks ?

Indeed, I usually affect ressources , affectation and workload only to sub-tasks while my sub-tasks are classified into main parent tasks (with non ressources affectation). Is this behaviour allowed by projeqtor v4.5.X ?

Here below is the log file content during last upgrade from 4.4.2 to 4.5.0:

2015-08-04 12:44:32 ===== TRACE ===== =====================================
2015-08-04 12:44:32 ===== TRACE =====
2015-08-04 12:44:32 ===== TRACE ===== DataBase actual Version = V4.4.2
2015-08-04 12:44:32 ===== TRACE ===== ProjeQtOr actual Version = V4.5.0
2015-08-04 12:44:32 ===== TRACE =====
2015-08-04 12:44:32 ===== TRACE ===== =====================================
2015-08-04 12:44:32 ===== TRACE =====
2015-08-04 12:44:32 ===== TRACE ===== VERSION V4.5.0
2015-08-04 12:44:32 ===== TRACE =====
2015-08-04 12:44:32 ===== TRACE ===== 1 lines updated into table "accessprofile".
2015-08-04 12:44:32 ===== TRACE ===== 1 lines updated into table "accessprofile".
2015-08-04 12:44:32 ===== TRACE ===== 1 lines inserted into table "dependable".
2015-08-04 12:44:32 ===== TRACE ===== 2 lines updated into table "planningmode".
2015-08-04 12:44:32 ===== TRACE ===== 1 lines inserted into table "accessscope".
2015-08-04 12:44:32 ===== TRACE ===== Table "audit" altered.
2015-08-04 12:44:32 ===== TRACE ===== 33 lines deleted from table "columnselector".
2015-08-04 12:44:32 ===== TRACE ===== 0 lines updated into table "assignment".
2015-08-04 12:44:33 ===== TRACE ===== Table "assignment" altered.
2015-08-04 12:44:33 ===== TRACE ===== Table "planningelement" altered.
2015-08-04 12:44:33 ===== TRACE =====
2015-08-04 12:44:33 ===== TRACE ===== DATABASE UPDATED
2015-08-04 12:44:33 ===== TRACE ===== WITH NO ERROR
2015-08-04 12:44:33 ===== TRACE =====
2015-08-04 12:44:33 ===== TRACE ===== =====================================
2015-08-04 12:44:33 ===== TRACE =====
2015-08-04 12:44:33 ===== TRACE ===== DATABASE UPDATE COMPLETED TO VERSION V4.5.0
2015-08-04 12:44:33 ===== TRACE =====
2015-08-04 12:44:33 ===== TRACE ===== =====================================


 
Posté : 04/08/2015 3:03 pm
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

Here below is the log file content during last upgrade from 4.4.2 to 4.5.0:

First, be sure to upgrade to latest V4.5.7 (or at least V4.5.6, difference only concernes PostgreSql)

Then, after upgrade, be sure to clean browser cache.

I problem persists, check for errors in the log file and in the browser console.
I no errer, check network console, select lastest request and get response of that request (for instance, for blank Gantt chjart, get respont of request to jsonPlanning.php). Post response here.


 
Posté : 04/08/2015 4:31 pm
(@milien56)
Posts: 26
Eminent Member
Début du sujet
 

Thanks for your prompt feedback.

I then upgraded back to v4.5.7, Browser cache has bean cleared, but same issue is encountered.
I checked plannedwork table and it's not empty.

I found this error in apache logs:

[Tue Aug 04 15:14:11 2015] [error] [client 192.168.10.43] PHP Fatal error: Call to undefined function mb_substr() in /var/www/html/projeqtor/model/GeneralWork.php on line 247, referer: https://192.168.50.220:543/projeqtor/view/main.php

=> i'll check for package php-mbstring...

I'm using PHP 5.3.3 (cli) (built: Nov 29 2012 04:12:23)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

A Console error is appearing when accessing the gantt page is below:

exception in animation handler for: onEnd
SyntaxError: Identificateur, chaîne ou nombre attendu
{
[functions]: ,
__proto__: {
[functions]: ,
__proto__: { },
message: "",
name: "SyntaxError"
},
description: "Identificateur, chaîne ou nombre attendu",
message: "Identificateur, chaîne ou nombre attendu",
name: "SyntaxError",
number: -2146827260,
stack: "SyntaxError: Identificateur, chaîne ou nombre attendu
at drawGantt ( https://192.168.50.220:543/projeqtor/view/js/projeqtor.js?version=V4.5.6.0113:1735:5)
at onEnd ( https://192.168.50.220:543/projeqtor/view/js/projeqtor.js?version=V4.5.6.0113:702:18)
at _fire ( https://192.168.50.220:543/projeqtor/external/dojo/dojo.js?version=V4.5.6.0113:15:21989)
at _cycle ( https://192.168.50.220:543/projeqtor/external/dojo/dojo.js?version=V4.5.6.0113:15:24193)
at Anonymous function ( https://192.168.50.220:543/projeqtor/external/dojo/dojo.js?version=V4.5.6.0113:15:89888)
at _501 ( https://192.168.50.220:543/projeqtor/external/dojo/dojo.js?version=V4.5.6.0113:15:134318)
at Anonymous function ( https://192.168.50.220:543/projeqtor/external/dojo/dojo.js?version=V4.5.6.0113:15:89888 )"
}


 
Posté : 04/08/2015 5:20 pm
(@milien56)
Posts: 26
Eminent Member
Début du sujet
 

Ok my issue was coming form package php-mbstring that was not installed in my server.
Problem is now solved.

thanks


 
Posté : 04/08/2015 5:51 pm
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

it seems mbstring is not installed on your PHP server.
Try and install it.
Tell me if this fiexs the issue.

NB : on V5.1, it is planned to add controls on prerequisites to avoid this kind of errors.


 
Posté : 04/08/2015 6:12 pm
Share:
Retour en haut