After uninstalling the version. 2.1.4 and installing 2.2.0 does not work the script #3354
-
Describe the bug
To rule out that the error was that the environment variables were not read correctly, I edited the script and put the values in plain text. To Reproduce
Expected behavior Version details opam version: 2.1.2 Install method Common issues Dependencies Packageangstrom.0.15.0 |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 16 replies
-
Hi @juanamm, If I were you, I'd change the script to something like this
|
Beta Was this translation helpful? Give feedback.
-
Thanks for your advice @vitoyucepi , now I uninstalled v 2.2.0 because didn't know the reasons for the errors and I went back to 2.1.4. But I will copy the modifications that you have proposed to try it at some point and I will read the guide that you have shared with me. EDIT: I am using an EC2 t2.micro from aws and it is very difficult to install everything again due to the limited resources of that instance, 1 processor and 1GB of RAM. |
Beta Was this translation helpful? Give feedback.
-
@vitoyucepi I have edited my answer because I just remembered where I got that code from part 3 Functions which is not entirely clear to you. |
Beta Was this translation helpful? Give feedback.
-
@vitoyucepi Main.liq
Package
Trying to restart main-liquidsoap:
Result: Liquidsoap Status (never manages to restart)
Icecast.xml
NOTE: You will see few active lines in the configuration, because everything else I configure through liquidsoap, so it worked correctly for me with v. 2.1.4 Icecast Status (running OK):
OCaml version: 5.0.0 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@vitoyucepi nothing works for me anymore. :(
I found that error with this command: It would be a good idea to add a file log to the liquidsoap daemon or script to see things better. |
Beta Was this translation helpful? Give feedback.
-
I made a silly mistake with service's name and paid dearly for it, thank you very much for noticing it. |
Beta Was this translation helpful? Give feedback.
-
Now, I am creating a configuration to add a few lines in the service file to create a log file.
Note: Before step 2., I had created a config file in
Do you have any idea what I have set wrong? Edit:
|
Beta Was this translation helpful? Give feedback.
-
I'm going to make a comment for all those who are migrating from v. 2.1.4 to 2.2.0, regarding UTF-8 encoding for Icecast2 to support Cyrillic characters.
And in Liquidsoap
I mention this because it took me hours to figure out how to do it correctly.
and set
to icecast2, got metadata with correct cyrillic characters, but streaming audio didn't work.
Streaming audio played but Cyrillic character metadata was displayed incorrectly: When doing these tests I realized that the configuration of the mount point (in my case /stream) was being duplicated by the line:
|
Beta Was this translation helpful? Give feedback.
Something wrong with settings.
# settings.tag.encodings := ["UTF-8", "ISO-8859-1"]