Reply to @Martin+Konecny:
I'm struggling since morning with the 2.1.3 update:
~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
linux-generic linux-headers-generic linux-image-generic
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up airtime (2.1.3-1) ...
Site airtime-vhost disabled.
Run '/etc/init.d/apache2 reload' to activate new configuration!
Setting up apache2...
Enabling site airtime-vhost.
Run '/etc/init.d/apache2 reload' to activate new configuration!
Module rewrite already enabled
Configuring php5...
Setting up icecast2...
Restarting icecast2: Starting icecast2
Detaching from the console
icecast2.
Setting up monit configuration...
Stopping daemon monitor: monit.
Starting daemon monitor: monit.
www-data www-data 750 /srv/airtime
dpkg-statoverride: warning: An override for '/srv/airtime' already exists, but - -force specified so will be ignored.
* Restarting web server apache2 ... waiting [ OK ]
Liquidsoap symlink points to the right place!
Debian package of Airtime detected...
* Making sure /etc/default/locale is set properly
LANG="en_US.UTF-8"
* Checking for existing Airtime installation...
* Same version of Airtime already installed!
dpkg: error processing airtime (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
airtime
E: Sub-process /usr/bin/dpkg returned an error code (1)
please note that I have airtime on an alternative port ( not on 80 ) tried changing it back to 80 and then re performed the update, same all over, any recommendations?
and will sudo apt-get purge airtime then sudo apt-get install airtime delete the media in this folder:/srv/airtime/stor/ ?
would appreciate your answer, regards Martin
Reply to @Martin+Konecny:
No, I probably followed the instruction of one of the previous manuals, so for example my etc/cron.d/airtime-schedule contains: * * * * * www-data /usr/local/bin/airtime-schedule.sh
would it change anything if I deleted all and followed the updated instructions!?
please note that airtime-schedule.sh contains:
#!/bin/sh
curl -s "http://subdomain.domain.tld:customport/api/live-info/?callback=***" > /tmp/airtime-live-info
curl -s "http://subdomain.domain.tld:customport/api/week-info/?callback=***" > /tmp/airtime-week-info
so the subdomain.domain.tld:customport is the location of airtime of course
Reply to @Martin+Konecny:
I tried in so many ways to fix this, I did reset the caching solution, tried several subdomains, disabled all firewalls, checked the apache for the for the caching address zillion times....the today schedule is only showing 2 shows whatever I do, but when I change the airtime port back to 80 and use the direct link to airtime, then the todays schedule shows all items it's supposed to show!!!
Reply to @Martin+Konecny:
I don't know if I ran it right, but here are an interesting result!!!
sudo -u www-data '/opt/airtime/export-widget-data.sh'
/opt/airtime/export-widget-data.sh: 3: cannot create /tmp/airtime-week-info: Permission denied
or shouldn't I run it as www-data !?
Reply to @Martin+Konecny:
First, thank you very much Martin for your attention, Second, the /tmp/airtime-live-info contains only the next two shows, with the song names that are played in each show. what is this suppose to mean?
#!/bin/sh
curl -s "http://localhost/api/live-info/type/endofday?callback=***" > /tmp/airtime-live-info
curl -s "http://localhost/api/week-info?callback=***" > /tmp/airtime-week-info
It looks like you're new here. If you want to get involved, click one of these buttons!