Doesn't work on Debian 10 #1838
Replies: 27 comments
-
Hi, I have liquidsoap version 1.4.4 running as a service on Debian 10. I installed it via opam by doing the following... #install via opam#
You may need to add or remove some of the above (depending on what you need) You then need to install the liquidsoap daemon ... I did it by doing the following...
|
Beta Was this translation helpful? Give feedback.
-
Thanks so much for your helpful reply oranjebloom! I've managed to get it installed and running now but I still can't manage to get it running as a service.
Any ideas how I would achieve this? |
Beta Was this translation helpful? Give feedback.
-
I run my service by doing If that doesn't work we then need to look at where your Then from the liquidsoap-daemon/ directory, I ran the daemonize command Doing that should create a new file ending in If you can see all these files in these locations after doing the steps above, then try running the service command again. If this doesn't work, delete all those files, and try it a second time. It took me a few goes to get it working. |
Beta Was this translation helpful? Give feedback.
-
Might be a problem with your script. Did the script work when you ran it in a previous version? Was it version 1.3.3? There may have been changes that cause it to break in version 1.4.4. Can you show me your script? |
Beta Was this translation helpful? Give feedback.
-
Thanks once again for your help, really appreciate it. That is indeed the way to get the service to work, but sadly it's throwing up a whole bunch of other errors and I don't even know where to start... Firstly when I try to start it I get this..
So, I do as it asks and get this...
Then I try to run it directly in daemon mode and discover that I'm missing directories..
All I have in
No |
Beta Was this translation helpful? Give feedback.
-
Do you have this at the top of your liq script?
|
Beta Was this translation helpful? Give feedback.
-
The path seems wrong. It should point to |
Beta Was this translation helpful? Give feedback.
-
can you also open up the file ending in |
Beta Was this translation helpful? Give feedback.
-
Top of liq was :
Contents of
|
Beta Was this translation helpful? Give feedback.
-
I recommend that you change your liq script so this is at the top ... #!/home/debian/.opam/4.08.0/bin/liquidsoap/ ...then delete the files ending in ...
Then daemonize your updated liq script by running after that try to start the daemon |
Beta Was this translation helpful? Give feedback.
-
This is my .liq now :
Deleted Re-deamonized it... Tried to start it again and got the same error message, when I do status again I get the exact same report as above? |
Beta Was this translation helpful? Give feedback.
-
where exactly is your liq script located? Is it in /home/debian/liquidsoap-daemon/script/? |
Beta Was this translation helpful? Give feedback.
-
It's at |
Beta Was this translation helpful? Give feedback.
-
This is everything in there :
|
Beta Was this translation helpful? Give feedback.
-
I'll move it into script and re-daemozine again |
Beta Was this translation helpful? Give feedback.
-
create a script directory inside liquidsoap-daemon and place the liq script inside there. Then delete all the files like before and daamonize the script again |
Beta Was this translation helpful? Give feedback.
-
Ahh there is the other .liq file. :D |
Beta Was this translation helpful? Give feedback.
-
after you have daemonised the liq file in the |
Beta Was this translation helpful? Give feedback.
-
Finally got there in the end, I tried doing So You sir are a legend. Thank you so, so much. It's all working now. I owe you a few beers ;) |
Beta Was this translation helpful? Give feedback.
-
Oh one final thing before I leave you in peace... Is this "not our child" msg normal?
|
Beta Was this translation helpful? Give feedback.
-
No worries. Glad you got there. It takes some effort to set up but satisfying once you get it all going. I've had those "not our child" message too but I think they are safe to ignore. It's something that perhaps @toots could answer. |
Beta Was this translation helpful? Give feedback.
-
Hey y'all. Thanks for helping @oranjebloom ! I wonder: do y'all use the |
Beta Was this translation helpful? Give feedback.
-
Hi @toots ... no I don't include that setting in my script. So then, you recommend simply adding |
Beta Was this translation helpful? Give feedback.
-
Oh, ignore the previous reply. I misread your comment. In short, no I don't use |
Beta Was this translation helpful? Give feedback.
-
Well actually this is a good question. I thought Would you mind checking if changing that helps it? There should be a
Could you try and comment it out and see if that helps? Thanks! |
Beta Was this translation helpful? Give feedback.
-
I was able to get my/the-old /etc/init.d/liquidsoap startup daemon script from the debian stretch package and it still works even though im running buster now |
Beta Was this translation helpful? Give feedback.
-
Hey guys, have installed this on Deb 9 with no problems in the past but cannot get it to work on Deb 10.8 at all.
apt-get install liquidsoap
installs an old version 1.3.3, but there is no liquidsoap folder created at/etc/liquidsoap
. Also there are no services associated to it when runningservice liquidsoap status
. The program is installed somewhere as the help file opens up but I can't locate it anywhere?Also looked for
/usr/local/lib/liquidsoap/
as per the docs but again, doesn't exist.Tried installing as a sudo user first, then wiped it and tried as root. Neither worked.
So I removed all of that and tried downoading and installing the 1.4.4 deb file directly. This fails with a list of dependencies that no longer exist in the debian repo.
Also removed all of that and tried installing with opam but that is just a nightmare, didn't work at all, threw errors all over the place even after setting the correct version etc, didn't even bother noting them down as I never intend to use opam to install anything again - what a mess that is.
Does anybody have any other suggestions to get this working on Deb 10 please?
Beta Was this translation helpful? Give feedback.
All reactions