Problem installing Airtime - Postgres Locale problems? Try this.
  • Fixing the installer.

    Copy /var/lib/airtime/tmp/install_minimum/include/airtime_install.php to a safe place as a backup.

    In /var/lib/airtime/tmp/install_minimum/include/airtime_install.php

    Around line 228 find:

    $command = "su postgres -c \"createdb $database --encoding UTF8 --owner $username\"";

    Replace with:

    $command = "sudo -i -u postgres psql postgres -c \"CREATE DATABASE ".$database." WITH ENCODING 'UTF8' TEMPLATE template0 OWNER ".$username."\"";

    Re-run the airtime install.

    This fix will be in the next Airtime release.
    Post edited by John Chewter at 2013-11-29 08:11:37
    No longer using Airtime or Libretime.
  • 1 Comment sorted by
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Thanks for tracking down the cause of http://dev.sourcefabric.org/browse/CC-5583 - that was great detective work :-)

    Cheers!

    Daniel