scysys / AzuraCast-Ubuntu

Effortless AzuraCast Setup on Ubuntu LTS with Classic Installer Approach
GNU General Public License v3.0
5 stars 6 forks source link

azuracast_installer.log #1

Closed gunsar closed 1 year ago

gunsar commented 1 year ago

Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease Hit:2 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease Hit:4 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. misc/prepare_system.sh: line 13: add-apt-repository: command not found

isAAAc commented 1 year ago

hey @gunsar , do you still encounter your issue ? i just finish the install with some (solved) issues, perhaps because the ubuntu wasn't a fresh clean install https://github.com/scysys/AzuraCast-Ubuntu/issues?q=is%3Aissue

scysys commented 1 year ago

@gunsar

misc/prepare_system.sh: line 13: add-apt-repository: command not found

Thats strange. add-apt-repository should be installed by default on Ubuntu 22.04. Make sure you are using the installer only with a fresh installation of Ubuntu 22.04

To fix do this before you start the installer

apt-get install software-properties-common

scysys commented 1 year ago

I just checked on my side. 'software-properties-common' is also inside the installer, so what I wrote before will not help.

I'll do tests before I publish a new release. Please try again with version 0.0.4 and make sure it is Ubuntu 22.04.

Installation

mkdir /root/azuracast_installer && cd /root/azuracast_installer && git clone https://github.com/scysys/AzuraCast-Ubuntu.git . && git checkout ed05865b5a9b871a72dfd8c17c1002788de49b9c && chmod +x install.sh && ./install.sh -i

I hope i dont must say it. But make sure you do this command as root user.

gunsar commented 1 year ago

i have been properly using ubuntu 22.04 from yesterday. now I will try to reformat the VPS and try to reinstall it. thanks for the response

gunsar commented 1 year ago

Fresh Install :

root@trial:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.2 LTS Release: 22.04 Codename: jammy

Root Putty

Some error has occured. Check '/root/azuracast_installer/azuracast_installer.log' for details. root@trial:~/azuracast_installer#

Log :

