Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: Cosnino on January 03, 2022, 10:26:38 AM

Title: Problem with new Shoutcast Manager
Post by: Cosnino on January 03, 2022, 10:26:38 AM
Hi, Happy new year to All!!!
very good idea the new shoutcast manager, very helpful interface especially the LiquidSoud (AutoDJ) .
Unfortunately I did not manage to make it work.
The "install Shoutcast server" button not working , i installed with "old Shoutcast manager"
the "Add shoutcast server" button not working
The "install Icecast server" button , appears to installing but it doesn't.
The "LiquidSoud (AutoDJ) install now" button, appears to installing but it doesn't.
I tried on Centos 7 & centos 8 , physical machines.

has anyone tried it?


 

Title: Re: Problem with new Shoutcast Manager
Post by: Com-QuadTech on January 03, 2022, 12:01:56 PM
https://github.com/rcschaff82/cwp_shoutcast2

Test that once and I also have problems with this variant
Title: Re: Problem with new Shoutcast Manager
Post by: Freespirits_GR_Host on January 03, 2022, 06:01:51 PM
Great tools added but i guess we have to wait for new working versions.
I just wonder why those options are there if they are not working.
I have already tested and even old shoutcast server stopped working.
You can confirm that even to demo versions --> https://control-webpanel.com/demo   
Title: Re: Problem with new Shoutcast Manager
Post by: Cosnino on January 04, 2022, 10:38:58 AM
https://github.com/rcschaff82/cwp_shoutcast2

Test that once and I also have problems with this variant

Good morning.

I have test it few weeks ago and works fine great job!!!
Just dont no why this new futures doesn't work...  I hope they fix it ???

thanks
Title: Re: Problem with new Shoutcast Manager
Post by: Com-QuadTech on January 04, 2022, 02:23:35 PM
Here is a manual from Sandeep that also works. You should stop by there often!  https://www.mysterydata.com/install-shoutcast-v2-radio-server-in-cwp-cwp-module/ (https://www.mysterydata.com/install-shoutcast-v2-radio-server-in-cwp-cwp-module/)
Title: Re: Problem with new Shoutcast Manager
Post by: Freespirits_GR_Host on January 04, 2022, 05:25:30 PM
Here is a manual from Sandeep that also works. You should stop by there often!  https://www.mysterydata.com/install-shoutcast-v2-radio-server-in-cwp-cwp-module/ (https://www.mysterydata.com/install-shoutcast-v2-radio-server-in-cwp-cwp-module/)

Great work but i am more excited about the possibility to have Icecast and Autodj available to the CWP panel. :)
Title: Re: Problem with new Shoutcast Manager
Post by: josemnunez on January 04, 2022, 07:38:47 PM
We have resolved some details of this new module and they will be available to you after our new version.

It is a module that we are still testing, we will be very attentive to all your comments in this thread to improve it and solve the bug that you detect
Title: Re: Problem with new Shoutcast Manager
Post by: Com-QuadTech on January 05, 2022, 09:00:35 AM
yes, it can take time. It would be nicer to get the actual functions running in a stable manner first!
Title: Re: Problem with new Shoutcast Manager
Post by: Freespirits_GR_Host on January 15, 2022, 06:59:44 PM
I saw that the documentation is already updated with the new plugins but still there is no functionality.

https://docs.control-webpanel.com/docs/admin-guide/plugins

Should we run a script to make it work? Is there a possibility not to be installed as root?
When i install Shoutcast Manager from old manager then i see to Shoutcast Manager new version the mod_servercast but nothing is working. Even the button to unistall shoutcast will do nothing.

(https://i.ibb.co/x8tsB0T/nothing-installed-noerror1.jpg)
Title: Re: Problem with new Shoutcast Manager
Post by: josemnunez on January 16, 2022, 07:47:58 PM
Hello

Please update to the latest version of cwp
Title: Re: Problem with new Shoutcast Manager
Post by: Freespirits_GR_Host on January 16, 2022, 09:30:44 PM
Hello

Please update to the latest version of cwp

I use and test if plugin is available always to the latest version.
My version is CWPpro version: 0.9.8.1119 and tested to more than one installation.
Title: Re: Problem with new Shoutcast Manager
Post by: studio4host on January 17, 2022, 07:23:02 AM
1120 has the fix for shoutcast
Title: Re: Problem with new Shoutcast Manager
Post by: Freespirits_GR_Host on January 17, 2022, 05:53:03 PM
1120 has the fix for shoutcast

I can confirm that now installation works perfectly  :).
I will test creating a test web radio and give my feedback. It would be great to have autodj enabled.
Thank you very much for the update. Great work.  8)
Title: Re: Problem with new Shoutcast Manager
Post by: josemnunez on January 17, 2022, 08:38:14 PM
You can install autodj for use on your streaming service without problem from the admin panel
Title: Re: Problem with new Shoutcast Manager
Post by: Freespirits_GR_Host on January 21, 2022, 05:30:55 PM
Hello

