I have dietpi installed on raspberry pi zero w
I installed Ampache from dietpi-software
my pi has static ip 192.168.2.50
when i open the page 192.168.2.50/ampache it says
Error
You may have reached this page because Ampache was unable to load the required dependencies
Please visit the wiki for help
looking at the ampache wiki i found the following "Attention: Composer version 2.x is not compatible to Ampache. Take care to use the latest 1.x version."
when i checked composer version in my rpi it says V2.0.8
also during installation of ampache i noticed some warnings/issues like “composer plugins not compatible”, i dont exactly remember them.
i tried to downgrade composer from V2.0.8 to V1.10.19, but when i reinstall ampache it updates composer to V2.0.8
Can anyone help me installing Ampache…
Thanks in advance…
Note: i also have pihole running on the same rpi zero w
update:
reinstalled Ampache using below command
dietpi-software reinstall 40
Composer
Since 3.8.1, Composer is used to manage dependencies. You should download it and install it (e.g: mv composer.phar /usr/local/bin/composer), then run composer install --prefer-source --no-interaction on Ampache directory. Attention: > Composer version 2.x is not compatible to Ampache. Take care to use the latest 1.x version.
Let me check with the developer on this how to mitigate.
Now I am able to install ampache without any issues.
Opening 192.168.2.50/ampache it asked for update from webpage and I did it. Then i was greeted with login page and able to login. Now I have 2 issues
After login I am able play play music add to catalog. But I always see a banner saying
Your Ampache config file is out of date!
Download a new config file to manually update | Write a new config file directly to disk
After clicking “write a new config file directly to disk” does nothing, it still shows the same. Did a reboot. Logged in and I still see
Your Ampache config file is out of date!
Download a new config file to manually update | Write a new config file directly to disk
Am I missing something?
I checked /var/www/ampache/config/ampache.cfg.php and its available.
As per system settings in webpage Subsonic backend is enabled but I am unable to use subsonic clients (I tried subsonic and ultrasonic apps from fdroid)
I am a novice to Linux and webservers. I checked ampache wiki too.
After changing file permissions and rebooting I am able to Write a new config file directly to disk from GUI, but still cant access from subsonic clients.
Checked 192.168.2.50/ampache/test.php
“Configuration file readability warning: This test attempts to read config/ampache.cfg.php. If this fails the file is either not in the correct location, or not readable.
If you are installing Ampache for the first time you can ignore this warning and proceed to the installer. Web Installation.”
Did a reboot and again checked 192.168.2.50/ampache/test.php still says “Configuration file readability warning.”
Did a clean install of dietpi and pihole.
Modified dietpi-software for composer, installed ampache. Then permission by
chown -R www-data:www-data /var/www/ampache/
Checked ampache settings and by default subsonic backend is enabeled in ampache. But still unable to connect from subsonic clients from android.
Ampache test page gives a warning on config file readability.
Can i just add the above 2 codes to lighttpd.config at the end of file… do i need to change anything…
The wiki says if opening http://localhost/ampache/rest/ping.view gives below o/p then subsonic clients can be used. i tried to open 192.168.1.100/ampache/rest/ping.view but is not reachable.
<subsonic-response version="1.10.1" status="failed">
<error code="10" message="Required parameter is missing."/>
</subsonic-response>
To enable UPnP/DLNA:
url rewriting is enabled in settings. But i think point 1 & 2 needs to be implemented for url rewriting.
Also wiki says, If your installation is within a subfolder ‘/ampache’ you must take care for your Rewrite Rules within ‘[ampachepath]/play/.htaccess’…