How to thoroughly change localhost to a public domain name?

186 views
Skip to first unread message

fish slippery

unread,
Aug 27, 2018, 6:40:19 PM8/27/18
to Opencast Development
I've tried to edit 3 files following the official documentation, and also set up an Nginx reverse proxy with the default localhost of Opencast. But there are still some URLs seems hard-coded, i.e. /engage/theodul/ui. The video files and the genearted thumbnail images are still linked to localhost( so error occured with "The media could not be loaded, either because the server or network failed or because the format is not supported.") , and OAI-PMH, etc.

Lars Kiesow

unread,
Aug 28, 2018, 5:36:16 AM8/28/18
to d...@opencast.org
Hi Fish,
on an all-in-one you only need to modify configuration keys in
custom.properties and set org.opencastproject.server.url to the URL
your Nginx is reachable.

For cluster set-ups, you also want to edit
org.opencastproject.organization-mh_default_org.cfg and set at least:
- prop.org.opencastproject.engage.ui.url
- prop.org.opencastproject.admin.ui.url

Note that this will *not* change URLs for old, already published
events. If you want to migrate them, you can more or less follow the
migration to https:

https://docs.opencast.org/r/5.x/admin/configuration/https/migration/

Regards,
Lars

fish slippery

unread,
Aug 28, 2018, 10:35:36 PM8/28/18
to Opencast Development

I tried the reverse proxy method. The video cannot play in the /engage/theodul/ui/core.html page. The screenshot is as below, pay attention to the browser console 404 not found error, the URL to the viedo is still localhost. This task was added after I switched to the reverse proxy method.

opencasterror.png

fish slippery

unread,
Sep 9, 2018, 2:02:19 AM9/9/18
to Opencast Development

Finally, I switched the no-proxy mode and change the access domain name before start opencast service for the very first time.

Reply all
Reply to author
Forward
0 new messages