I've got an essentially shiny new right out of the box VPS installation of Ubuntu 11.04, and installing Airtime 2.03 gets me to the point where it's patching the Python libraries, and then right after it attempts to create /var/tmp/airtime, that's the end. I get this:
* Creating /usr/share/airtime * Creating /var/log/airtime * Creating /var/tmp/airtime There was an error during install. Exit code 255 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)
Inspecting the contents of /var/log/airtime/installation-errors.log, I end up with this:
PHP Fatal error: require_once(): Failed opening required 'DB.php' (include_path='/usr/share/php/libzend-framework-php:__DIR__/../../airtime_mvc/library:.:/usr/local/lib/php') in /var/lib/airtime/tmp/install_minimal/include/AirtimeInstall.php on line 8 PHP Fatal error: PostgreSQL PHP extension required and not found. in /var/lib/airtime/tmp/install_minimal/include/AirtimeIni.php on line 19
I have no idea how to get around this PHP extension problem, and it's apparently pretty common. Can somebody help me out with figuring this out, please?
@Martin, the php5-pgsql package is also already installed.
I read somewhere that there may be an issue with libxml2 possibly not correctly reporting its version number, and I note that I have libxml.so.2 in three places on my server. Is it possible that:
a) this provides the missing PostgreSQL -> PHP connectivity being complained about? b) one of these copies does, the rest don't, and the wrong one is being called? c) AirTime is compiled against 32x where my Ubuntu install is 64-bit and it's picking the wrong library file because of that?
Is there a way to trace which libraries are being loaded during the setup script execution? (Or is this a relevant question to ask?)
Also, is this right? There's no playlist randomizer?
Post edited by Krypton Radio at 2012-05-03 11:43:02
@Krypton Radio: Just out of curiosity, which package did you end up with?
Randomized playlists are very high on our priority list once we get 2.1 out the door, btw. Not that that's any good now, but we do hear you on the need for this and we're always open to contributions (code, cash, pizzas :-)) to help get it done.
Douglas Arellanes Director of Innovation Sourcefabric, o.p.s.
I've gotten PostgreSQL to show up in php, but am still getting the "extension required" error.
MySQL and a couple other things are configured on this server, there seems to be some configuration conflict... I think I'm going to tear this server down, and start over with a 32bit Ubuntu install.
We finally came back to Airtime and installed it. Centova, while it has more flexibility than Airtime with respect to scheduling, has a much bigger problem: Centova Technologies. They're so hard to get ahold of that each time we've had a problem we needed their help with, it took literally days on end to reach them, even though it was an emergency situation for us. We finally just fired them, and here we are. We ended up installing on Debian.