Dear opencast-community,
I am currently working on a project from my university that wants to use classroom videos for educational purpose. Because our budget is very limited, we only have one server, with the DNS project.uni-leipzig.de, on which we need to install opencast, moodle and a typo3 landing page.
We would
like the domain structure to be like this.
opencast.project.uni-leipzig.de = for the Opencast instance
moodle.project.uni-leipzig.de = for the moodle instance
project.uni-leipzig.de = for the landing page
Currently we are struggling to find a way to operate opencast on this subdomain. I already found a Google-Groups conversation from 2017 where it was stated that opencast is not meant to run on a subdomain. Is this still the case? If not, which files would need editing to make it work?
I would be grateful for any help regarding this problem.
Regards,
Tom
Hi Max, thanks for the quick response, especially this close before Christmas.
I already tried the steps on the site you send but maybe I did something wrong.
1. In nginx sites-enabled create a opencast.conf file in which I copy the http and https setup.
2. Replace example.opencast.org with opencast.project.uni-leipzig.de
3. Add the LetsEncrypt certificate made for project.uni-leipzig.de
4. Restart nginx
5. In /etc/custom.properties change put org.opencastproject.server.url=https://opencast.project.uni-leipzig.de
6. Start activemq then elasticsearch and lastly opencast
Am I missing something? Because when I start opencast the installation isn’t working.
This is the opencast.log I am getting when starting opencast.
Hello Lars,
I already installed opencast via this tutorial and on project.uni-leipzig.de its running perfectly fine. But when I change the URL in the installation process to project.uni-leipzig.de/opencast I reach the login-overlay and when I then try to log-in I get a Error 404. I attached some Screenshots.
sudo nginx -t also gives that the build was successful
I also get redirected to the login-page with curl -I http://localhost:8080
One strange behaviour I have is that I go to the login-page with project.uni-leipzig.de/opencast enter admin and password then get the error404 go back re-enter admin and password and then get logged in. But when I then try to reach opencast over project.uni-leipzig.de/opencast again I instantly get the error404. Only when I then delete cookies and website -data in my browser I reach the login-page with project.uni-leipzig.de/opencast again but the cycle repeats.
Regards,
Tom
Hi Sven,
Yes, it seems like I got a bit confused there. I want to set it up as a subdomain opencast.project.uni-leipzig.de. I also just realised that I need to make a request to the university to firstly add this subdomain to the domain. After that I should be able to make it work. Sorry about the inconvenience. I think its pretty obvious that I am new to the topic.
Thanks for the help and time you and Max gave me anyway.
Best regards and merry christmas,
Tom