View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - [SOLVED] Error duplicate entry during migration V10.1 to V11.0 - ProjeQtOr
 
 

[SOLVED] Error duplicate entry during migration V10.1 to V11.0

More
26 Oct 2023 22:55 - 26 Oct 2023 23:12 #1 by Tony44
Hello,

On a test environment, I updated from V10.1.4 to V11.0.1.
The errors below appeared at the end of the migration.
How to fix the issue ?

2023-10-19 00:44:24.704 ***** ERROR ***** [V10.1.4] Exception-[23000] SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '41' for key 'PRIMARY'
2023-10-19 00:44:24.706 ***** ERROR ***** [V10.1.4]    For query : INSERT INTO `linkable` (`id`,`name`,`idle`, idDefaultLinkable) VALUES (41,'ActivityExpense',0,null);
2023-10-19 00:44:24.707 ***** ERROR ***** [V10.1.4]    Strack trace :
2023-10-19 00:44:24.707 ***** ERROR ***** [V10.1.4]    #0 Sql->query called at [C:\Program Files (x86)\EasyPHP-Devserver-17\eds-www\projeqtor\db\maintenanceFunctions.php:72]
2023-10-19 00:44:24.707 ***** ERROR ***** [V10.1.4]    #1 runScript called at [C:\Program Files (x86)\EasyPHP-Devserver-17\eds-www\projeqtor\db\maintenance.php:178]
2023-10-19 00:44:24.708 ***** ERROR ***** [V10.1.4]    #2 include called at [C:\Program Files (x86)\EasyPHP-Devserver-17\eds-www\projeqtor\tool\loginCheck.php:144]
2023-10-19 00:44:24.713 ***** ERROR ***** [V10.1.4] Exception-[23000] SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '50' for key 'PRIMARY'
2023-10-19 00:44:24.713 ***** ERROR ***** [V10.1.4]    For query : INSERT INTO `mailable` (id, name, idle) VALUES (50, 'ActivityExpense', 0); 2023-10-19 00:44:24.714 ***** ERROR ***** [V10.1.4]    Strack trace :
2023-10-19 00:44:24.714 ***** ERROR ***** [V10.1.4]    #0 Sql->query called at [C:\Program Files (x86)\EasyPHP-Devserver-17\eds-www\projeqtor\db\maintenanceFunctions.php:72]
2023-10-19 00:44:24.715 ***** ERROR ***** [V10.1.4]    #1 runScript called at [C:\Program Files (x86)\EasyPHP-Devserver-17\eds-www\projeqtor\db\maintenance.php:178]
2023-10-19 00:44:24.715 ***** ERROR ***** [V10.1.4]    #2 include called at [C:\Program Files (x86)\EasyPHP-Devserver-17\eds-www\projeqtor\tool\loginCheck.php:144]

Thanks

Tony44
Last edit: 26 Oct 2023 23:12 by Tony44.

Please Log in or Create an account to join the conversation.

More
26 Oct 2023 23:03 #2 by Tony44

Please Log in or Create an account to join the conversation.

More
27 Oct 2023 17:07 #3 by babynus
First check on any item (activity for instace) to add a link.
On the pop-up you have "linked item type".
If this list contains Activity Expense, you don't have anything to do.
If it does not, yes, apply the fix proposed.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
28 Oct 2023 16:35 #4 by Tony44
Activity Expense was indeed missing in the list "linked item type".
It appeared after applying the fix.

Thanks !

Tony44

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.037 seconds

Cookies settings

×

Functional Cookies

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

Please login to see yours activities!

Other cookies

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