Closed hardheid closed 2 months ago
It seems like GD2 extension is not loaded. O!MPD requires PHP 5.2.0 or later with extension: GD2, ICONV, MBSTRING, MYSQLi, JSON and CTYPE. Please check it and let me know if that helped.
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/ompd;
index index.php index.html index.htm;
server_name www.ompd.net;
# This section can be copied into an existing default setup
location / {
allow all;
index index.php;
location ~ \.php {
try_files $uri index.php =404;
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $request_filename;
include /etc/nginx/fastcgi_params;
fastcgi_read_timeout 1800;
}
}
}
this is my ngins.conf its work
It works now, thanks! Although I am able to play audio now, the library won't update and says 'YOUR DATABASE IS EMPTY. PLEASE UPDATE IT.'. When I run 'UPDATE ALL' in the configuration the whole thing just keeps running and restarting.
You must in mysql drop the database, then you create a new one in ompd. its a bug. i think its the new php version. in my case, the update start right, when i start it from a iPad .
Cliff
Thanks @marcbth for help. Could you please write how to reproduce this bug with database?
I have been trying to get O!MPD to work using MariaDB and nginx on an OrangePi Zero running Armbian Ubuntu 18.04. However, I can´t get around the 500 error in nginx. This is the result from the nginx log:
Any idea what is causing this error?