Daniel James said:Hi, the Airtime install instructions have been tested on Debian 7 (wheezy) but any feedback is welcome. Please indicate the wiki link which sent you to the wrong place and we'll get it fixed.
Cheers!
Daniel
I’m going to make you through an install just to Show the possible problems. I think your tutorial lacks some important hints.
So here I'll try installing it with your easy setup package.
For the server install, I went ahead and created a Debian 7 VPS just for this.
hostname=radio.example.com # This is here, just because...
hostname $hostname
sed -i 's/^127.0.0.1\tlocalhost/127.0.0.1\t'$hostname'\tlocalhost/' /etc/hosts
apt-get update
wget http://apt.sourcefabric.org/misc/airtime-easy-setup.deb
dpkg -i airtime-easy-setup.deb
apt-get -f install
Here you have to setup Icecast2 and configure, choose yes, enter your hostname for Icecast2 server. Specify passwords for Source, Relay and Admin
apt-get update
apt-get install airtime sudo
Let's check the system:
airtime-check-system
Ok, everything is green, so we know it's working. Airtime is installed as well.
Weird but it didn't ask me for anything, including any passwords. So let's
airtime-easy-setup # Just to confirm all is installed
dpkg-reconfigure airtime
Choose yes, enter FQDN, install apache2 vhosts file, NOT configure Icecast2 since we already did that
It finished, saying all is OK.
Wait... It still didn't ask me for a password! Ok, no problem… I'll go ahead and create a password manually.
sudo -u postgres psql airtime
update cc_subjs set pass = md5('your_new_password') where login = 'admin';
\q
Now, let’s check our installation by firing up your favourite browser and logging in.
Login, add a few media files. Create a playlist/smartblock, go to calendar, add a show. Add some content to your show. When your show starts on the scheduled time, click on listen button. If you hear the show, all is OK. Nice and easy.
Up till here we didn't do any configuration except the ones during installation. But after a closer inspection, I realized that /etc/icecast2/icecast.xml was reset. The passwords are now shown as "donthackme" instead of the ones I setup.
So I guess even though I modified it with airtime-easy-setup and chose NO during dpkg-reconfigure airtime, they are modified.
Now I have to change them again and update them manually from the "Streams" section in admin interface or I have to run dpkg-reconfigure airtime again and set them from that interface.
On the other hand, looking at the wiki I can summarize it to these commands:
sudo gdebi airtime-easy-setup.deb
sudo airtime-easy-setup
sudo dpkg-reconfigure airtime
Wait, what about all those other steps I had to go through?
airtime-easy-setup DID not install the dependencies.
Airtime DID NOT setup an admin password. Or didn't let me know if there's a default one.
Icecast2 had it’s passwords RESET.
What I am trying to say is, for people who are not that familiar with these systems your Wiki tutorial is either outdated or confusing. That's why I am suggesting to go through all the steps yourself and reevaluate the tutorial. Surely you can make it better. ;
Reading package lists... DoneBuilding dependency treeReading state information... DoneThe following packages were automatically installed and are no longer required:libcloog-ppl0 libmpc2 libppl9Use 'apt-get autoremove' to remove them.The following extra packages will be installed:gcr gdebi-core gir1.2-atk-1.0 gir1.2-freedesktop gir1.2-gdkpixbuf-2.0 gir1.2-gtk-3.0 gir1.2-pango-1.0 gir1.2-vte-2.90 gksu gnome-icon-theme gnome-keyring libcairo-perl libgck-1-0 libgcr-3-common libgcr-base-3-1 libgcr-ui-3-1 libgksu2-0 libglib-perllibgnome-keyring-common libgnome-keyring0 libgtk2-perl libgtop2-7 libgtop2-common libpam-gnome-keyring libpango-perl libvte-2.90-9 libvte-2.90-common p11-kit p11-kit-modules sudo xauthSuggested packages:libfont-freetype-perl libgtk2-perl-docThe following NEW packages will be installed:gcr gdebi gdebi-core gir1.2-atk-1.0 gir1.2-freedesktop gir1.2-gdkpixbuf-2.0 gir1.2-gtk-3.0 gir1.2-pango-1.0 gir1.2-vte-2.90 gksu gnome-icon-theme gnome-keyring libcairo-perl libgck-1-0 libgcr-3-common libgcr-base-3-1 libgcr-ui-3-1 libgksu2-0 libglib-perllibgnome-keyring-common libgnome-keyring0 libgtk2-perl libgtop2-7 libgtop2-common libpam-gnome-keyring libpango-perl libvte-2.90-9 libvte-2.90-common p11-kit p11-kit-modules sudo xauth0 upgraded, 32 newly installed, 0 to remove and 417 not upgraded.Need to get 16.8 MB/16.9 MB of archives.After this operation, 33.6 MB of additional disk space will be used.Do you want to continue? [Y/n]
Bob Larson said:Thanks, but what I'm asking is how Airtime 2.5.1 functions when running "apt-get update && apt-get dist-upgrade" to upgrade the operating system to Jesse. Has anyone done this?
Daniel James said:Hi Bob,
The SSL auto-configuration in the 2.5.1 .deb package was part of the Debian/Ubuntu setup rather than Airtime itself. The issues you mention with service starting and the new installer have been noted, one of the reasons why 2.5.2 or 2.5.2.1 were not released in .deb package form yet.
As for laggy PHP, there have been a number of enhancements to Airtime Pro recently which have resulted in dramatic speed-ups in the admin interface, especially with heavily populated calendars. Our challenge is to reconcile the Airtime Pro branch with the main 2.5.x branch in GitHub so that you can get these enhancements on your own server.
Cheers!
Daniel
It looks like you're new here. If you want to get involved, click one of these buttons!