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.

Getting SQLSTATE 25...
 
Notifications
Clear all

Getting SQLSTATE 25P02 Error

9 Posts
2 Users
0 Reactions
6,483 Views
(@divyesh)
Posts: 30
Active Member
Topic starter
 
[#7217]

We are using postgresql 13.1 in centos linux with Projeqtor 9.0.2 latest version.
We have two issues.
[1] We have enable history archiving which is reflecting sql state 23505 error in log file.
[2] Frequent Exception-[25P02] SQLSTATE[25P02]: In failed sql transaction: 7 ERROR:  current transaction is aborted, commands ignored until end of transaction block error is also reflected on user ticket entry screen.

Whole logs file while time of above issue is provided for further investigation.
Request you to please brief for above two issues.
 


 
Posted : 18 Jan 2021 8H28
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Hi,

You have duplicates : lines of history stored in historyarchive but still existing in history.

Delte these lines with the query

DELETE FROM `historyarchive` WHERE id IN (SELECT id from `history`);

This query will be added to V9.0.3 to avoid similar issues


 
Posted : 23 Jan 2021 13H01
(@divyesh)
Posts: 30
Active Member
Topic starter
 

Thanks for response.
As per query no rows found.


 
Posted : 23 Jan 2021 15H19
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

So I think issue won't reproduce


 
Posted : 23 Jan 2021 20H29
(@divyesh)
Posts: 30
Active Member
Topic starter
 

Same errors encountered from user end after your reply.
Seems two different status from treatment window and GUI status modification produces this type of error.


 
Posted : 01 Feb 2021 12H57
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Seems two different status from treatment window and GUI status modification produces this type of error.

Sorry, I don't understand, could you explain use case that produces the error ?


 
Posted : 01 Feb 2021 13H15
(@divyesh)
Posts: 30
Active Member
Topic starter
 

 


 
Posted : 01 Feb 2021 13H33
(@divyesh)
Posts: 30
Active Member
Topic starter
 

When user modifies existing ticket if both the status in attached screen is not same than this will trigger such type of errors.


 
Posted : 01 Feb 2021 13H35
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Hi,
This is not a normal situation. Both status listed should always be the same (after saving of course).
It may happen that they are different if network issue occuers. In that case, after saving user doe snot gert the correct save message.
So refresh of the screen should fix the issue.


 
Posted : 01 Feb 2021 14H10
Share:

Scroll to Top