ghoulmann / Ampache-Raspi-Helper

Ampache (streaming media server) installation helper script for Raspberry Pi and Raspian
6 stars 0 forks source link

Ampache Config unable to write to ampache.cfg.php #1

Open IainBapty opened 11 years ago

IainBapty commented 11 years ago

Perhaps this is the wrong forum but I'm having a problem when trying to configure using http://mypi/ampache/install.php in that ampache.cfg.php is writable comes back with ERROR. Any idea what might cause this and if it's possible to resolve using an addition to your script?

pi@raspberrypi ~ $ ls -l /usr/share/ampache/www/config                          total 32
lrwxrwxrwx 1 root root    28 Jun  9  2012 ampache.cfg.php -> /etc/ampache/ampache.cfg.php

pi@raspberrypi ~ $ ls -l /etc/ampache/
total 0
lrwxrwxrwx 1 root www-data 32 Mar  2 12:49 ampache.conf -> /etc/apache2/conf.d/ampache.conf
lrwxrwxrwx 1 root www-data 21 Jun  9  2012 ampache.cron.daily -> ../cron.daily/ampache
lrwxrwxrwx 1 root www-data 22 Jun  9  2012 logrotate-ampache -> ../logrotate.d/ampache
ghoulmann commented 11 years ago

It's a problem upstream from the nightly build; I think it's not a problem with the dev build (ampache.org). In lieu of solution upstream, edit /usr/share/ampache/www/config/ampache.crg.php and hand edit the database name, database user, and database password as you configured it in the interface (that took).