Closed fkusei closed 8 months ago
Which states are enabled in the corresponding project's settings for encoding tickets?
All, apart from "postprocessed"
can you tell me wether ticket with DB id 2094 is the recording ticket or the master encoding ticket? are sub-encodings used in the project?
2094 is the master ticket, with sub-tickets 2095 (recording) and 2096 (encoding). There are no other tickets attached to the master ticket (we don't use sub-encodings in our setup)
Could you please perform the following queries in the database:
select ticket_state_initial(16, 'encoding');
-- should return "material needed" but probably returns null, might emit a warning
A probable cause would be that
is missing in your database. But that depends if this already worked before and only fails in this project.
tracker=# select ticket_state_initial(16, 'encoding');
ticket_state_initial
----------------------
material needed
(1 row)
However it seems we are missing all migrations after https://github.com/crs-tools/tracker/blob/master/src/Application/Migrations/__2018-06-21_fix-trigger-for-progress-recalculation.sql
Is there a dedicated command to load them, or should i just psql tracker < migration.sql
them?
There is no mechanism or automatism. Just load them in the ascending order of the date in their filename.
Chances are good that this error is fixed by the most recent migration.
Yeah, that did the trick. During the migrations, i also found an issue in our configuration management, which lead to us not getting any updates since 17392620fa2a064679ec59311d76dd9e1aa98ba4 :woozy_face:
Thanks for the quick help, issue is fixed!
When "Cutting failed" an encoding ticket, the tracker says:
The recording gets set to "cutting failed" correctly, however the encoding ticket does not get reset to "material needed", nor does the assignee get removed.
Database status:
Running postgresql 13 on debian 20.04. The database was created on postgresql 9.6 in late 2017 and was upgraded to postgresql 13 later. As far as i know, there have been no modifications to the database outside of the tracker itself.