Opencast crashing on startup

30 views
Skip to first unread message

Johannes Hass

unread,
Feb 23, 2022, 1:48:00 PM2/23/22
to Opencast Users
So, currently, for completely unknown reasons OC is crashing hard at startup.

I recently did an update from source (though NOT a point upgrade!) and it ran fine afterwards. For a while. I just wondered why the videos were not working anymore.

Well, the admin panel just displayed an infinitely loading list. Restarting the service now only yields this:

2022-02-23T19:40:04,511 | ERROR | (EventDispatcher:881) - FrameworkEvent ERROR
java.lang.IllegalArgumentException: Filter [org.opencastproject.kernel.rest.CleanSessionsFilter@4a00baa5 is not currently registered in any context
        at org.ops4j.pax.web.service.spi.model.ServiceModel.removeFilter(ServiceModel.java:201) ~[?:?]
        at org.ops4j.pax.web.service.internal.HttpServiceStarted.unregisterFilter(HttpServiceStarted.java:679) ~[?:?]
        at org.ops4j.pax.web.service.internal.HttpServiceProxy.unregisterFilter(HttpServiceProxy.java:246) ~[?:?]
        at org.ops4j.pax.web.extender.whiteboard.internal.element.FilterWebElement.unregister(FilterWebElement.java:74) ~[?:?]
        at org.ops4j.pax.web.extender.whiteboard.internal.WebApplication.unregisterWebElement(WebApplication.java:417) ~[?:?]
        at java.util.ArrayList.forEach(ArrayList.java:1541) ~[?:?]
        at org.ops4j.pax.web.extender.whiteboard.internal.WebApplication.addWebElement(WebApplication.java:181) ~[?:?]
        at org.ops4j.pax.web.extender.whiteboard.internal.tracker.AbstractTracker.addingService(AbstractTracker.java:193) ~[?:?]
        at org.ops4j.pax.web.extender.whiteboard.internal.tracker.AbstractTracker.addingService(AbstractTracker.java:46) ~[?:?]


So. I'm seriously considering replacing Opencast with ffmpeg.

Any pointers on where you guys are hiding away the video files my users uploaded so they don't have to upload them again?

Johannes Hass

unread,
Feb 23, 2022, 1:49:04 PM2/23/22
to Opencast Users, Johannes Hass
Damnit, not from source. From the apt repository.

Greg Logan

unread,
Feb 23, 2022, 2:28:02 PM2/23/22
to Opencast Users
Hi Johannes,

The raw files should be in /var/lib/opencast/.

The error you're seeing would happen in the case of an unclean shutdown/startup but it doesn't tell us anything useful.  The log should have given you *some* other output too.  Let's try this:

- Stop Opencast.  Ensure no java processes remain with ps -aux.
- Clear the log file
- Run apt-get install -f to make sure apt is happy too
- Restart Opencast

If that doesn't fix it, then I'll need to see the full log file after the restart, and the output of dpkg -l | grep opencast.  From the symptoms I'm wondering if you've somehow got the apt packages partially installed.

G

--
To unsubscribe from this group and stop receiving emails from it, send an email to users+un...@opencast.org.

Dietmar Zenker

unread,
Feb 24, 2022, 8:25:21 AM2/24/22
to Opencast Users, johann...@gmail.com
Hi,

which Opencast version do you use? I had a similar problem some time ago as described here. Maybe your problem is related to this, but after a few tries Opencast should start normally.

Greetings,
Dietmar





Reply all
Reply to author
Forward
0 new messages