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.

upgrade problem
 
Notifications
Clear all

upgrade problem

18 Posts
2 Users
0 Reactions
10.8 K Views
Evgueni Kolossov
(@ekolossov)
Posts: 566
Contributor
Topic starter
 
[#2076]

Hi,

We just upgraded for the 4.4.2 and I see a problem - I can see activities for each project but when I am selecting 'All projects' the screen is empty - see enclosed log with update problems. Please help

Regards,
Evgueni


 
Posted : 07 Nov 2014 19H30
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Hi,

"enclosed log" is missing 🙁


 
Posted : 07 Nov 2014 21H38
Evgueni Kolossov
(@ekolossov)
Posts: 566
Contributor
Topic starter
 

It is there now


 
Posted : 10 Nov 2014 10H38
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Hi,

All new fields of V4.4.0 are missing in your database.
Try and update table parameter, set parameterValue='V4.3.2' where parameterCode='dbVersion'.
Then disconnect and reconnect as admin.
You should run again migration from V4.3 to V4.4.
Then report any logged error.

Regards.


 
Posted : 10 Nov 2014 13H53
Evgueni Kolossov
(@ekolossov)
Posts: 566
Contributor
Topic starter
 

Still some problems and issue still there - see enclosed


 
Posted : 10 Nov 2014 16H40
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Strange corresponding ot your issues : on 5 columns were missing on planningelement table
- totalAssignedCost
- totalPlannedCost
- totalRealCost
- totalLeftCost
- totalValidatedCost
All other are already there.

What are your issues now ?


 
Posted : 10 Nov 2014 17H50
Evgueni Kolossov
(@ekolossov)
Posts: 566
Contributor
Topic starter
 

Still the same one - no activities visible if 'All projects' selected.
The same issue on another instance as well


 
Posted : 10 Nov 2014 17H56
Evgueni Kolossov
(@ekolossov)
Posts: 566
Contributor
Topic starter
 

I can see these columns you mentioned in the table actually...


 
Posted : 10 Nov 2014 18H01
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

And what is in the log file ?


 
Posted : 10 Nov 2014 18H28
Evgueni Kolossov
(@ekolossov)
Posts: 566
Contributor
Topic starter
 

In another one no error during update but I still cannot see activities for all projects.
In the third one we have upgraded before and there is everything Ok after last upgrade


 
Posted : 10 Nov 2014 18H34
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

And any error in the browser console ?
Did you try and clean browser cache ?


 
Posted : 10 Nov 2014 18H41
Evgueni Kolossov
(@ekolossov)
Posts: 566
Contributor
Topic starter
 

Yes, I cleaned up cache and tried different browsers.
No error in the browser console


 
Posted : 10 Nov 2014 18H46
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

So, if no error is logged, we'll have to add some debugging.
On /tool/jsonQuery.php add one debug line after line 433, this way :

    $queryWhere=($queryWhere=='')?' 1=1':$queryWhere;
    $query='select ' . $querySelect 
         . ' from ' . $queryFrom
         . ' where ' . $queryWhere 
         . ' order by' . $queryOrderBy;   
debugLog($query);    
    $result=Sql::query($query);

Then try again and report here logged degub lines.


 
Posted : 10 Nov 2014 19H02
Evgueni Kolossov
(@ekolossov)
Posts: 566
Contributor
Topic starter
 

I think problem somewhere in projects list. If I select 'All Projects' and go to Projects there are no projects shown but if I select one of the projects with sub-projects I can see all of them


 
Posted : 10 Nov 2014 19H39
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

That's why I requested for some debugging : we will see if quey is correct.

Another possibility is that you get some data with unescaped special caracters on one project.
You can test this possibility selecting projects one by one.
If all projects display correctly, then only query debugging will give an hint.


 
Posted : 10 Nov 2014 19H49
Evgueni Kolossov
(@ekolossov)
Posts: 566
Contributor
Topic starter
 

I do not think this is a problem because until upgrade everything been working Ok


 
Posted : 11 Nov 2014 10H23
Evgueni Kolossov
(@ekolossov)
Posts: 566
Contributor
Topic starter
 

There is definitely problem with upgrade scripts. We have restored from backup to 4.2.3 and made an upgrade in 2 stages: first to 4.3.3 and after that to 4.4.2. This way everything is working properly.


 
Posted : 12 Nov 2014 10H22
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Thanks for the information : I'll investigate on this side.


 
Posted : 12 Nov 2014 11H36
Share:

Scroll to Top