UPC/ravada

Installation Instruction - Rocky Linux

rajpatel-msstate opened this issue · 21 comments

Hello everyone,

Could someone please direct me to the link where I can find instructions to install using "dnf" manager for this package on Rocky Linux 9?
or perhaps if there is a way to install manually using the github project download - it perhaps would be best in my case.

I would really appreciate any help you could provide.

Hello @rajpatel-msstate , we had RPM packages kindly provided by @eclipseo . I just checked and here you can find a very latest release https://src.fedoraproject.org/rpms/ravada . Please let us know it is working fine for you.

Hello @frankiejol,
Thank you so much for reaching back out to me.

I have previously tried to install it from the same package, but it fails because of dependencies issues even though I have installed all the perl modules that are required.
I have been trying to install it on "Rocky Linux 9", so there is a chance that some of the package/modules are not made available from fedora just yet.

Please see the attached error message I receive upon attempting to install.
Ravada - installation error

I do want to point out that I have made some headway with manually compiling and installing ravada libraries. If I can get this working, I can provide some instructions on how to install from source code on github. This would perhaps help some other members who might be looking into installing on their rhel based linux server.

ok, I have not looked at the message yet, but we do have a doc to start it from source code: https://ravada.readthedocs.io/en/latest/devel-docs/run.html

No problem at all! That is what I have been following now. 😊
The only issue now I have now is that "Mojolicious" couldn't find the files. I assume that I need to copy the template folder from the github to "var/www/html" folder.

P.S. I have attached my live log from mojolicious for reference.
Ravada - mojilicious error

So, at first glance it looks like the Perl libraries are not installed. I have not tried Rocky Linux, but I guess those packages must exist. Here is the list in Ubuntu, I think there should be similar packages in RPM format. https://github.com/UPC/ravada/blob/main/debian/control-ubuntu-20.04

Ah ok, it looks like you are making progress. I am waiting to see if you can fix the mojo thingie.

I finally managed to resolve the issue.
I think the issue I was facing was because of the old rvd_front.service and rvd_back.service service working. Once I stopped them and then use the command to run the rvd_back and rvd_front (it worked like a charm).
Ravada - Successful Installation

Just curious, if there is a nice way to create systemd service file for front end that uses morbo.
I tried, but it gives me error.
I am trying to modify the existing rvd_front.service file.
Ravada - Service file

My apologies. I was able to use the rvd_front conf file that. Now, I am able to use the rvd_front service as well like before.

Fantastic ! If you have some time it would be great if you contributed a small document about installing Ravada on Rocky Linux. No pressure.

Yes, of courseI I would love to. It will allow me to replicate the process as well in future. This is my first github contribution so if you do not mind, could you please guide me on how can I proceed.

On a separate note, I saw in the rvd_front.conf.example file that the port listed to listen was on :8081, but I think it needs to be :3000 as the morbo defaults to that.

Great ! We have step-by-step guide for contributing docs here: https://ravada.readthedocs.io/en/latest/docs/new_documentation.html

About the front service. Morbo is best suited for development, though in this case it is probably ok. In production we use hypnotoad , that is also provided by Mojo. I guess you already saw them, but these are the systemd startup scripts: https://github.com/UPC/ravada/tree/main/etc/systemd

About the front service. Morbo is best suited for development, though in this case it is probably ok. In production we use hypnotoad , that is also provided by Mojo. I guess you already saw them, but these are the systemd startup scripts: https://github.com/UPC/ravada/tree/main/etc/systemd

Ahh! I see. I change the port back to 8081, and it is still running as expected. Thank you for your explanation.

Great ! We have step-by-step guide for contributing docs here: https://ravada.readthedocs.io/en/latest/docs/new_documentation.html

I get the following error when trying to run "git checkout gh-pages" inside ravada directory
error: pathspec 'gh-pages' did not match any file(s) known to git

Any ideas?

Weird, I just tried myself. Just make sure you are in the sources directory. Also maybe you didn't fetch all the branches, try: git fetch origin , then git checkout gh-pages

Weird, I just tried myself. Just make sure you are in the sources directory. Also maybe you didn't fetch all the branches, try: git fetch origin , then git checkout gh-pages

I don't know why it didn't fetch previously. I am using Github Desktop, and it was able to find the branch upstream/gh-pages.
Thank you for your help!

Hey @frankiejol,

I apologize for my lack of response. I just finished preparing the documentation for "Rocky 9 " Install instructions.
Could you please request merge to the "main" branch?

Wonderful ! Please do a "Pull Request" from github to our main branch in the UPC/Ravada repo.