Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation Instruction - Rocky Linux #1959

Closed
rajpatel-msstate opened this issue Jun 2, 2023 · 21 comments
Closed

Installation Instruction - Rocky Linux #1959

rajpatel-msstate opened this issue Jun 2, 2023 · 21 comments
Assignees

Comments

@rajpatel-msstate
Copy link
Contributor

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.

@frankiejol
Copy link
Member

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.

@frankiejol frankiejol self-assigned this Jun 6, 2023
@rajpatel-msstate
Copy link
Contributor Author

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

@rajpatel-msstate
Copy link
Contributor Author

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.

@frankiejol
Copy link
Member

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

@rajpatel-msstate
Copy link
Contributor Author

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

@frankiejol
Copy link
Member

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

@frankiejol
Copy link
Member

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

@rajpatel-msstate
Copy link
Contributor Author

rajpatel-msstate commented Jun 6, 2023

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

@rajpatel-msstate
Copy link
Contributor Author

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

@rajpatel-msstate
Copy link
Contributor Author

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.

@frankiejol
Copy link
Member

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

@rajpatel-msstate
Copy link
Contributor Author

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.

@frankiejol
Copy link
Member

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

@frankiejol
Copy link
Member

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

@rajpatel-msstate
Copy link
Contributor Author

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.

@rajpatel-msstate
Copy link
Contributor Author

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?

@frankiejol
Copy link
Member

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

@rajpatel-msstate
Copy link
Contributor Author

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!

@rajpatel-msstate
Copy link
Contributor Author

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?

@rajpatel-msstate
Copy link
Contributor Author

Here is the fork for my github - https://github.com/rajpatel-msstate/ravada.git

@frankiejol
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants