-
-
Notifications
You must be signed in to change notification settings - Fork 223
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
Server setup and installation #5
Comments
Thanks for moving this from the taiga to GitHub. That's a nice guide. It contains some alsa stuff and I can't quite see how that would work on AWS (or any other hosted virtualization platform not tailored for such use). My legacy upstream fork has some info on how to install on CentOS parts of which may be generally useful. Some of the more opinionated parts of the install script should also be moved to documentation rather than just blindly installing (ie. it doesn't make sense to tell a user to change the rabbitmq password on the Web-UI when it's too late; if we automate this we should prompt for one or generate one and use that). |
Sounds like there are some tasks for the community to work through. Per our previous discussion, possibly we can provide an AWS instance to test install and provide a demo site. |
To have everything in one space, this is my feedback from taiga:
My point being that we should make it very easy to get up and running for a demo locally. I believe having a public demo instance would be too much of a burden at this moment. |
Amazon Linux seems to be a flavor of CentOS, the RPMs I plan on building should work there! |
@hairmare That sounds promising! Let me know when there's something to test or if there's something you need help with. |
It'd be nice to have some installation instructions documented somewhere obvious (like INSTALL.txt). Don't get me wrong, RPMs, EC2 AMIs and so forth are great. But basic manual installation instructions would be invaluable. What exists now, in the form of a long shell script, was last updated two years ago. The upstream docs refer to Ubuntu and Debian distros that either already are, or soon will be EOL. |
Hello @ergonlogic Welcome to the LibreTime community. We are glad to have you on board. Help us keep LibreTime open and inclusive by following our Code of Conduct (CoC).
Absolutely, what I've got so far are some CentOS docs on RaBe's opinionated fork. I plan on porting those together with the packaging setup. From what I can tell there is also some cleanup needed for most of the distros you mention (i.e. we need silan to be well supported by debian looking forward, see debian#855319) I'm thinking of creating a nice clean collection of the relevant docs (like INSTALL.md) in Feel free to start writing the great INSTALL.md we are lacking, LibreTime is happy to have you contributing. You can also use the wiki if that suits your needs. Thanks again for contributing, P.S: I sent you a team invite so you can assign and tag issues. |
It sounds like there's a need for documentation? Possibly there should be a list of the types of contributions/contributors you need to develop and sustain the project? Sorry if that's a bit off topic. |
CONTRIBUTING.md already has some pointers. Cleaning up and adding to the documentation are extremely worthy contributions! The C4 also helps define "Contributing" and "Maintaining". There is not only the technical docs like INSTALL.md, we should also find a way to save the 2.5 and pro manuals. Maybe transcribing them to Documentation wrangler certainly makes your list. Does it make sense to keep such a list in the wiki? |
Documentation lead, development help, testing/qa.. any other key roles that are needed to fill? |
packaging (as in rpm and deb packages), maybe ux? all things audio/liquidsoap... possibly more. I'm not sure we need a very strict list of positions, defining responsibilities is certainly important. A bit offtopic, but since this is about getting folks to figure out how they can help: The last few issues (#17 & #18) I created were in a fashion so they should be doable for a dev that wants to get wet feet. I'm thinking of introducing a tag for those so new contributors can find some easy low hanging fruit if they are looking. |
I filed a couple PRs to address some of the suggestions in #5 (comment). Having now read through the installer script, I'm of the opinion that we should re-think its all-in-one nature. I think a good first step would be to split it up into separate stages. Each could still source the custom functions, etc. and calling |
👍 For the I did some testing with a Makefile but realized, that all of I'm not sure about others, but with I kind of like how some modern apps from redhat come with their own installer cli which you install as a package and then run separately (ie. spacewalk has Maybe the |
I tried a LibreTime Vagrant install which for the most part was a success. During setup last night, I wasn't able to successfully run these commands in the terminal... Upon doing a 'vagrant up ubuntu' just now, everything seems to be working. As I'm a Vagrant newb, I'm not sure why it's working now... very glad I'm able to test! Great work getting 3.0.0-alpha out the door! |
It could have failed for numerous reasons. Did you get any output when running the commands? Maybe something went to the logs in I've seen issues with adding a soundcard to the VM that tend to clear up after running |
I got a ' command not found' for example -
Might just be me not entering the command in the right place. |
You need to connect to the box with After restarting the box they automatically started as is intended. They don't get started by the installer since setup needs to be completed for them to not fail. |
Probably would make sense to most people familiar with Vagrant. There's going to be a lot more testers and users once we're able to easily install on AWS! |
With regards to installing on AWS, is what's being discussed by @ergonlogic and @hairmare in the comments above part of the proposed solution? Is there anything other contributors can help with? |
I think that it should be fairly easy to install on a AWS virtual machine, although if you wanted to use S3 as the file storage that needs to be tested still. |
Absolutely, Ubuntu and Debian are both available on EC2 as an AMI that should most likely work out of the box. As Robb said S3 needs testing. We might need to bump the aws sdk version we are using, but I've used that in the past and it was never an issue. |
I will be setting LibreTime up on Debian 9 in the next week or so and will document it as I go. I'm also planning to package it for Debian, though that depends heavily on the amount of work that takes vs the amount of time I have currently |
@paddatrapper The debian folder originally used by legacy upstream is at https://github.com/Airtime/airtime-packaging. Maybe that can help you as a starting point. There is also #132 where I tried to document what I think is needed. I don't see any reason why php 7 (the default in debian 9) should not work, but it's mostly untested. Things like python-rgain, liquidsoap and silan might be a piece of work since their packages haven't been looked at for a while (ie. I did an NMU for silan at debian#855319). |
That will definitely help a lot. I'll only get to packaging it once I've rolled it out on the server I am currently waiting for though, so will be in a week or so. As Debian 9 Freeze is in progress, we will not be able to get LibreTime into stable until the next release, unless we use backports, but that all depends on how many other dependencies, etc we have to package.
PHP 7 is fairly pliant with PHP5 code, at least in my experience, so best-case will just need testing
At least they are all still in the repos, updating their packaging will definitely be needed though |
I think we are getting closer to having something that works on servers like AWS. The fact that #146 has it working on an OVH VPS is promising. This is most likely replicable on AWS using the Ubuntu Server 14.04 LTS AMI, other distros are available.
Now that some basics have been taken care of I'll try to list what I would consider next steps to get the ball rolling here (I'm also trying to list what is already done)
And the rather amazon specific things
In some cases the packaging also contains getting upstream packages bumped and maintained if we need them to be. The reason I'm putting so much focus on packaging is because I feel that it will make managing the systems so much easier. We need to have a easy way for folks to update their installs if we want to have happy users, thus having distro packages is kinda needed across the board. Most of the documentation already references a package based setup and they show a user experience that make lots of sense. |
Just to update this issue with elements from this related discourse thread - https://discourse.libretime.org/t/libretime-on-aws/81 This was @hairmare's response to me asking if #5 (comment) was still valid -
And @Robbt's response with regards to what it would take to run a LibreTime equivalent of https://www.airtime.pro/
Finally I had some thoughts on why a hosted solution might be beneficial -
I'm curious if there are others who see the potential value of such a setup and/or would be interested in helping work through the outstanding todos #5 (comment) if there were incentives? |
I'd be keen to help with a hosted version of LT. I am busy with the packaging for Debian and Ubuntu, but help is always appreciated, as I have very limited time available at the moment. |
Thanks @paddatrapper
So those look like the next two items on the checklist #5 (comment)? Are there specific tasks/issues where we could direct contributors? Might as well add @hairmare's comments regarding LibreTime docker images https://discourse.libretime.org/t/libretime-on-aws/81/7
Would any of that work help make LibreTime on AWS possible? If so, how/where can direct contributors to that? |
|
This issue has been automatically marked as stale because it has not had activity in the last 5 months. It will be closed if no activity occurs in the next month. |
Resetting some of the discussion pertaining to installing LibreTime on a server like AWS. Assuming we'll want to have a guide similar to the upstream branch, what steps are necessary to get there?
The text was updated successfully, but these errors were encountered: