Detektivo errors on index/reindex

See errors in console screenshot.

Reindexing just cycles. Using latest Cockpit and Detektivo.

@artur?

Looking closer, my cockpit install is in a subdirectory mysite.com/cockpit/ and the assets are not using the subdirectory as the base url, but using the mysite.com.