Forum

[SOLVED] migration ...
 
Notifications
Clear all

[SOLVED] migration error to V 5.5.0

4 Posts
2 Users
0 Reactions
2,758 Views
Maréchal
(@cmarechal)
Posts: 64
Active Member
Topic starter
 
[#3645]

Hi,

below is the log of the migration from V 5.4.5 to V 5.5.0 (there is 2 errors)

"2016-09-06 19:26:29.879 ===== TRACE =====
2016-09-06 19:26:29.879 ===== TRACE ===== =====================================
2016-09-06 19:26:29.879 ===== TRACE =====
2016-09-06 19:26:29.879 ===== TRACE ===== DataBase actual Version = V5.4.5
2016-09-06 19:26:29.879 ===== TRACE ===== ProjeQtOr actual Version = V5.5.0
2016-09-06 19:26:29.879 ===== TRACE =====
2016-09-06 19:26:29.879 ===== TRACE ===== =====================================
2016-09-06 19:26:29.879 ===== TRACE =====
2016-09-06 19:26:29.879 ===== TRACE ===== VERSION V5.5.0
2016-09-06 19:26:29.879 ===== TRACE =====
2016-09-06 19:26:30.053 ===== TRACE ===== Table "productproject" created.
2016-09-06 19:26:30.064 ===== TRACE ===== Index "productprojectProject" created.
2016-09-06 19:26:30.072 ===== TRACE ===== Index "productprojectProduct" created.
2016-09-06 19:26:30.076 ===== TRACE ===== 1 lines inserted into table "textable".
2016-09-06 19:26:30.090 ===== TRACE ===== Table "project" altered.
2016-09-06 19:26:30.104 ===== TRACE ===== Table "activity" altered.
2016-09-06 19:26:30.111 ===== TRACE ===== 7 lines inserted into table "menu".
2016-09-06 19:26:30.122 ===== TRACE ===== 2 lines updated into table "menu".
2016-09-06 19:26:30.128 ===== TRACE ===== 7 lines updated into table "menu".
2016-09-06 19:26:30.132 ===== TRACE ===== 1 lines updated into table "menu".
2016-09-06 19:26:30.137 ===== TRACE ===== 1 lines updated into table "menu".
2016-09-06 19:26:30.141 ===== TRACE ===== 1 lines updated into table "menu".
2016-09-06 19:26:30.158 ===== TRACE ===== 1 lines updated into table "menu".
2016-09-06 19:26:30.161 ===== TRACE ===== 1 lines updated into table "menu".
2016-09-06 19:26:30.166 ===== TRACE ===== 1 lines updated into table "menu".
2016-09-06 19:26:30.169 ===== TRACE ===== 1 lines updated into table "menu".
2016-09-06 19:26:30.181 ===== TRACE ===== 9 lines inserted into table "habilitation".
2016-09-06 19:26:30.188 ===== TRACE ===== 9 lines inserted into table "habilitation".
2016-09-06 19:26:30.194 ===== TRACE ===== 9 lines inserted into table "habilitation".
2016-09-06 19:26:30.199 ===== TRACE ===== 9 lines inserted into table "habilitation".
2016-09-06 19:26:30.205 ===== TRACE ===== 9 lines inserted into table "habilitation".
2016-09-06 19:26:30.212 ===== TRACE ===== 7 lines inserted into table "accessright".
2016-09-06 19:26:30.217 ===== TRACE ===== 7 lines inserted into table "accessright".
2016-09-06 19:26:30.243 ===== TRACE ===== Table "tender" created.
2016-09-06 19:26:30.252 ===== TRACE ===== Index "tenderProject" created.
2016-09-06 19:26:30.283 ===== TRACE ===== Index "tenderType" created.
2016-09-06 19:26:30.289 ===== TRACE ===== Index "tenderProvider" created.
2016-09-06 19:26:30.298 ===== TRACE ===== Index "tenderStatus" created.
2016-09-06 19:26:30.304 ===== TRACE ===== Index "tenderTenderStatus" created.
2016-09-06 19:26:30.311 ===== TRACE ===== Index "tenderCallForTender" created.
2016-09-06 19:26:30.330 ===== TRACE ===== Table "callfortender" created.
2016-09-06 19:26:30.337 ===== TRACE ===== Index "callfortenderProject" created.
2016-09-06 19:26:30.343 ===== TRACE ===== Index "callfortenderType" created.
2016-09-06 19:26:30.349 ===== TRACE ===== Index "callfortenderStatus" created.
2016-09-06 19:26:30.355 ===== TRACE ===== Index "callfortenderResource" created.
2016-09-06 19:26:30.380 ===== TRACE ===== Table "tenderevaluationcriteria" created.
2016-09-06 19:26:30.387 ===== TRACE ===== Index "tenderevaluationcriteriaCallForTender" created.
2016-09-06 19:26:30.401 ===== TRACE ===== Table "tenderevaluation" created.
2016-09-06 19:26:30.408 ===== TRACE ===== Index "tenderevaluationTenderEvaluationCriteria" created.
2016-09-06 19:26:30.414 ===== TRACE ===== Index "tenderevaluationTender" created.
2016-09-06 19:26:30.418 ===== TRACE ===== 4 lines inserted into table "type".
2016-09-06 19:26:30.424 ===== TRACE ===== 4 lines inserted into table "type".
2016-09-06 19:26:30.429 ** ERROR ** Exception-[42P07] SQLSTATE[42P07]: Duplicate table: 7 ERREUR: la relation « tenderstatus » existe déjà
2016-09-06 19:26:30.429 ** ERROR ** For query : CREATE TABLE tenderstatus (
id serial,
name varchar(100) DEFAULT NULL,
color varchar(7) DEFAULT NULL,
sortOrder numeric(3) DEFAULT NULL,
isWaiting numeric(1) DEFAULT '0',
isReceived numeric(1) DEFAULT '0',
isNotSelect numeric(1) DEFAULT '0',
isSelected numeric(1) DEFAULT '0',
idle numeric(1) DEFAULT '0',
PRIMARY KEY (id)
) ;
2016-09-06 19:26:30.429 ** ERROR ** Strack trace :
2016-09-06 19:26:30.430 ** ERROR ** #0 Sql->query called at [/home/wwwroot/projeqtor/db/maintenanceFunctions.php:71]
2016-09-06 19:26:30.430 ** ERROR ** #1 runScript called at [/home/wwwroot/projeqtor/db/maintenance.php:100]
2016-09-06 19:26:30.430 ** ERROR ** #2 include called at [/home/wwwroot/projeqtor/tool/loginCheck.php:121]
2016-09-06 19:26:30.430 ===== TRACE =====
2016-09-06 19:26:30.430 ===== TRACE ===== Error # 1 => SQL error while executing maintenance query for version V5.5.0 (see above message)
2016-09-06 19:26:30.430 ===== TRACE =====
2016-09-06 19:26:30.430 ===== TRACE ===== **********************************************
2016-09-06 19:26:30.431 ===== TRACE =====
2016-09-06 19:26:30.432
** ERROR ** Exception-[42809] SQLSTATE[42809]: Wrong object type: 7 ERREUR: « tenderstatus » est un index
LINE 1: INSERT INTO tenderstatus (name, color, sortOrder, idle, isWa...
^
2016-09-06 19:26:30.432
** ERROR ** For query : INSERT INTO tenderstatus (name, color, sortOrder, idle, isWaiting, isReceived, isNotSelect, isSelected) VALUES
('request to send', '#ffa500', '10', '0', '0', '0', '0', '0'),
('waiting for reply', '#f08080', '20', '0', '1', '0', '0', '0'),
('out of date answer', '#c0c0c0', '30', '0', '0', '1', '1', '0'),
('incomplete file', '#c0c0c0', '40', '0', '0', '1', '1', '0'),
('admissible', '#87ceeb', '50', '0', '0', '1', '0', '0'),
('short list', '#4169e1', '60', '0', '0', '1', '0', '0'),
('not selected', '#c0c0c0', '70', '0', '0', '1', '1', '0'),
('selected', '#98fb98', '80', '0', '0', '1', '0', '1');
2016-09-06 19:26:30.432
** ERROR ** Strack trace :
2016-09-06 19:26:30.432
** ERROR ** #0 Sql->query called at [/home/wwwroot/projeqtor/db/maintenanceFunctions.php:71]
2016-09-06 19:26:30.432
** ERROR ** #1 runScript called at [/home/wwwroot/projeqtor/db/maintenance.php:100]
2016-09-06 19:26:30.432
** ERROR ** #2 include called at [/home/wwwroot/projeqtor/tool/loginCheck.php:121]
2016-09-06 19:26:30.433 ===== TRACE =====
2016-09-06 19:26:30.433 ===== TRACE ===== Error # 2 => SQL error while executing maintenance query for version V5.5.0 (see above message)
2016-09-06 19:26:30.433 ===== TRACE =====
2016-09-06 19:26:30.433 ===== TRACE =====
**********************************************
2016-09-06 19:26:30.433 ===== TRACE =====
2016-09-06 19:26:30.486 ===== TRACE ===== Table "resource" altered.
2016-09-06 19:26:30.490 ===== TRACE ===== 1 lines inserted into table "copyable".
2016-09-06 19:26:30.568 ===== TRACE ===== Table "expense" altered.
2016-09-06 19:26:30.622 ===== TRACE ===== Table "indicator" altered.
2016-09-06 19:26:30.647 ===== TRACE ===== Table "indicatorvalue" altered.
2016-09-06 19:26:30.653 ===== TRACE ===== 1 lines inserted into table "indicatorable".
2016-09-06 19:26:30.659 ===== TRACE ===== 1 lines inserted into table "indicatorable".
2016-09-06 19:26:30.664 ===== TRACE ===== 1 lines inserted into table "indicatorable".
2016-09-06 19:26:30.670 ===== TRACE ===== 1 lines inserted into table "indicatorable".
2016-09-06 19:26:30.674 ===== TRACE ===== 1 lines inserted into table "indicatorable".
2016-09-06 19:26:30.679 ===== TRACE ===== 1 lines inserted into table "indicatorable".
2016-09-06 19:26:30.700 ===== TRACE ===== 1 lines inserted into table "indicatorable".
2016-09-06 19:26:30.718 ===== TRACE ===== 1 lines inserted into table "indicatorable".
2016-09-06 19:26:30.724 ===== TRACE ===== 3 lines inserted into table "indicator".
2016-09-06 19:26:30.730 ===== TRACE ===== 7 lines inserted into table "indicator".
2016-09-06 19:26:30.746 ===== TRACE ===== 4 lines inserted into table "indicatorableindicator".
2016-09-06 19:26:30.753 ===== TRACE ===== 9 lines inserted into table "indicatorableindicator".
2016-09-06 19:26:30.772 ===== TRACE ===== Index "E" created.
2016-09-06 19:26:30.860 ===== TRACE ===== Table "activity" altered.
2016-09-06 19:26:30.864 ===== TRACE ===== Table "risk" altered.
2016-09-06 19:26:30.893 ===== TRACE ===== Table "team" altered.
2016-09-06 19:26:30.898 ===== TRACE ===== 9 lines inserted into table "parameter".
2016-09-06 19:26:30.948 ===== TRACE ===== Table "billline" altered.
2016-09-06 19:26:30.948 ===== TRACE =====
2016-09-06 19:26:30.948 ===== TRACE ===== DATABASE UPDATED
2016-09-06 19:26:30.948 ===== TRACE ===== WITH 2 ERRORS
2016-09-06 19:26:30.948 ===== TRACE =====
2016-09-06 19:26:31.492 ===== TRACE ===== =====================================
2016-09-06 19:26:31.492 ===== TRACE =====
2016-09-06 19:26:31.492 ===== TRACE ===== 2 ERRORS DURING UPDATE TO VERSION V5.5.0
2016-09-06 19:26:31.492 ===== TRACE =====
2016-09-06 19:26:31.492 ===== TRACE ===== =====================================
"
thanks,

christophe


 
Posted : 06 Sep 2016 21H31
(@babynus)
Posts: 14952
Member Admin
 

IT is an issue pointed out yesterday.
It only concerns PostgreSql database.

Fix not deployed yet, but easy :
Rename index tenderStatus to tenderStatusIndex.
Then you can create and fill table tender status


 
Posted : 06 Sep 2016 21H40
Maréchal
(@cmarechal)
Posts: 64
Active Member
Topic starter
 

OK,
I will wait you fix in the upcoming versions if it is not blocking (is it ?)
I have no simple acces to the database.

Thanks,

Christophe


 
Posted : 06 Sep 2016 21H43
(@babynus)
Posts: 14952
Member Admin
 

I will wait you fix in the upcoming versions if it is not blocking (is it ?)

It has no effect to existing feature (before V5.5) but may block use of tender management.


 
Posted : 07 Sep 2016 21H39
Share:

Scroll to Top