...............dpkg: error processing package libnginx-mod-mail (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already Setting up libpcre2-dev:amd64 (10.40-1+ubuntu22.04.1+deb.sury.org+1) ... dpkg: dependency problems prevent configuration of nginx: nginx depends on nginx-core (<< 1.18.0-6ubuntu14.3.1~) | nginx-full (<< 1.18.0-6ubuntu14.3.1~) | nginx-light (<< 1.18.0-6ubuntu14.3.1~) | nginx-extras (<< 1.18.0-6ubuntu14.3.1~); however: Package nginx-core is not configured yet. Package nginx-full is not installed. Package nginx-light is not installed. Package nginx-extras is not installed. nginx depends on nginx-core (>= 1.18.0-6ubuntu14.3) | nginx-full (>= 1.18.0-6ubuntu14.3) | nginx-light (>= 1.18.0-6ubuntu14.3) | nginx-extras (>= 1.18.0-6ubuntu14.3); however: Package nginx-core is not configured yet. Package nginx-full is not installed. Package nginx-light is not installed. Package nginx-extras is not installed.

dpkg: error processing package nginx (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of libnginx-mod-http-image-filter: libnginx-mod-http-image-filter depends on nginx-common (= 1.18.0-6ubuntu14.3); however: Package nginx-common is not configured yet.

dpkg: error processing package libnginx-mod-http-image-filter (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libnginx-mod-stream: libnginx-mod-stream depends on nginx-common (= 1.18.0-6ubuntu14.3); however: Package nginx-common is not configured yet.

dpkg: error processing package libnginx-mod-stream (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already Setting up libxml2-dev:amd64 (2.9.14+dfsg-0+ubuntu22.04.1+deb.sury.org+1) ... Processing triggers for man-db (2.10.2-1) ... Processing triggers for libc-bin (2.35-0ubuntu3.1) ... Errors were encountered while processing: nginx-common libnginx-mod-http-xslt-filter libnginx-mod-http-geoip2 libnginx-mod-stream-geoip2 nginx-core libnginx-mod-mail nginx libnginx-mod-http-image-filter libnginx-mod-stream needrestart is being skipped since dpkg has failed E: Sub-process /usr/bin/dpkg returned an error code (1)

scysys commented 1 year ago

Which hosting provider do you use, please? I just want to check it myself with the images there.

gunsar commented 1 year ago

Which hosting provider do you use, please? I just want to check it myself with the images there.

I was this experiment at dedipath, racknerd, virmach

gunsar commented 1 year ago

i did upgrade everything, update and upgrade ubuntu OS and have no problem when upgrading ubuntu, and install azuracast with docker no problem

scysys commented 1 year ago

mkdir /root/azuracast_installer && cd /root/azuracast_installer && git clone https://github.com/scysys/AzuraCast-Ubuntu.git . && chmod +x install.sh && ./install.sh -i

Do again with main please. I checked main now with hetzner and ovh without problems. Also i updated something in main that can cause your posted error.

gunsar commented 1 year ago

I tried again on racknerd and virmach, the problem remains the same install stop on part-5. I tried it on Hetzner and it didn't have a problem. this is very confusing

scysys commented 1 year ago

I dont have access to racknerd or virmach :( The System is the same. I think it should be a problem with the apt sources.list. Maybe i can solve it when i ship the installer with an own sources.list. But it can cause other problems. When i test here for me i only use hetzner and ovh.

gunsar commented 1 year ago

it's very strange, even though all vps do the same steps, after reinstalling the OS, continuing to do apt updates, apt upgrades and all there are no problems.

scysys commented 1 year ago

digitalocean is also ok. ill tested with 2 droplets now.

gunsar commented 1 year ago

yeah right, I also have a digital ocean account, I tried it and it works normally.

scysys commented 1 year ago

you tried at racknerd again with the new installer version? maybe error message will an other one

gunsar commented 1 year ago

virmach is now successfully using Ubuntu 22.04.2 LTS, OS steps start from Install Ubuntu 20.04, then apt update, apt upgrade, do-release-upgrade -d. Generate ACME from the azuracast web browser also runs normally for SSL. The experiment was successful, thank you

for RackNerd still a problem:

(Reading database ... 95% (Reading database ... 100% (Reading database ... 139378 files and directories currently installed.) Preparing to unpack .../tmpreaper_1.6.14+nmu2_amd64.deb ... Unpacking tmpreaper (1.6.14+nmu2) ... Setting up nginx-common (1.18.0-6ubuntu14.3) ... chown: invalid group: ‘root:adm’ dpkg: error processing package nginx-common (--configure): installed nginx-common package post-installation script subprocess returned error exit status 1 Setting up tmpreaper (1.6.14+nmu2) ... dpkg: dependency problems prevent configuration of libnginx-mod-http-xslt-filter: libnginx-mod-http-xslt-filter depends on nginx-common (= 1.18.0-6ubuntu14.3); however: Package nginx-common is not configured yet.

dpkg: error processing package libnginx-mod-http-xslt-filter (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libnginx-mod-http-geoip2:No apport report written because the error message indicates its a followup error from a previous failure.

libnginx-mod-http-geoip2 depends on nginx-common (= 1.18.0-6ubuntu14.3); however: Package nginx-common is not configured yet.

dpkg: error processing package libnginx-mod-http-geoip2 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libnginx-mod-stream-geoip2:No apport report written because the error message indicates its a followup error from a previous failure.

libnginx-mod-stream-geoip2 depends on nginx-common (= 1.18.0-6ubuntu14.3); however: Package nginx-common is not configured yet.

dpkg: error processing package libnginx-mod-stream-geoip2 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of nginx-core:No apport report written because MaxReports is reached already

nginx-core depends on libnginx-mod-http-xslt-filter (= 1.18.0-6ubuntu14.3); however: Package libnginx-mod-http-xslt-filter is not configured yet. nginx-core depends on libnginx-mod-http-geoip2 (= 1.18.0-6ubuntu14.3); however: Package libnginx-mod-http-geoip2 is not configured yet. nginx-core depends on libnginx-mod-stream-geoip2 (= 1.18.0-6ubuntu14.3); however: Package libnginx-mod-stream-geoip2 is not configured yet. nginx-core depends on nginx-common (= 1.18.0-6ubuntu14.3); however: Package nginx-common is not configured yet.

dpkg: error processing package nginx-core (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libnginx-mod-mail: libnginx-mod-mail depends on nginx-common (= 1.18.0-6ubuntu14.3); however: Package nginx-common is not configured yet. No apport report written because MaxReports is reached already

dpkg: error processing package libnginx-mod-mail (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of nginx:No apport report written because MaxReports is reached already

nginx depends on nginx-core (<< 1.18.0-6ubuntu14.3.1~) | nginx-full (<< 1.18.0-6ubuntu14.3.1~) | nginx-light (<< 1.18.0-6ubuntu14.3.1~) | nginx-extras (<< 1.18.0-6ubuntu14.3.1~); however: Package nginx-core is not configured yet. Package nginx-full is not installed. Package nginx-light is not installed. Package nginx-extras is not installed. nginx depends on nginx-core (>= 1.18.0-6ubuntu14.3) | nginx-full (>= 1.18.0-6ubuntu14.3) | nginx-light (>= 1.18.0-6ubuntu14.3) | nginx-extras (>= 1.18.0-6ubuntu14.3); however: Package nginx-core is not configured yet. Package nginx-full is not installed. Package nginx-light is not installed. Package nginx-extras is not installed.

dpkg: error processing package nginx (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libnginx-mod-http-image-filter:No apport report written because MaxReports is reached already

libnginx-mod-http-image-filter depends on nginx-common (= 1.18.0-6ubuntu14.3); however: Package nginx-common is not configured yet.

dpkg: error processing package libnginx-mod-http-image-filter (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libnginx-mod-stream:No apport report written because MaxReports is reached already

libnginx-mod-stream depends on nginx-common (= 1.18.0-6ubuntu14.3); however: Package nginx-common is not configured yet.

dpkg: error processing package libnginx-mod-stream (--configure): dependency problems - leaving unconfigured Processing triggers for man-db (2.10.2-1) ...No apport report written because MaxReports is reached already

Errors were encountered while processing: nginx-common libnginx-mod-http-xslt-filter libnginx-mod-http-geoip2 libnginx-mod-stream-geoip2 nginx-core libnginx-mod-mail nginx libnginx-mod-http-image-filter libnginx-mod-stream needrestart is being skipped since dpkg has failed E: Sub-process /usr/bin/dpkg returned an error code (1) Error sourcing tmpreaper.sh

scysys commented 1 year ago

OS steps start from Install Ubuntu 20.04, then apt update, apt upgrade, do-release-upgrade -d.

There are no direct ISOs for 22.04? By the way, after a release upgrade, always do a reboot.

Generate ACME from the azuracast web browser also runs normally for SSL.

Anything inside AzuraCast should run. I tested all functions and have no problems found.

for RackNerd still a problem

I think i have it

chown: invalid group: ‘root:adm’

I also found errors related to this on search engines. I'll update the main branch to help address this issue from RackNerd's images.

Just do again to test please

mkdir /root/azuracast_installer && cd /root/azuracast_installer && git clone https://github.com/scysys/AzuraCast-Ubuntu.git . && chmod +x install.sh && ./install.sh -i


You should also write them and ask them why there images missing the default group root:adm group. This group is normally installed by ubuntu itself on first setup.

Anyway you they can test it with theire fresh images with this

apt-get install nginx

It will fail because of this missing group. Maybe there are other things missing on the ISOs. Hopefully not :)

gunsar commented 1 year ago

the experiment on racknerd stopped, my vps has not been added to its active period, install on dedipath is running normally. thank's is there any other way to change main panel page port? for example enter the main page azuracsat sub.domain.com:12000. I managed to change it to try the Azuracast Dockcer

scysys commented 1 year ago

Sure just edit the panel conf

/etc/nginx/sites-available/azuracast.conf

HTTP: https://github.com/scysys/AzuraCast-Ubuntu/blob/main/web/nginx/azuracast.conf#L48 HTTPS: https://github.com/scysys/AzuraCast-Ubuntu/blob/main/web/nginx/azuracast.conf#L49

After changed the Port just restart Nginx with

supervisorctl restart nginx

gunsar commented 1 year ago

thank you, I will try My experiment was on my docker compose version, custom link listen stream via nginx to https://sub.domain.com/(mount) and it worked, I'll try it on this ansimble version. I just realized, the latest update after installing the last version of your Ansimble version. footer information changed: Powered by AzuraCast • Rolling Release # (N/A) • Ansible • PHP 8.1 reminds me yesterday: Powered by AzuraCast • v0.17.6 Stable • Ansible • PHP 8.1

**edit @scysys SSL reading on icecast kh15 is a bit slow when playing URL. hopefully there is another way to upgrade the icecast to the kh17 or latest version, because it reads ssl faster when playing https url

scysys commented 1 year ago

SSL reading on icecast kh15 is a bit slow when playing URL. hopefully there is another way to upgrade the icecast to the kh17 or latest version, because it reads ssl faster when playing https url

I also need it, and I will add those things later to the installer. For now, I must make some internal changes on my end. Then I will implant updates and add some other necessary stuff.

I just realized, the latest update after installing the last version of your Ansimble version. footer information changed: Powered by AzuraCast • Rolling Release # (N/A) • Ansible • PHP 8.1

Thats normals. AzuraCast´s version check checks only for Docker and when Docker not found its automatic Ansible. I thought to change it, but i think its nothing that is wanted inside the project. So just ignore it :)

gunsar commented 1 year ago

I also need it, and I will add those things later to the installer. For now, I must make some internal changes on my end. Then I will implant updates and add some other necessary stuff.

goood :) indeed it can be very flexible if we can update the latest version of icecast-kh, including the latest nginx update, success for you

scysys commented 1 year ago

yes it can be all together in one routine or separated into multiple commands

gunsar commented 1 year ago

@scysys please help and check

Screenshot 2023-02-27 065424

try again fresh install ubuntu 22 on Racknerd & CloudCone, there is the same problem. Install only up to step 7 as shown in the picture. View the log as follows:

............................................... ...............................................

Database Migrations

Backing up initial database state...

WARNING: Forcing protocol to TCP due to option specification. Please explicitly state intended protocol. Running database migrations...

[OK] Database migration completed!

scysys commented 1 year ago

Racknerd i have fixed only in main.

mkdir /root/azuracast_installer && cd /root/azuracast_installer && git clone https://github.com/scysys/AzuraCast-Ubuntu.git . && chmod +x install.sh && ./install.sh -i

When its occured with your image and puttys fatal error. It is because of your connection.

gunsar commented 1 year ago

well, I installed it using the main version, and it only installed up to the 7th step. I also think so, there is a connection problem. Racknerd and Cloudcone are one Multacomm internet network. no problem, I'm just curious and just experimenting. success for you..

gunsar commented 1 year ago

@scysys

I was curious and tried to return on CloudCone problem :

Some error has occured. Check '/root/azuracast_installer/azuracast_installer.log' for details.

log :

[OK] Database migration completed!

npm ERR! code EHOSTUNREACH npm ERR! syscall connect npm ERR! errno EHOSTUNREACH npm ERR! request to https://registry.npmjs.org/zxcvbn/-/zxcvbn-4.4.2.tgz failed, reason: connect EHOSTUNREACH 2606:4700::6810:1823:443

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2023-02-27T14_29_30_406Z-debug-0.log

scysys commented 1 year ago

npm ERR! request to https://registry.npmjs.org/zxcvbn/-/zxcvbn-4.4.2.tgz failed, reason: connect EHOSTUNREACH 2606:4700::6810:1823:443

Thats connection related by your host there. Can be a misconfiguration of ipv6.

You can check your IPv6 connection to this host with

ping -6 registry.npmjs.org

This is not a installer error. If command ping above is ok. Just install again. Could be a temporary error with the other host. I can add checks if this happen to often.

well, I installed it using the main version

Ill updated that main and listed installer version are the same now.


I was curious and tried racknerd myself. No problems after the fix above.

Bildschirm­foto 2023-02-27 um 17 02 15
gunsar commented 1 year ago

You can check your IPv6 connection to this host with

ping -6 registry.npmjs.org

My VPS on RackNerd doesn't have Ip6, I see it on SolusVM

Status : Online Operating System : Ubuntu 22.04 64 Bit IPv4 Address : 1 IPv6 Address : 0

** It seems that the main problem is that IP6 is not active, I will request it from them and try again.

gunsar commented 1 year ago

@scysys

now the install is successful thanks, the test is working fine It looks like you have to add a note in the readme, the Server besides having to be OS Ubuntu 22 must also be active IP6 good luck to you and azuracast

scysys commented 1 year ago

It looks like you have to add a note in the readme, the Server besides having to be OS Ubuntu 22 must also be active IP6

No. It does no matter if you have v4, v6 or both. The error above is not on my or installer side. It is something that should people handle theireself on the host. People who cant do this should always using the docker variant.

gunsar commented 1 year ago

Okay, you have enough to add the note "I'm Run Automatic Tests with these 3 Hosters on Every Version. Ubuntu 22.04 LTS........". Ready ... let this just note for me, from the experimental experience in RackNerd or CloudCone the problem is to activate IP6, if not activated IP6, the installer process only stops until Step-7. Thank you .. Success for you ...

scysys commented 1 year ago

No 😂 Something you should not understand right. Install process has nothing to do with ipv4 or 6. If you have both or one of it, it doenst matter. The error above your postet was located on the machine directly. You can also install with ipv4 only.

Racknerd was also successfully here: https://github.com/scysys/AzuraCast-Ubuntu/issues/1#issuecomment-1446598453

gunsar commented 1 year ago

Sure just edit the panel conf

/etc/nginx/sites-available/azuracast.conf

HTTP: https://github.com/scysys/AzuraCast-Ubuntu/blob/main/web/nginx/azuracast.conf#L48 HTTPS: https://github.com/scysys/AzuraCast-Ubuntu/blob/main/web/nginx/azuracast.conf#L49

After changed the Port just restart Nginx with

supervisorctl restart nginx

@scysys any ideas to change the stream URL to be shorter for certain stations?

for the forward nginx URL station to be short, I have succeeded (setting on my satation with port: 8000) the nginx config becomes:

https://domain.com:8000/<mountpoint> https://domain.com/8000/<mountpoint> https://domain.com/listen/<mountpoint>

but i want to be : https://domain.com/<mountpoint> and login panel for example changing port to http://domain.com:2096/login

Is there a way to set it up like that in Ansible?

scysys commented 1 year ago

This here is nothing other here than in the ansible version. Just the install process is different. You can do custom nginx conf per station here: /var/azuracast/stations/*/config/nginx.conf or also here /etc/nginx/azuracast.conf.d/. unsure if the first one will be overwrited by azura.

But i never have changed those urls. Maybe its not that easy to just change the nginx conf. Maybe the links inside azura will fail then if there is no redirect to new location.

For the Ports i showed you where to change.

HTTP: https://github.com/scysys/AzuraCast-Ubuntu/blob/main/web/nginx/azuracast.conf#L48 HTTPS: https://github.com/scysys/AzuraCast-Ubuntu/blob/main/web/nginx/azuracast.conf#L49

gunsar commented 1 year ago

I try managed to do it on azuracast docker and centova custom with the help of nginx outside, work fine

Stream URL https://<sub.domain.com>/<mountpoint> Panel URL http://<sub.domain.com>:2199/ and the main stream url is still running normally in https://<sub.domain.com>:<port>/<mountpoint>

I'm still not perfect for this Ansible version of Azuracast, I don't understand where the wrong setting is.

scysys commented 1 year ago

Thoose paths are here: /var/azuracast/stations/station_1/config/nginx.conf But this file is regenerated by azuracast, when you restart your broadcasting.

It seems much more complicated. Also i see a few proxy pass redirections. Thoose things are always bad. With an high amount of listeners it will always need much more ressource than you normally really need. In my opinion this is one thing that should be changed inside azura. But i only need it for 5 Listeners on each station. So the proxy redirects are ok for me.

To archive what you want try this

nano /etc/nginx/azuracast.conf.d/example.conf

Insert

location /stream {
    include proxy_params;

    proxy_intercept_errors    on;
    proxy_next_upstream       error timeout invalid_header;
    proxy_redirect            off;
    proxy_connect_timeout     60;

    proxy_set_header Host example.com;
    proxy_pass https://example.com:port/mountname;
}

Before you insert it you must change

example.com = your domain port = port of your station mountname = with the stations moutname

So if you have

https://example.com:8160/stream

It must be

proxy_set_header Host example.com;
proxy_pass https://example.com:8160/stream;

So

https://example.com:8160/stream

Will become

https://example.com/stream

Not tested. But should work.

At the End you do this command to restart anything

supervisorctl restart all

BTW: For Ports and Icecast Update ill added options to the installer :p

gunsar commented 1 year ago

thanks, the example command you added in /etc/nginx/azuracast.conf.d/ above is very good, the test went well. now domain.com/login and domain.com/stream have different contents and run well and don't collide with the login panel, yesterday I had the wrong settings and the results clashed hehehe... by the way i tried update and --icecastkhmaster worked fine too. Yesterday I tried updating Icecast manually, now you have provided it and it's more practical. thank you very much, the experiment was successful

gunsar commented 1 year ago

try to install on another vps, error log:

Get:1 https://ppa.launchpadcontent.net/sftpgo/sftpgo/ubuntu jammy/main amd64 sftpgo amd64 2.4.4-1ppa1 [11.9 MB] Fetched 11.9 MB in 2s (5,544 kB/s) Selecting previously unselected package sftpgo. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 139996 files and directories currently installed.) Preparing to unpack .../sftpgo_2.4.4-1ppa1_amd64.deb ... Unpacking sftpgo (2.4.4-1ppa1) ... Setting up sftpgo (2.4.4-1ppa1) ... 2023-03-07T10:58:18.194 INF Initializing provider: "sqlite" config file: "/etc/sftpgo/sftpgo.json" 2023-03-07T10:58:18.195 INF creating initial database schema, version 19 2023-03-07T10:58:18.203 INF updating database schema version: 19 -> 20 2023-03-07T10:58:18.208 INF updating database schema version: 20 -> 21 2023-03-07T10:58:18.211 INF updating database schema version: 21 -> 22 2023-03-07T10:58:18.214 INF updating database schema version: 22 -> 23 2023-03-07T10:58:18.216 INF Data provider successfully initialized/updated Created symlink /etc/systemd/system/multi-user.target.wants/sftpgo.service → /lib/systemd/system/sftpgo.service. Processing triggers for man-db (2.10.2-1) ... NEEDRESTART-VER: 3.5 NEEDRESTART-KCUR: 5.15.0-67-generic NEEDRESTART-KEXP: 5.15.0-67-generic NEEDRESTART-KSTA: 1 Removed /etc/systemd/system/multi-user.target.wants/sftpgo.service. Cloning into '/var/azuracast/www'... error: 4727 bytes of body are still expected fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output fatal: not a git repository (or any of the parent directories): .git Composer could not find a composer.json file in /var/azuracast/www To initialize a project, please create a composer.json file. See https://getcomposer.org/basic-usage

scysys commented 1 year ago

Should be just a connection error. nothing i can do in thoose cases. Just try reinstall

fetch-pack: unexpected disconnect while reading sideband packet

gunsar commented 1 year ago

oh my god it turns out you have to use a vnc terminal. Install failed 3 times because of connection on 3 VPS trials. the solution is to reinstall using the vnc terminal and it works, thank you.

scysys commented 1 year ago

you can start a screen to prevent abort of connections issues. just enter

screen

and then start the installer.

if you loose connection, just connect again and do

screen -r

to access your latest session.


If you want please test also the new liquidsoap commands on your side :)

gunsar commented 1 year ago

the latest liquidsoap update is running smoothly. it's just that the crossfade settings are like a radio station that isn't perfect like during versions 1.4.4 and 2.0.0, maybe the liquidsoap developer will continue to update for the better because of complaints from users for radio stations.

gunsar commented 1 year ago

updating to the latest icecast kh20 is also going well.

i did experiment via nginx with 1 station with multiple port for listener and it works fine. (For example station A with the url for listeners :8000/stream can also be listened to with ports :8100/stream, :8200/stream, the content is the same as 1 satation A)

but the settings in icecast.xml for each station are still not working until now.

scysys commented 1 year ago

but the settings in icecast.xml for each station are still not working until now.

Dont understand. Error in Installer? Or AzuraCast related?

gunsar commented 1 year ago

Dont understand. Error in Installer? Or AzuraCast related?

i did experiment via nginx with 1 station with multiple port for listener and it works fine. (For example station A with the url for listeners :8000/stream can also be listened to with ports :8100/stream, :8200/stream, the content is the same as 1 satation A), but custom the settings in icecast.xml for each station are still not working until now (multiple port for listener)

scysys commented 1 year ago

What is the advantage of using multiple ports for one station? I don't see why it makes sense :)

gunsar commented 1 year ago

icecast can actually create multiple ports for the same station by editing the icecast.xml config. in azuracast i can only use nginx.

<!-- This is the hostname other people will use to connect to your server. It affects mainly the urls generated by Icecast for playlists and yp listings. --> <hostname>localhost</hostname> <!-- You may have multiple <listen-socket> elements -->

<listen-socket> <port>8100</port> </listen-socket>

<listen-socket> <port>8200</port> </listen-socket>

<listen-socket> <port>8300</port> </listen-socket>

if you set this on icecast centova or icecast linux standalone it will definitely work, according to the tutor on icecast and icecast-kh with edits in icecast.xml with the example above, the listener can listen to one station with a different port

https://sub.domain.com:8100/<mount> https://sub.domain.com:8200/<mount> https://sub.domain.com:8300/<mount>

gunsar commented 1 year ago

usually this is done for some links in applications that have spread on the internet or ports that relay to other servers because the port is blocked, so users can still listen to the same source

gunsar commented 1 year ago

didn't really think about it. I'm just doing my experiments to combine standalone Icecast, Centova Icecast, Azuracast Icecast and other panels.