Discussions
Activity
Sign In
How it works
Airtime Hacks
Problem installing Airtime - Postgres Locale problems? Try this.
Vote Up
0
Vote Down
John Chewter
November 2013
Posts: 899
Member
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
Votes
Date Added
Vote Up
0
Vote Down
Daniel James
December 2013
Posts: 844
Member, Sourcefabric Team
Thanks for tracking down the cause of
http://dev.sourcefabric.org/browse/CC-5583
- that was great detective work
:-)
Cheers!
Daniel
Add a Comment
Start a New Discussion
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
8,397
Sourcefabric
↳
Announcements
25
Newscoop
↳
Newscoop Support
2,189
↳
Newscoop Development
722
↳
Newscoop Security
13
↳
Newscoop Documentation
17
↳
Newscoop Themes
69
Airtime
↳
Airtime Support
3,139
↳
Airtime Development
1,286
↳
Airtime Français
146
↳
Airtime Documentation
14
↳
Airtime Hacks
102
↳
Promote your station!
37
↳
Airtime Security
11
Booktype
↳
Booktype Support
277
↳
Booktype Development
55
↳
Booktype Documentation
7
Superdesk
↳
Superdesk Development
264
↳
Web Publisher
21
Poll
No poll attached to this discussion.
Top Posters
Albert FR
1978
Martin Konecny
1860
Andrey Podshivalov
1526
Voisses Tech
1423
John Chewter
899
Daniel James
844
Roger Wilco
784
hoerich
627
Paul Baranowski
389
Cliff Wang
339