Hi everyone,
I´m having a problem, and I need some help.
After changing the data of a lot of videos, our Opencast Services do not load.
Even if I try to load them, I get a wheel of death and shortly after the admin ui gets a 502 (proxy error).
Here is
what I did:
So, I had to work with about 7000 Videos that needed their ACL changed.
As this would
take way too long in the admin ui, I wrote a script to do this job for me.
With this script I first called the “GET admin/events” Endpoint, to get all stored
video – data on the server (14500 videos / 1000 videos at a time).
After this I processed the video data to filter for the 7000 Videos, I needed
to change.
With this video – list I called /api/events/<video-ID>/acl to send the
new ACL to the mediapackage.
Up to this point, everything worked fine. Every ACL was updated, and after a “republish
metadata” Workflow that, in addition added a series to the videos, everything
was working as intended (on one video).
My next step was to use the republish metadata workflow on the 7000 videos, 100 videos at a time.
And here the problems started to emerge.
The videos went into “running” but did not get processed.
In addition to this, other, new uploaded videos did not get processed either.
A video that was just about to be published got this error:
2022-10-05T10:16:26,783 | ERROR |
(WorkflowOperationWorker:143) - Workflow operation 'operation:'publish-engage',
position:1, state:'FAILED'' failed
org.opencastproject.workflow.api.WorkflowOperationException: Mediapackage ef6c0b3a-0a34-43bb-a7f9-39b8a020af36 could not be published
at org.opencastproject.workflow.handler.distribution.PublishEngageWorkflowOperationHandler.start(PublishEngageWorkflowOperationHandler.java:418) ~[?:?]
And a just uploaded video got this error:
2022-10-05T10:19:24,719 | ERROR | (WorkflowOperationWorker:143)
- Workflow operation 'operation:'inspect', position:1, state:'FAILED'' failed
org.opencastproject.workflow.api.WorkflowOperationException: Track https://cast-admin.th-deg.de/files/mediapackage/25fed4dc-4d23-461c-a3cb-327856c86096/8e02054c-42d9-479c-96ee-9673655f4b72/c201_2022_10_05_10_06_42_mat.mp4 could not be inspected
A server restart did not solve this problem.
Videos could not be processed and the workflow republish metadata did not start.
So, after this I restarted the servers and all services, made sure elasticsearch worked and finally, existing videos could be viewed again.
But new videos could still not be created (the workflow would not finish).
In the worker – log I get warnings for all services:
(this is
just 2 of them, there are more ofc)
2022-10-06T08:52:38,519 | WARN | (ServiceRegistryJpaImpl$JobProducerHeartbeat:3364) - Marking org.opencastproject.ingest@https://cast-admin.th-deg.de as offline
2022-10-06T08:53:38,601 | WARN | (ServiceRegistryJpaImpl$JobProducerHeartbeat:3348) - Service org.opencastproject.workflow@https://cast-admin.th-deg.de is not working as expected: HTTP/1.1 502 Proxy Error
But after restarting everything I could use republish metadata on all 7000 videos, and they are done now.
Still, no services can be found:
2022-10-06T11:17:21,852 | WARN | (RemoteBase:179) - No services of type 'org.opencastproject.inspection' found, waiting...
Additional
information:
We run MariaDB and yesterday our DB went from about 51GB to about 54GB.
Our table Sizes are (everything else is < 100kb):
-rw-rw---- 1 mysql mysql 7.0M Oct 6 11:17 oc_assets_version_claim.ibd
-rw-rw---- 1 mysql mysql 8.0M Oct 5 16:47 oc_bundleinfo.ibd
-rw-rw---- 1 mysql mysql 11M Oct 6 11:22 oc_user_ref.ibd
-rw-rw---- 1 mysql mysql 12M Oct 6 11:22 oc_user_ref_role.ibd
-rw-rw---- 1 mysql mysql 12M Oct 6 11:12 oc_role.ibd
-rw-rw---- 1 mysql mysql 80M Sep 7 14:25 oc_user_session.ibd
-rw-rw---- 1 mysql mysql 120M Oct 6 11:07 oc_assets_properties.ibd
-rw-rw---- 1 mysql mysql 184M Oct 6 11:17 oc_assets_asset.ibd
-rw-rw---- 1 mysql mysql 388M Oct 6 11:11 oc_search.ibd
-rw-rw---- 1 mysql mysql 568M Oct 5 10:51 oc_oaipmh.ibd
-rw-rw---- 1 mysql mysql 1.3G Oct 5 10:51 oc_oaipmh_elements.ibd
-rw-rw---- 1 mysql mysql 1.8G Oct 6 11:17 oc_assets_snapshot.ibd
-rw-rw---- 1 mysql mysql 5.0G Oct 6 11:20 oc_job.ibd
-rw-rw---- 1 mysql mysql 13G Sep 7 14:25 oc_user_action.ibd
Calling the Opencast services takes about 30 minutes and returns a 502 (proxy error)
Does anyone have an Idea how to solve this?
Best regards,
Andreas | TH Deggendorf
--
To unsubscribe from this group and stop receiving emails from it, send an email to users+un...@opencast.org.