root@luvasiaradio:/home/radio# lsb_release -aNo LSB modules are available.Distributor ID: UbuntuDescription: Ubuntu 12.04.2 LTSRelease: 12.04Codename: precise
Reading package lists... DoneW: Duplicate sources.list entry http://apt.sourcefabric.org/ precise/main amd64 Packages (/var/lib/apt/lists/apt.sourcefabric.org_dists_precise_main_binary-amd64_Packages)W: Duplicate sources.list entry http://apt.sourcefabric.org/ precise/main i386 Packages (/var/lib/apt/lists/apt.sourcefabric.org_dists_precise_main_binary-i386_Packages)W: You may want to run apt-get update to correct these problemsSetting defaults for non-interactive installation...Can't open /usr/share/airtime/debconf-selections: No such file or directory at /usr/bin/debconf-set-selections line 117.Installing the Airtime system...Reading package lists... DoneBuilding dependency treeReading state information... Doneairtime is already the newest version.liquidsoap is already the newest version.0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.1 not fully installed or removed.After this operation, 0 B of additional disk space will be used.Setting up airtime-easy-setup (2.2.1-1) ...Installing Sourcefabric package signing key...OKSetting up Airtime for Europe/London timezone...sed: can't read /usr/share/airtime/debconf-selections: No such file or directorydpkg: error processing airtime-easy-setup (--configure):subprocess installed post-installation script returned error exit status 2Errors were encountered while processing:airtime-easy-setupE: Sub-process /usr/bin/dpkg returned an error code (1)
## Uncomment the following two lines to add software from Ubuntu's## 'extras' repository.## This software is not part of Ubuntu, but is offered by third-party## developers who want to ship their latest software.# deb http://extras.ubuntu.com/ubuntu precise main# deb-src http://extras.ubuntu.com/ubuntu precise maindeb http://apt.sourcefabric.org/ precise main
Hello,I had the same issue on Ubuntu 12.04 LTS and Airtime 2.2.1 behind nginx. PHP version is: PHP 5.3.10-1ubuntu3.4 with Suhosin-Patch (cli).After extensive tracing and debugging, the best I could come up with is that the PHP exec() in StoredFile.php in the method liquidsoapFilePlayabilityTest, is not returning the expected value even though the call to /usr/bin/airtime-liquidsoap line IS returning the correct value and completes successfully.So I patched StoredFile.php in the method liquidsoapFilePlayabilityTest as follows:public static function liquidsoapFilePlayabilityTest($audio_file)...//exec($command, $output, $rv); // comment this line out$output = shell_exec($command); // add this line$isError = count($output) > 0 && in_array($output[0], $LIQUIDSOAP_ERRORS);//return ($rv == 0 && !$isError); // comment this line outreturn ($output != NULL && !$isError); // add this lineHope this helps,-Bill
It looks like you're new here. If you want to get involved, click one of these buttons!