I finally managed to find the time to test.
The shoutcast install works normally and the admin panel of shoutcast opens and works normally although i have not connected a stream.
The Icecast install works normally and i can add a server to user.
The Autodj install works normally but when i enter user panel to see what a user could do i see the following empty panel.

(https://i.ibb.co/Gv8S2Lf/shoutcast-notdata.jpg)

I checked the documentation here https://docs.control-webpanel.com/docs/admin-guide/plugins/shoutcast-manager-new/server-shoutcast but seems like i am missing something. Did somebody already tested?
Title: Re: Problem with new Shoutcast Manager
Post by: josemnunez on January 21, 2022, 05:35:14 PM
please try this
Code: [Select]
echo '{"compress_js":false,"compress_html":false}' > /usr/local/cwp/.conf/.devtools_config

Title: Re: Problem with new Shoutcast Manager
Post by: Freespirits_GR_Host on January 21, 2022, 06:00:07 PM
please try this
Code: [Select]
echo '{"compress_js":false,"compress_html":false}' > /usr/local/cwp/.conf/.devtools_config

Hello and thank you josemnunez for your fast help. I run the command and now i have the user panel working  8)

(https://i.ibb.co/R3wG7Xn/shoutcast-works.jpg)
Title: Re: Problem with new Shoutcast Manager
Post by: iraqiboy90 on January 21, 2022, 07:54:28 PM
please try this
Code: [Select]
echo '{"compress_js":false,"compress_html":false}' > /usr/local/cwp/.conf/.devtools_config

Why does it seem like there is a lot of issues with compressing js and html on CWP?
Btw, are you dev?
Title: Re: Problem with new Shoutcast Manager
Post by: Freespirits_GR_Host on January 21, 2022, 10:54:27 PM
After a long test i managed to make Autodj and Shoutcast work but there is no way to have ssl enabled so the only way to listen to the stream is using a player or firefox that will allow mixed content. Chrome will not allow mixed content.

I managed to start icecast and Autodj but i can't figure out how that stream could connect to a player. After a restart i had the admin panel work at http://serverip:17001 but even if it shows that is enabled i can't get the stream to work.
Title: Re: Problem with new Icecast Manager
Post by: Freespirits_GR_Host on January 22, 2022, 07:30:32 AM
1. Installing the icecast and checking the administrator panel seems like there is no streaming and no mountpoint list. No server status.
2.There is no way to set a proxy to shoutcast and icecast as none of te cinfiguration can't be changed from user panel. Trying to update configuration "An error ocured" message comes up. I guess that this has to do with file permission but some of those settings should be available to users.
3.From user side if we press configuration we see a small popup with no options and we just can press save.

I will upload some screenshots later and hope more people will find the time to test and explore those new features as it makes user panel more powerful and rich.


(https://i.ibb.co/ZXScYFk/icecast1.jpg) (https://ibb.co/7CQrRZ6)
(https://i.ibb.co/z5KkGkF/icecast2.jpg) (https://imgbb.com/)
(https://i.ibb.co/7YJgzkn/icecast3.jpg) (https://ibb.co/xCSmsF1)
Title: Re: Problem with new Shoutcast Manager
Post by: Freespirits_GR_Host on January 24, 2022, 07:43:33 PM
The icecast or shoutcast is installed with root priviliges and that gives no rights to user to change configurations.
User can't even change the stream password or add a proxy to use SSL.
Server admin can change password for user but can't edit proxy.

If i try to run "fix permissions" for user then the stream server (shoutcast or icecast) will not show anymore to user panel unless the shoutcast or icecast server is added again from plugins-->shoutcast manager.
Title: Re: Problem with new Shoutcast Manager
Post by: josemnunez on January 25, 2022, 12:08:01 AM
hello edto will be solved in our next version
Title: Re: Problem with new Shoutcast Manager
Post by: Freespirits_GR_Host on January 25, 2022, 12:55:05 PM
hello edto will be solved in our next version

Thank you josemnunez for the update. I will be happy to test next revision's fixes and update the post.  ;)
Title: Re: Problem with new Shoutcast Manager
Post by: PRR on February 15, 2022, 02:24:56 PM
Hello everyone
Shoutcast V2 installs and starts without any issues on my two servers running CWP 0.9.8.1129.
Liquidsoud installs fine but can't get that to work.
Created the playlist. Checked the file permissions. Ports open in firewall. Using ports 9000 to 10000.
AutoDJ just won't start?
Any suggestions?
Thanks
Title: Re: Problem with new Shoutcast Manager
Post by: Freespirits_GR_Host on February 15, 2022, 04:07:28 PM
According the latest changelogs there was no work on those new scripts so i did not try them.
Autodj as you can see above is already tested and works. You just create a playlist and upload mp3 files through user panel.
When no client is connected to Shoutcast autodj will automatically take control so there is always a stream for your audience.

Did you manage desi to run shoutcast under https proxy?
Title: Re: Problem with new Shoutcast Manager
Post by: rcschaff on February 15, 2022, 04:17:50 PM
cd /etc/liquidsoap
chmod 744 *.liq

Title: Re: Problem with new Shoutcast Manager
Post by: josemnunez on February 15, 2022, 06:10:33 PM
Hola
Is it possible for this to happen if you are on almalinux, rocky and you are not on the latest version of cwp, please update to our latest version and I am sure this will be resolved for you
Title: Re: Problem with new Shoutcast Manager
Post by: PRR on February 15, 2022, 08:52:31 PM
I can start shoutcast without any issues.
http://74.91.29.30:9988/index.html  (I got this server only to test CWP - Shoutcast)

Changing permission of *.liq files to 744 didn't work either.
Server is running latest Centos 8 Stream with the latest CWP.

I have no idea how to run shoutcast with proxy.

Will keep trying and hoping that help will come :-)
Title: Re: Problem with new Shoutcast Manager
Post by: josemnunez on February 15, 2022, 08:57:23 PM
Hola

Something of this must be going wrong, let me know what happens when you run this

Code: [Select]
cd /etc/yum.repos.d/
wget https://download.opensuse.org/repositories/home:radiorabe:liquidsoap/CentOS_8_Stream/home:radiorabe:liquidsoap.repo

#install rpmfusion repo
dnf install --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm

# disable the repo for not to get the auto update via yum/dnf
dnf config-manager --set-disabled home_radiorabe_liquidsoap  rpmfusion-free-updates

# install liquidsoap
dnf install liquidsoap --enablerepo=rpmfusion-free-updates,home_radiorabe_liquidsoap
Title: Re: Problem with new Shoutcast Manager
Post by: rcschaff on February 15, 2022, 10:25:38 PM
that repo is already installed.
liquidsoap wasn't installed but now it is.

Remove your information.  You just opened up your server to be hacked by anyone and everyone.  NEVER post passwords
Title: Re: Problem with new Shoutcast Manager
Post by: PRR on February 15, 2022, 10:51:25 PM
that repo is already installed.
liquidsoap wasn't installed but now it is.

Remove your information.  You just opened up your server to be hacked by anyone and everyone.  NEVER post passwords

I have this server only for ten days. Final working server won't be this one.
Just trying to understand this software and then will be moved to another server.
Thanks

AutoDJ still not working  :'(
Title: Re: Problem with new Shoutcast Manager
Post by: rcschaff on February 15, 2022, 11:15:07 PM
Check the log file.

systemctl status liquidsoap@<Port>   I found that all of the mp3's, the m3u, and the config file all need 744 chmod in order for autodj to work.   The Script is setting them 640, and that is causing errors
Title: Re: Problem with new Shoutcast Manager
Post by: PRR on February 16, 2022, 04:02:35 PM
reinstalled OS (Centos 8 Stream)
reinstalled CWP
Installed Shoutcast and Liquisoud from CWP
Created five radios.
Uploaded few tracks to all and created .m3u
All started to work.
RSYNCed tracks from another server. Created m3u files from local windows PC and uploads to all except one radio.
One radio that didn't get files uploaded or m3u created, keeps working fine
but all other radios won't work. Compared all permissions and owners to one working and all match.

systemctl status liquidsoap@9968 (This stream is working fine)
systemctl status liquidsoap@9958 (This fails)

/usr/bin/liquidsoap /etc/liquidsoap/9958.liq (Running from CLI)
Stream starts to work. Doesn't show working status in the CWP panel. But when closed in terminal, stream stops.

 ???
 
Title: Re: Problem with new Shoutcast Manager
Post by: PRR on February 18, 2022, 08:50:38 PM
**UPDATE**
Leaving everything at default, whatever script creates, owners and permissions.
Only changed the mp3 files owner to root and it's working..

Working on production server. Will update how it goes..
Cheers
Title: Re: Problem with new Shoutcast Manager
Post by: PRR on February 18, 2022, 10:09:19 PM
 :'(
Working on production server.
Shoutcast installed
Liquidsoud installed
Streams created.
Ports selected and checked [Shoutcast enabled in user panel]
but when in user panel I see no shoutcast server or AutoDJ under Streaming - Manage

Please help...
Thanks
Title: Re: Problem with new Shoutcast Manager
Post by: Freespirits_GR_Host on February 18, 2022, 10:11:23 PM
please try this
Code: [Select]
echo '{"compress_js":false,"compress_html":false}' > /usr/local/cwp/.conf/.devtools_config

Hello desi. Try the above command.
Title: Re: Problem with new Shoutcast Manager
Post by: PRR on February 18, 2022, 10:22:48 PM
please try this
Code: [Select]
echo '{"compress_js":false,"compress_html":false}' > /usr/local/cwp/.conf/.devtools_config

Hello desi. Try the above command.

You are a life saver.
Thank you...............................................
Title: Re: Problem with new Shoutcast Manager
Post by: Painkiller88 on February 19, 2022, 01:38:57 PM
there still seems to be a problem with the admin login of shoutcast.

if i enter the user i set the server up for and the admin password it seems not to work.

so what credentials does it want from me? Are there some default logins or something?

Title: Re: Problem with new Shoutcast Manager
Post by: PRR on February 21, 2022, 08:02:06 PM
there still seems to be a problem with the admin login of shoutcast.

if i enter the user i set the server up for and the admin password it seems not to work.

so what credentials does it want from me? Are there some default logins or something?

Are you trying to login to server login from the shoutcast server?
username: admin
password: you created when you created the shoutcast server in CWP admin
Title: Re: Problem with new Shoutcast Manager
Post by: Painkiller88 on February 23, 2022, 11:18:39 PM
ah ok this explains it.
Because when i set up a server for one of my accounts the user or username is shown as my accounts user so i always tried to log on with this user
Title: Re: Problem with new Shoutcast Manager
Post by: Painkiller88 on February 26, 2022, 12:23:36 AM
how can i connect a stream to it?

I am able to log in but i have no idea how to stream a file.

thanks
Title: Re: Problem with new Shoutcast Manager
Post by: WerniCH on July 06, 2022, 05:20:43 PM
Hi There

I just set up CWP on a fresh CentOS7 two days ago.
Sadly I have some curious behavior:

I create a new user "A" and a new ShoutCast Server for that user. Once this is done (and after applying the command mentioned above) I am able to log in as user and configure an autodj that runns fine.

When I then create another user "B", and another Shoutcast Server for user "B", I can log in as user "B" and manage that ShoutCast and AutoDJ.
BUT!! When I now try to login as user "A" again, the ability to manage Shoutcast/AutoDJ is gone, although, ShoutCast and AutoDJ instances are still running and service is up. in the user gui I only see "Servercast Not available"

For me, it currently looks like that only the user that last was created a ShoutCast for is able to configure it in the user panel.

What am I missing? Or some conflicts with security settings?`

Thanks, in advance for any hints!!


PS:
Another "Bug":
In Admin-Gui, on Fetures,Themes,Languages, when I create Account only for streaming, the "manage" setting does not seem to be remembered, when loading that Account again. The checkbox on "manage" is allways unchecked, wenn I get back and add another user to the Account.
Title: Re: Problem with new Shoutcast Manager
Post by: 440music on July 08, 2022, 02:12:09 PM


    Apache version: Apache/2.4.52
    PHP version: 8.1.0
    MySQL version: 10.2.44-MariaDB
    FTP version: 1.0.47
    SSH Port: XXXX
    MySql Port: XXXX
    Web Servers: nginx-varnish-apache

I'm having an issue with both iceCast and shoutCast, I've set up the user, activated the servers and when I log-in to the account the radio servers is missing. I had 1 shoutCast server working but that is now gone. I need to run 26 radio servers 13 of each.

I would prefer not going back to what I had been using but if I can't get this working that maybe my only option. 8)