502 Bad Gateway nginx
updated from version 3 to version 4
web interface has stopped working
502 Bad Gateway nginx
updated from version 3 to version 4
web interface has stopped working
Run omv-engined -d -f and look out for errors.
root@storage:~# omv-engined -d -f
PHP Fatal error: Uncaught Error: Call to undefined function mb_strtolower() in /usr/share/php/openmediavault/autoloader.inc:28
Stack trace:
#0 [internal function]: {closure}('OMV\\Environment')
#1 /usr/sbin/omv-engined(357): spl_autoload_call('OMV\\Environment')
#2 {main}
thrown in /usr/share/php/openmediavault/autoloader.inc on line 28
omv-engined[6871]: PHP Fatal error: Uncaught Error: Call to undefined function m b_strtolower() in /usr/share/php/openmediavault/autoloader.inc:28
Stack trace:
#0 [internal function]: {closure}('OMV\\Environment')
#1 /usr/sbin/omv-engined(357): spl_autoload_call('OMV\\Environment')
#2 {main}
thrown in /usr/share/php/openmediavault/autoloader.inc on line 28
PHP Fatal error: Uncaught Error: Call to undefined function mb_strtolower() in / usr/share/php/openmediavault/autoloader.inc:28
Stack trace:
#0 [internal function]: {closure}('OMV\\Environment')
#1 /usr/sbin/omv-engined(357): spl_autoload_call('OMV\\Environment')
#2 {main}
thrown in /usr/share/php/openmediavault/autoloader.inc on line 28
Alles anzeigen
root@storage:~# omv-engined -d -f
Registered data models:
conf.service
conf.service.ftp
conf.service.ftp.modban.rule
conf.service.ftp.modtls
conf.service.ftp.share
conf.service.nfs
conf.service.nfs.share
conf.service.nut
conf.service.rsync.job
conf.service.rsyncd
conf.service.rsyncd.module
conf.service.smartmontools
conf.service.smartmontools.device
conf.service.smartmontools.job
conf.service.smb
conf.service.smb.share
conf.service.ssh
conf.service.zeroconf.service
conf.system.apt.distribution
conf.system.certificate.ssh
conf.system.certificate.ssl
conf.system.cron.job
conf.system.email
conf.system.filesystem.mountpoint
conf.system.filesystem.quota
conf.system.hdparm
conf.system.mdadm.device
conf.system.monitoring.perfstats
conf.system.network.dns
conf.system.network.interface
conf.system.network.iptables.rule
conf.system.network.proxy
conf.system.notification.email
conf.system.notification.notification
conf.system.powermngmnt
conf.system.sharedfolder
conf.system.sharedfolder.privilege
conf.system.syslog.remote
conf.system.time
conf.system.usermngmnt.group
conf.system.usermngmnt.homedir
conf.system.usermngmnt.user
conf.webadmin
rpc.apt.getchangelog
rpc.apt.setsettings
rpc.apt.upgrade
rpc.apt.upload
rpc.certificatemgmt.copysshid
rpc.certificatemgmt.create
rpc.certificatemgmt.createssh
rpc.certificatemgmt.set
rpc.certificatemgmt.setssh
rpc.common.devicefile
rpc.common.getlist
rpc.common.objectuuid
rpc.config.applychanges
rpc.config.revertchanges
rpc.cron.getlist
rpc.cron.set
rpc.diskmgmt.sethdparm
rpc.diskmgmt.wipe
rpc.emailnotification.set
rpc.exec.getoutput
rpc.exec.isrunning
rpc.exec.stop
rpc.filesystemmgmt.create
rpc.filesystemmgmt.delete
rpc.filesystemmgmt.enumeratemountedfilesystems
rpc.filesystemmgmt.hasfilesystem
rpc.filesystemmgmt.mount
rpc.filesystemmgmt.resize
rpc.filesystemmgmt.umount
rpc.folderbrowser.get
rpc.fstab.getbydir
rpc.fstab.getbyfsname
rpc.fstab.set
rpc.ftp.setmodbanrule
rpc.ftp.setmodtlssettings
rpc.ftp.setsettings
rpc.ftp.setshare
rpc.iptables.setrule
rpc.iptables.setrules
rpc.iptables.setrules6
rpc.logfile.clear
rpc.logfile.getcontent
rpc.logfile.getlist
rpc.network.enumeratebondslaves
rpc.network.identify
rpc.network.setbondiface
rpc.network.setethernetiface
rpc.network.setgeneralsettings
rpc.network.setproxy
rpc.network.setvlaniface
rpc.network.setwirelessiface
rpc.nfs.setsettings
rpc.nfs.setshare
rpc.notification.isenabled
rpc.notification.set
rpc.nut.set
rpc.perfstats.set
rpc.plugin.install
rpc.plugin.remove
rpc.plugin.upload
rpc.powermgmt.set
rpc.powermgmt.setscheduledjob
rpc.quota.set
rpc.raidmgmt.add
rpc.raidmgmt.create
rpc.raidmgmt.delete
rpc.raidmgmt.getdetail
rpc.raidmgmt.getslaves
rpc.raidmgmt.grow
rpc.raidmgmt.remove
rpc.rsync.set
rpc.rsyncd.setmodule
rpc.rsyncd.setsettings
rpc.session.login
rpc.sharemgmt.delete
rpc.sharemgmt.getfileacl
rpc.sharemgmt.getprivilegesbyrole
rpc.sharemgmt.set
rpc.sharemgmt.setfileacl
rpc.sharemgmt.setprivileges
rpc.sharemgmt.setprivilegesbyrole
rpc.smart.setdevicesettings
rpc.smart.setscheduledtest
rpc.smart.setsettings
rpc.smb.setsettings
rpc.smb.setshare
rpc.ssh.set
rpc.syslog.setsettings
rpc.system.reboot
rpc.system.setdate
rpc.system.settimesettings
rpc.system.shutdown
rpc.system.standby
rpc.usermngmt.authuser
rpc.usermngmt.deletegroup
rpc.usermngmt.deleteuser
rpc.usermngmt.getgroup
rpc.usermngmt.getuser
rpc.usermngmt.importgroup
rpc.usermngmt.importuser
rpc.usermngmt.setgroup
rpc.usermngmt.setsettings
rpc.usermngmt.setuser
rpc.usermngmt.setuserbycontext
rpc.webgui.setpassword
rpc.webgui.setsettings
rpc.zeroconf.set
Registered filesystem backends:
btrfs
exfat
ext
ext2
ext3
ext4
fuseblk
hfsplus
iso9660
jfs
msdos
none
ntfs
reiserfs
udf
ufs
umsdos
vfat
xfs
Registered RPC services:
apt
certificatemgmt
config
cron
diskmgmt
emailnotification
exec
filesystemmgmt
folderbrowser
fstab
ftp
iptables
logfile
network
nfs
notification
nut
perfstats
plugin
powermgmt
quota
raidmgmt
rrd
rsync
rsyncd
services
sharemgmt
smart
smb
ssh
syslog
system
usermgmt
webgui
zeroconf
Registered modules:
acpid
apt
certificatemgmt
collectd
cpufrequtils
cron
cronapt
email
fstab
ftp
halt
hdparm
hostname
hosts
interfaces
iptables
issue
mdadm
monit
networking
nfs
ntp
nut
pam
phpfpm
profile
quota
rrdcached
rsync
rsyncd
samba
sharedfolders
smartmontools
ssh
sysctl
syslog
systemd
systemdlogind
timezone
webadmin
webserver
zeroconf
SIGCHLD received ...
Alles anzeigen
no 502 Bad Gateway nginx error now
now just white screen
done! but didn’t help
white screen when entering the web
omw-firstaid -configure network interface - ERROR: [Errno 11] Resource temporarily unavailable
Can you start omv-engined -d -f now?
getting it
CodeAlles anzeigenroot@storage:~# omv-engined -d -f Registered data models: conf.service conf.service.ftp conf.service.ftp.modban.rule conf.service.ftp.modtls conf.service.ftp.share conf.service.nfs conf.service.nfs.share conf.service.nut conf.service.rsync.job conf.service.rsyncd conf.service.rsyncd.module conf.service.smartmontools conf.service.smartmontools.device conf.service.smartmontools.job conf.service.smb conf.service.smb.share conf.service.ssh conf.service.zeroconf.service conf.system.apt.distribution conf.system.certificate.ssh conf.system.certificate.ssl conf.system.cron.job conf.system.email conf.system.filesystem.mountpoint conf.system.filesystem.quota conf.system.hdparm conf.system.mdadm.device conf.system.monitoring.perfstats conf.system.network.dns conf.system.network.interface conf.system.network.iptables.rule conf.system.network.proxy conf.system.notification.email conf.system.notification.notification conf.system.powermngmnt conf.system.sharedfolder conf.system.sharedfolder.privilege conf.system.syslog.remote conf.system.time conf.system.usermngmnt.group conf.system.usermngmnt.homedir conf.system.usermngmnt.user conf.webadmin rpc.apt.getchangelog rpc.apt.setsettings rpc.apt.upgrade rpc.apt.upload rpc.certificatemgmt.copysshid rpc.certificatemgmt.create rpc.certificatemgmt.createssh rpc.certificatemgmt.set rpc.certificatemgmt.setssh rpc.common.devicefile rpc.common.getlist rpc.common.objectuuid rpc.config.applychanges rpc.config.revertchanges rpc.cron.getlist rpc.cron.set rpc.diskmgmt.sethdparm rpc.diskmgmt.wipe rpc.emailnotification.set rpc.exec.getoutput rpc.exec.isrunning rpc.exec.stop rpc.filesystemmgmt.create rpc.filesystemmgmt.delete rpc.filesystemmgmt.enumeratemountedfilesystems rpc.filesystemmgmt.hasfilesystem rpc.filesystemmgmt.mount rpc.filesystemmgmt.resize rpc.filesystemmgmt.umount rpc.folderbrowser.get rpc.fstab.getbydir rpc.fstab.getbyfsname rpc.fstab.set rpc.ftp.setmodbanrule rpc.ftp.setmodtlssettings rpc.ftp.setsettings rpc.ftp.setshare rpc.iptables.setrule rpc.iptables.setrules rpc.iptables.setrules6 rpc.logfile.clear rpc.logfile.getcontent rpc.logfile.getlist rpc.network.enumeratebondslaves rpc.network.identify rpc.network.setbondiface rpc.network.setethernetiface rpc.network.setgeneralsettings rpc.network.setproxy rpc.network.setvlaniface rpc.network.setwirelessiface rpc.nfs.setsettings rpc.nfs.setshare rpc.notification.isenabled rpc.notification.set rpc.nut.set rpc.perfstats.set rpc.plugin.install rpc.plugin.remove rpc.plugin.upload rpc.powermgmt.set rpc.powermgmt.setscheduledjob rpc.quota.set rpc.raidmgmt.add rpc.raidmgmt.create rpc.raidmgmt.delete rpc.raidmgmt.getdetail rpc.raidmgmt.getslaves rpc.raidmgmt.grow rpc.raidmgmt.remove rpc.rsync.set rpc.rsyncd.setmodule rpc.rsyncd.setsettings rpc.session.login rpc.sharemgmt.delete rpc.sharemgmt.getfileacl rpc.sharemgmt.getprivilegesbyrole rpc.sharemgmt.set rpc.sharemgmt.setfileacl rpc.sharemgmt.setprivileges rpc.sharemgmt.setprivilegesbyrole rpc.smart.setdevicesettings rpc.smart.setscheduledtest rpc.smart.setsettings rpc.smb.setsettings rpc.smb.setshare rpc.ssh.set rpc.syslog.setsettings rpc.system.reboot rpc.system.setdate rpc.system.settimesettings rpc.system.shutdown rpc.system.standby rpc.usermngmt.authuser rpc.usermngmt.deletegroup rpc.usermngmt.deleteuser rpc.usermngmt.getgroup rpc.usermngmt.getuser rpc.usermngmt.importgroup rpc.usermngmt.importuser rpc.usermngmt.setgroup rpc.usermngmt.setsettings rpc.usermngmt.setuser rpc.usermngmt.setuserbycontext rpc.webgui.setpassword rpc.webgui.setsettings rpc.zeroconf.set Registered filesystem backends: btrfs exfat ext ext2 ext3 ext4 fuseblk hfsplus iso9660 jfs msdos none ntfs reiserfs udf ufs umsdos vfat xfs Registered RPC services: apt certificatemgmt config cron diskmgmt emailnotification exec filesystemmgmt folderbrowser fstab ftp iptables logfile network nfs notification nut perfstats plugin powermgmt quota raidmgmt rrd rsync rsyncd services sharemgmt smart smb ssh syslog system usermgmt webgui zeroconf Registered modules: acpid apt certificatemgmt collectd cpufrequtils cron cronapt email fstab ftp halt hdparm hostname hosts interfaces iptables issue mdadm monit networking nfs ntp nut pam phpfpm profile quota rrdcached rsync rsyncd samba sharedfolders smartmontools ssh sysctl syslog systemd systemdlogind timezone webadmin webserver zeroconf SIGCHLD received ...
commands executed without errors
did not help((( not working
What is the exact error in the syslog now?
Nov 22 14:39:00 storage monit[1042]: 'nginx' failed protocol test [HTTP] at [127.0.0.1]:80 [TCP/IP] -- HTTP error: Server returned status 500
Nov 22 14:39:00 storage monit[1042]: 'nginx' trying to restart
Nov 22 14:39:00 storage monit[1042]: 'nginx' stop: '/bin/systemctl stop nginx'
Nov 22 14:39:00 storage systemd[1]: Starting Clean php session files...
Nov 22 14:39:00 storage systemd[1]: Stopping A high performance web server and a reverse proxy server...
Nov 22 14:39:00 storage systemd[1]: nginx.service: Succeeded.
Nov 22 14:39:00 storage systemd[1]: Stopped A high performance web server and a reverse proxy server.
Nov 22 14:39:00 storage monit[1042]: 'nginx' start: '/bin/systemctl start nginx'
Nov 22 14:39:00 storage systemd[1]: Starting A high performance web server and a reverse proxy server...
Nov 22 14:39:00 storage systemd[1]: Started A high performance web server and a reverse proxy server.
Nov 22 14:39:00 storage systemd[1]: phpsessionclean.service: Succeeded.
Nov 22 14:39:00 storage systemd[1]: Started Clean php session files.
Nov 22 14:39:01 storage CRON[11984]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean;
Nov 22 14:39:01 storage CRON[11985]: (root) CMD ( [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
Nov 22 14:39:03 storage ntpd[992]: Soliciting pool server 80.240.216.155
Nov 22 14:39:22 storage ntpd[992]: Soliciting pool server 94.247.111.10
Nov 22 14:39:27 storage ntpd[992]: Soliciting pool server 85.159.224.52
Nov 22 14:39:31 storage monit[1042]: Cannot create socket to [127.0.0.1]:25 -- Connection refused
Nov 22 14:39:31 storage monit[1042]: Cannot open a connection to the mailserver 127.0.0.1:25 -- Operation now in progress
Nov 22 14:39:31 storage monit[1042]: Mail: Delivery failed -- no mail server is available
Nov 22 14:39:31 storage monit[1042]: Alert handler failed, retry scheduled for next cycle;88;35M
Nov 22 14:39:31 storage monit[1042]: 'nginx' failed protocol test [HTTP] at [127.0.0.1]:80 [TCP/IP] -- HTTP error: Server returned status 500
Nov 22 14:39:31 storage monit[1042]: 'nginx' trying to restart
Nov 22 14:39:31 storage monit[1042]: 'nginx' stop: '/bin/systemctl stop nginx'
Nov 22 14:39:31 storage systemd[1]: Stopping A high performance web server and a reverse proxy server...
Nov 22 14:39:31 storage systemd[1]: nginx.service: Succeeded.
Nov 22 14:39:31 storage systemd[1]: Stopped A high performance web server and a reverse proxy server.
Nov 22 14:39:31 storage monit[1042]: 'nginx' start: '/bin/systemctl start nginx'
Nov 22 14:39:31 storage systemd[1]: Starting A high performance web server and a reverse proxy server...
Nov 22 14:39:32 storage systemd[1]: Started A high performance web server and a reverse proxy server.
Nov 22 14:39:40 storage ntpd[992]: Soliciting pool server 185.22.60.71
Nov 22 14:39:44 storage systemd[1]: Stopping The PHP 7.0 FastCGI Process Manager...
Nov 22 14:39:44 storage systemd[1]: php7.0-fpm.service: Succeeded.
Nov 22 14:39:44 storage systemd[1]: Stopped The PHP 7.0 FastCGI Process Manager.
Nov 22 14:39:44 storage systemd[1]: Starting The PHP 7.0 FastCGI Process Manager...
Nov 22 14:39:44 storage systemd[1]: Started The PHP 7.0 FastCGI Process Manager.
Nov 22 14:39:59 storage systemd[1]: Stopping A high performance web server and a reverse proxy server...
Nov 22 14:39:59 storage systemd[1]: nginx.service: Succeeded.
Nov 22 14:39:59 storage systemd[1]: Stopped A high performance web server and a reverse proxy server.
Nov 22 14:39:59 storage systemd[1]: Starting A high performance web server and a reverse proxy server...
Nov 22 14:39:59 storage systemd[1]: Started A high performance web server and a reverse proxy server.
Nov 22 14:40:02 storage monit[1042]: Cannot create socket to [127.0.0.1]:25 -- Connection refused
Nov 22 14:40:02 storage monit[1042]: Cannot open a connection to the mailserver 127.0.0.1:25 -- Operation now in progress
Nov 22 14:40:02 storage monit[1042]: Mail: Delivery failed -- no mail server is available
Nov 22 14:40:02 storage monit[1042]: Alert handler failed, retry scheduled for next cycle
Nov 22 14:40:08 storage ntpd[992]: Soliciting pool server 85.21.78.23
Alles anzeigen
There is an error log in /var/log/php/xxxx. Please have a look there.
/var/log/php/ - no directory
php7.0-fpm.log
Sorry, i meant /var/log/nginx/openmediavault-webgui_error.log
2019/11/23 09:09:25 [error] 53449#53449: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class 'DOMDocument' not found in /usr/share/php/openmediavault/config/databasebackend.inc:110
Stack trace:
#0 /usr/share/php/openmediavault/config/database.inc(34): OMV\Config\DatabaseBackend->load()
#1 /usr/share/php/openmediavault/config/database.inc(44): OMV\Config\Database->__construct()
#2 /usr/share/php/openmediavault/env.inc(42): OMV\Config\Database::getInstance()
#3 /var/www/openmediavault/index.php(24): require_once('/usr/share/php/...')
#4 {main}
thrown in /usr/share/php/openmediavault/config/databasebackend.inc on line 110" while reading response header from upstream, client: 127.0.0.1, server: openmediavault-webgui, request: "HEAD / HTTP/1.1", upstream: "fastcgi
Another missing package called php-xml. Have a look here https://github.com/openmediava…mediavault/debian/control which packages are needed.
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!