Lost Dashboard after latest update to 7.5

testing
cups
v7
server-manager

(Gordon) #1

NethServer Version: 7.5
Module: server-manager
Dashboard comes up blank with no side navigation panel, but manually navigating to other pages works.

The only log error is in httpd-admin/error.log

[Thu May 24 07:50:31.319269 2018] [:error] [pid 30332] [client 192.168.100.161:36762] PHP Warning:  Invalid argument supplied for foreach() in /usr/share/nethesis/NethServer/Tool/phpprintipp/http_class.php on line 317, referer: https://192.168.100.1:980/en-US/Dashboard
[Thu May 24 07:50:31.319324 2018] [:error] [pid 30332] [client 192.168.100.161:36762] PHP Warning:  \\nE_USER_WARNING: [errno: ]: Unable to connect to "tcp://localhost port 631": Connection refused in /usr/share/nethesis/NethServer/Tool/phpprintipp/http_class.php on line 329, referer: https://192.168.100.1:980/en-US/Dashboard
[Thu May 24 07:50:31.319347 2018] [:error] [pid 30332] [client 192.168.100.161:36762] PHP Warning:  No Response From Server in /usr/share/nethesis/NethServer/Tool/phpprintipp/BasicIPP.php on line 1218, referer: https://192.168.100.1:980/en-US/Dashboard
[Thu May 24 07:50:34.133176 2018] [:error] [pid 30332] [client 192.168.100.161:36762] PHP Warning:  Cannot modify header information - headers already sent by (output started at /usr/share/nethesis/Nethgui/Utility/HttpResponse.php:81) in /usr/share/nethesis/nethserver-manager/index.php on line 39, referer: https://192.168.100.1:980/en-US/Dashboard

I note the reference to cups (:631) in the log but the cups service loads OK. It is not used at this stage.
Maybe a possible permissions issue???


Nethserver-fail2ban causes blank page in server manager
(Davide Principi) #2

Thank you for reporting the issue @compsos!

Could you attach the list of neth-rpms?

rpm -qa | grep -E '(nethserver|cups)'

(Gordon) #3

The Dashboard was OK until the latest updates done in the last 2 days.

Thanks @davidep

rpm -qa | grep -E '(nethserver|cups)'
nethserver-diagtools-1.0.1-1.ns7.noarch
nethserver-pulledpork-2.1.2-1.ns7.noarch
nethserver-lang-en-1.2.11-1.ns7.noarch
nethserver-httpd-admin-2.3.0-1.ns7.noarch
nethserver-rh-php71-php-fpm-1.0.0-1.ns7.noarch
nethserver-smartd-1.1.0-1.ns7.noarch
nethserver-sssd-1.3.8-1.ns7.noarch
nethserver-nextcloud-1.2.1-1.ns7.noarch
nethserver-unbound-1.1.0-1.ns7.noarch
nethserver-backup-data-1.3.4-1.ns7.noarch
nethserver-squid-1.7.0-1.ns7.noarch
nethserver-mail2-common-2.2.0-1.ns7.noarch
nethserver-mail2-filter-2.2.0-1.ns7.noarch
nethserver-lightsquid-1.1.2-1.ns7.noarch
nethserver-duc-1.4.3-1.ns7.noarch
nethserver-antivirus-1.2.1-1.ns7.noarch
nethserver-c-icap-1.1.0-1.ns7.noarch
nethserver-restore-data-1.2.4-1.ns7.noarch
nethserver-dc-1.5.1-1.ns7.x86_64
nethserver-hosts-1.2.2-1.ns7.noarch
nethserver-httpd-3.2.3-1.ns7.noarch
nethserver-ndpi-1.1.2-1.ns7.noarch
nethserver-httpd-proxypass-3.2.3-1.ns7.noarch
nethserver-phonehome-1.3.0-1.ns7.noarch
nethserver-backup-config-2.1.0-1.ns7.noarch
nethserver-fail2ban-1.0.1-1.ns7.noarch
nethserver-lsm-1.2.3-1.ns7.noarch
nethserver-ntp-1.1.3-1.ns7.noarch
nethserver-mail-smarthost-1.0.1-1.ns7.noarch
cups-1.6.3-35.el7.x86_64
nethserver-letsencrypt-1.1.6-1.ns7.noarch
nethserver-lib-2.2.7-1.ns7.noarch
ghostscript-cups-9.07-28.el7_4.2.x86_64
nethserver-avahi-1.1.0-1.ns7.noarch
nethserver-net-snmp-1.1.0-1.ns7.noarch
cups-filters-libs-1.0.35-22.el7.x86_64
nethserver-vsftpd-1.1.0-1.ns7.noarch
nethserver-mysql-1.1.3-1.ns7.noarch
nethserver-dnsmasq-1.6.6-1.ns7.noarch
nethserver-release-7-6.ns7.noarch
nethserver-firewall-base-3.4.0-1.ns7.noarch
nethserver-firewall-base-ui-3.4.0-1.ns7.noarch
nethserver-httpd-virtualhosts-3.2.3-1.ns7.noarch
nethserver-samba-4.1.0-1.ns7.noarch
nethserver-yum-1.4.1-1.ns7.noarch
nethserver-ntopng-2.1.1-1.ns7.noarch
nethserver-php-1.2.0-1.ns7.noarch
nethserver-openssh-1.2.2-1.ns7.noarch
cups-filesystem-1.6.3-35.el7.noarch
nethserver-evebox-1.0.1-1.ns7.noarch
nethserver-squidguard-1.8.0-1.ns7.noarch
cups-libs-1.6.3-35.el7.x86_64
nethserver-cups-1.2.1-1.ns7.noarch
cups-client-1.6.3-35.el7.x86_64
nethserver-ejabberd-1.1.5-1.ns7.noarch
nethserver-base-3.2.0-1.ns7.noarch
nethserver-mail2-server-2.2.0-1.ns7.noarch
nethserver-suricata-1.1.1-1.ns7.noarch
nethserver-stephdl-1.0.6-1.ns7.sdl.noarch
nethserver-samba-audit-1.1.3-1.ns7.noarch
nethserver-openvpn-1.6.10-1.ns7.noarch
cups-filters-1.0.35-22.el7.x86_64
nethserver-nethforge-release-7-1.ns7.noarch
nethserver-squidclamav-3.0.0-1.ns7.noarch

This is the list of updates applied
May 25 09:24:39 Updated: nethserver-base-3.2.0-1.ns7.noarch
May 25 09:24:40 Updated: nethserver-mail2-common-2.2.0-1.ns7.noarch
May 25 09:24:40 Updated: nethserver-httpd-3.2.3-1.ns7.noarch
May 25 09:24:40 Updated: nethserver-release-7-6.ns7.noarch
May 25 09:24:40 Updated: nethserver-lang-en-1.2.11-1.ns7.noarch
May 25 09:24:40 Installed: iptables-services-1.4.21-24.1.el7_5.x86_64
May 25 09:24:41 Installed: firehol-3.1.5-1.el7.centos.noarch
May 25 09:24:41 Updated: nethserver-firewall-base-3.4.0-1.ns7.noarch
May 25 09:24:46 Installed: kernel-3.10.0-862.3.2.el7.x86_64
May 25 09:27:02 Updated: kmod-xt_ndpi-2.0.4-1.ns7.x86_64
May 25 09:27:02 Updated: nethserver-ndpi-1.1.2-1.ns7.noarch
May 25 09:27:02 Updated: nethserver-firewall-base-ui-3.4.0-1.ns7.noarch
May 25 09:27:03 Updated: nethserver-httpd-admin-2.3.0-1.ns7.noarch
May 25 09:27:03 Updated: nethserver-nethforge-release-7-1.ns7.noarch
May 25 09:27:03 Updated: nethserver-httpd-proxypass-3.2.3-1.ns7.noarch
May 25 09:27:03 Updated: nethserver-httpd-virtualhosts-3.2.3-1.ns7.noarch
May 25 09:27:03 Updated: nethserver-mail2-server-2.2.0-1.ns7.noarch
May 25 09:27:03 Updated: nethserver-mail2-filter-2.2.0-1.ns7.noarch
May 25 09:27:03 Updated: nethserver-backup-config-2.1.0-1.ns7.noarch
May 25 09:27:03 Updated: nethserver-samba-4.1.0-1.ns7.noarch
May 25 09:27:04 Updated: python-perf-3.10.0-862.3.2.el7.x86_64
May 25 09:27:04 Updated: e2fsprogs-debuginfo-1.42.9-12.el7_5.x86_64
May 25 09:27:22 Updated: nethserver-fail2ban-1.0.1-1.ns7.noarch
May 25 09:27:22 Updated: nethserver-ntopng-2.1.1-1.ns7.noarch


(Pablo Brauner Viegas) #4

I did the update yesterday and two days ago and I’m also having the same problem.
The version of the kernel that is running is 3.10.0-862.3.2.el7.x86_64.
Below are some errors that have been reported related to Dashboard:

[Wed Apr 25 09:12:59.706711 2018] [:error] [pid 505] [client 192.168.10.175:50647] PHP Warning: max(): Array must contain at least one element in /usr/share/nethesis/NethServer/Module/Proxy/Rules/Modify.php on line 131, referer: https://***:980/pt-BR/Dashboard

[Wed Apr 25 10:24:07.427881 2018] [:error] [pid 24711] [client 192.168.10.175:56459] PHP Warning: max(): Array must contain at least one element in /usr/share/nethesis/NethServer/Module/Proxy/Rules/Modify.php on line 131, referer: https://***:980/en-US/Dashboard

[Wed Apr 25 10:29:15.612446 2018] [:error] [pid 23797] [client 192.168.10.175:56502] PHP Warning: max(): Array must contain at least one element in /usr/share/nethesis/NethServer/Module/Proxy/Rules/Modify.php on line 131, referer: https://***:980/en-US/Dashboard


(Markus Neuberger) #5

I found that I have the same problem on one of my servers.

cups-1.6.3-35.el7.x86_64
cups-client-1.6.3-35.el7.x86_64
cups-filesystem-1.6.3-35.el7.noarch
cups-filters-1.0.35-22.el7.x86_64
cups-filters-libs-1.0.35-22.el7.x86_64
cups-libs-1.6.3-35.el7.x86_64
ghostscript-cups-9.07-28.el7_4.2.x86_64
nethserver-antivirus-1.2.1-1.ns7.noarch
nethserver-avahi-1.1.0-1.ns7.noarch
nethserver-awstats-0.1.5-1.ns7.sdl.noarch
nethserver-backup-config-2.1.0-1.ns7.noarch
nethserver-backup-data-1.3.4-1.ns7.noarch
nethserver-base-3.2.0-1.ns7.noarch
nethserver-cgp-2.1.3-1.ns7.noarch
nethserver-collectd-3.0.6-1.ns7.noarch
nethserver-cups-1.2.1-1.ns7.noarch
nethserver-dc-1.5.1-1.ns7.x86_64
nethserver-diagtools-1.0.1-1.ns7.noarch
nethserver-dnsmasq-1.6.6-1.ns7.noarch
nethserver-dokuwiki-1.2.3-1.ns7.sdl.noarch
nethserver-duc-1.4.3-1.ns7.noarch
nethserver-ejabberd-1.1.5-1.ns7.noarch
nethserver-fail2ban-1.0.1-1.2.pr27.g9b5197e.ns7.noarch
nethserver-firewall-base-3.4.0-1.ns7.noarch
nethserver-guacamole-0.0.0-2.ns7.noarch
nethserver-horde-0.0.1-1.11.gdc04b3e.ns7.noarch
nethserver-hosts-1.2.2-1.ns7.noarch
nethserver-httpd-3.2.3-1.ns7.noarch
nethserver-httpd-admin-2.3.0-1.ns7.noarch
nethserver-httpd-virtualhosts-3.2.3-1.ns7.noarch
nethserver-lang-en-1.2.11-1.ns7.noarch
nethserver-letsencrypt-1.1.6-1.ns7.noarch
nethserver-lib-2.2.7-1.ns7.noarch
nethserver-lsm-1.2.3-1.ns7.noarch
nethserver-mail2-common-2.2.0-1.ns7.noarch
nethserver-mail2-filter-2.2.0-1.ns7.noarch
nethserver-mail2-getmail-2.2.0-1.ns7.noarch
nethserver-mail2-server-2.2.0-1.ns7.noarch
nethserver-mail-smarthost-1.0.1-1.ns7.noarch
nethserver-mattermost-1.1.0-1.ns7.x86_64
nethserver-memcached-1.1.0-1.ns7.noarch
nethserver-mrmarkuz-0.0.1-2.ns7.noarch
nethserver-mysql-1.1.3-1.ns7.noarch
nethserver-nethforge-release-7-1.ns7.noarch
nethserver-net-snmp-1.1.0-1.ns7.noarch
nethserver-nextcloud-1.2.1-1.ns7.noarch
nethserver-nginx-0.0.1-1.ns7.noarch
nethserver-ntp-1.1.3-1.ns7.noarch
nethserver-omd-0.0.1-4.ns7.noarch
nethserver-onlyoffice-0.0.1-3.ns7.noarch
nethserver-openssh-1.2.2-1.ns7.noarch
nethserver-phonehome-1.3.0-1.ns7.noarch
nethserver-php-1.2.0-1.ns7.noarch
nethserver-phpmyadmin-1.2.2-1.ns7.sdl.noarch
nethserver-postgresql-1.1.0-1.ns7.noarch
nethserver-postgresql94-1.0.0-1.ns7.noarch
nethserver-redis-1.1.0-1.ns7.noarch
nethserver-release-7-6.ns7.noarch
nethserver-restore-data-1.2.4-1.ns7.noarch
nethserver-rh-php71-php-fpm-1.0.0-1.3.g395a32c.ns7.noarch
nethserver-roundcubemail-1.2.9-1.ns7.noarch
nethserver-samba-4.1.0-1.ns7.noarch
nethserver-samba-audit-1.1.3-1.ns7.noarch
nethserver-smartd-1.1.0-1.ns7.noarch
nethserver-sogo-1.7.2-1.ns7.noarch
nethserver-sssd-1.3.8-1.ns7.noarch
nethserver-stephdl-1.0.6-1.ns7.sdl.noarch
nethserver-subscription-3.0.3-1.ns7.noarch
nethserver-subscription-ui-3.0.3-1.ns7.noarch
nethserver-tomcat-1.1.0-1.ns7.noarch
nethserver-unbound-1.1.0-1.ns7.noarch
nethserver-vsftpd-1.1.0-1.ns7.noarch
nethserver-webtop5-1.2.3-1.ns7.noarch
nethserver-yum-1.4.1-1.ns7.noarch
nethserver-yum-cron-1.0.0-1.ns7.sdl.noarch
yum.log
May 24 06:32:26 Updated: nodejs.x86_64 1:6.14.2-1.el7
May 24 06:32:27 Updated: npm.x86_64 1:3.10.10-1.6.14.2.1.el7
May 24 21:58:41 Installed: systemd-python-219-57.el7.x86_64
May 24 21:58:41 Installed: fail2ban-server-0.9.7-1.el7.noarch
May 24 21:58:41 Installed: fail2ban-sendmail-0.9.7-1.el7.noarch
May 24 21:58:41 Installed: fail2ban-shorewall-0.9.7-1.el7.noarch
May 24 21:58:41 Installed: fail2ban-firewalld-0.9.7-1.el7.noarch
May 24 21:58:41 Installed: fail2ban-0.9.7-1.el7.noarch
May 24 21:58:41 Installed: nethserver-fail2ban-1.0.1-1.2.pr27.g9b5197e.ns7.noarch
May 24 23:15:55 Installed: 1:xorg-x11-xauth-1.0.9-1.el7.x86_64
May 24 23:15:55 Installed: pwgen-2.07-1.el7.x86_64
May 24 23:15:55 Installed: libXfont2-2.0.1-2.el7.x86_64
May 24 23:15:56 Installed: xorg-x11-xkb-utils-7.7-12.el7.x86_64
May 24 23:15:56 Installed: mesa-libGLU-9.0.0-4.el7.x86_64
May 24 23:15:56 Installed: xkeyboard-config-2.20-1.el7.noarch
May 24 23:15:56 Installed: xorg-x11-server-common-1.19.5-5.el7.x86_64
May 24 23:15:56 Installed: libXdmcp-1.1.2-6.el7.x86_64
May 24 23:15:56 Installed: xorg-x11-server-Xvfb-1.19.5-5.el7.x86_64
May 24 23:15:56 Installed: libXScrnSaver-1.2.2-6.1.el7.x86_64
May 24 23:15:57 Installed: pangox-compat-0.0.2-2.el7.x86_64
May 24 23:15:57 Installed: gtkglext-libs-1.2.0-21.el7.x86_64
May 24 23:16:36 Installed: onlyoffice-documentserver-5.1.4-22.x86_64
May 24 23:17:32 Installed: nethserver-nginx-0.0.1-1.ns7.noarch
May 24 23:17:32 Installed: nethserver-redis-1.1.0-1.ns7.noarch
May 24 23:17:32 Installed: nethserver-onlyoffice-0.0.1-3.ns7.noarch
May 25 04:49:13 Updated: php71-php-json.x86_64 7.1.18-1.el7.remi
May 25 04:49:13 Updated: php71-php-common.x86_64 7.1.18-1.el7.remi
May 25 04:49:13 Updated: php72-php-json.x86_64 7.2.6-1.el7.remi
May 25 04:49:13 Updated: php72-php-common.x86_64 7.2.6-1.el7.remi
May 25 04:49:13 Updated: php72-php-pdo.x86_64 7.2.6-1.el7.remi
May 25 04:49:13 Updated: php71-php-pdo.x86_64 7.1.18-1.el7.remi
May 25 04:49:13 Updated: php71-php-pgsql.x86_64 7.1.18-1.el7.remi
May 25 04:49:13 Updated: php71-php-mysqlnd.x86_64 7.1.18-1.el7.remi
May 25 04:49:13 Updated: php72-php-mysqlnd.x86_64 7.2.6-1.el7.remi
May 25 04:49:14 Updated: php72-php-pgsql.x86_64 7.2.6-1.el7.remi
May 25 04:49:14 Updated: php72-php-mbstring.x86_64 7.2.6-1.el7.remi
May 25 04:49:14 Updated: php72-php-bcmath.x86_64 7.2.6-1.el7.remi
May 25 04:49:14 Updated: php72-php-enchant.x86_64 7.2.6-1.el7.remi
May 25 04:49:14 Updated: php72-php-ldap.x86_64 7.2.6-1.el7.remi
May 25 04:49:14 Updated: php72-php-imap.x86_64 7.2.6-1.el7.remi
May 25 04:49:15 Updated: php72-php-cli.x86_64 7.2.6-1.el7.remi
May 25 04:49:15 Updated: php72-php-fpm.x86_64 7.2.6-1.el7.remi
May 25 04:49:15 Updated: php72-php-process.x86_64 7.2.6-1.el7.remi
May 25 04:49:15 Updated: php72-php-xml.x86_64 7.2.6-1.el7.remi
May 25 04:49:15 Updated: php72-php-soap.x86_64 7.2.6-1.el7.remi
May 25 04:49:15 Updated: php72-php-tidy.x86_64 7.2.6-1.el7.remi
May 25 04:49:15 Updated: php72-php-gd.x86_64 7.2.6-1.el7.remi
May 25 04:49:15 Updated: php71-php-bcmath.x86_64 7.1.18-1.el7.remi
May 25 04:49:16 Updated: php71-php-fpm.x86_64 7.1.18-1.el7.remi
May 25 04:49:17 Updated: php71-php-cli.x86_64 7.1.18-1.el7.remi
May 25 04:49:17 Updated: php71-php-mcrypt.x86_64 7.1.18-1.el7.remi
May 25 04:49:17 Updated: php71-php-gd.x86_64 7.1.18-1.el7.remi
May 25 04:49:17 Updated: php71-php-imap.x86_64 7.1.18-1.el7.remi
May 25 04:49:17 Updated: php71-php-mbstring.x86_64 7.1.18-1.el7.remi
May 25 04:49:17 Updated: php71-php-ldap.x86_64 7.1.18-1.el7.remi
May 25 04:49:18 Updated: php71-php-xml.x86_64 7.1.18-1.el7.remi
May 25 04:49:18 Updated: php71-php-soap.x86_64 7.1.18-1.el7.remi
May 25 04:49:18 Updated: php71-php-enchant.x86_64 7.1.18-1.el7.remi
May 25 04:49:18 Updated: php71-php-tidy.x86_64 7.1.18-1.el7.remi
May 25 04:49:18 Updated: php71-php-process.x86_64 7.1.18-1.el7.remi
May 25 04:49:20 Updated: roundcubemail.noarch 1.1.12-2.el7

EDIT:

Firefox Console:

TypeError: childPanel is undefined
7146e1ca.js:719:17
_create/< - https://192.168.1.21:980/en-US/Resource/7146e1ca.js:719:17
each - https://192.168.1.21:980/js/jquery-1.12.4.min.js:2:2879
each - https://192.168.1.21:980/js/jquery-1.12.4.min.js:2:844
_create - https://192.168.1.21:980/en-US/Resource/7146e1ca.js:717:13
_createWidget - https://192.168.1.21:980/js/jquery-ui-1.8.23.min.js:5:5920
a.widget/a[e][b] - https://192.168.1.21:980/js/jquery-ui-1.8.23.min.js:5:4875
a.widget.bridge/a.fn[c]/< - https://192.168.1.21:980/js/jquery-ui-1.8.23.min.js:5:5523
each - https://192.168.1.21:980/js/jquery-1.12.4.min.js:2:2879
each - https://192.168.1.21:980/js/jquery-1.12.4.min.js:2:844
a.widget.bridge/a.fn[c] - https://192.168.1.21:980/js/jquery-ui-1.8.23.min.js:5:5441
_initializeDeep - https://192.168.1.21:980/en-US/Resource/7146e1ca.js:378:25
_create - https://192.168.1.21:980/en-US/Resource/7146e1ca.js:330:17
_createWidget -https://192.168.1.21:980/js/jquery-ui-1.8.23.min.js:5:5920
a.widget/a[e][b] - https://192.168.1.21:980/js/jquery-ui-1.8.23.min.js:5:4875
a.widget.bridge/a.fn[c]/< - https://192.168.1.21:980/js/jquery-ui-1.8.23.min.js:5:5523
each - https://192.168.1.21:980/js/jquery-1.12.4.min.js:2:2879
each - https://192.168.1.21:980/js/jquery-1.12.4.min.js:2:844
a.widget.bridge/a.fn[c] - https://192.168.1.21:980/js/jquery-ui-1.8.23.min.js:5:5441
<anonym> - https://192.168.1.21:980/en-US/Resource/7146e1ca.js:1571:5
i - https://192.168.1.21:980/js/jquery-1.12.4.min.js:2:27444
fireWith - https://192.168.1.21:980/js/jquery-1.12.4.min.js:2:28213
ready - https://192.168.1.21:980/js/jquery-1.12.4.min.js:2:30004
K - https://192.168.1.21:980/js/jquery-1.12.4.min.js:2:30366

Chrome Console:

JQMIGRATE: Migrate is installed, version 1.4.1
7146e1ca.js:719 Uncaught TypeError: Cannot read property 'id' of undefined
    at HTMLAnchorElement.<anonymous> (7146e1ca.js:719)
    at Function.each (jquery-1.12.4.min.js:2)
    at a.fn.init.each (jquery-1.12.4.min.js:2)
    at a.(anonymous function).(anonymous function)._create (https://192.168.1.21:980/en-US/Resource/7146e1ca.js:717:60)
    at a.(anonymous function).(anonymous function)._createWidget (https://192.168.1.21:980/js/jquery-ui-1.8.23.min.js:5:5925)
    at new a.(anonymous function).(anonymous function) (https://192.168.1.21:980/js/jquery-ui-1.8.23.min.js:5:4880)
    at HTMLDivElement.<anonymous> (jquery-ui-1.8.23.min.js:5)
    at Function.each (jquery-1.12.4.min.js:2)
    at a.fn.init.each (jquery-1.12.4.min.js:2)
    at a.fn.init.a.fn.(anonymous function) [as Tabs] (https://192.168.1.21:980/js/jquery-ui-1.8.23.min.js:5:5446)

access_log:

192.168.1.114 - - [25/May/2018:23:29:54 +0200] "GET /en-US/Dashboard HTTP/1.1" 200 19984
192.168.1.114 - - [25/May/2018:23:29:56 +0200] "GET /css/font-awesome.css HTTP/1.1" 304 -
192.168.1.114 - - [25/May/2018:23:29:56 +0200] "GET /css/base.css HTTP/1.1" 304 -
192.168.1.114 - - [25/May/2018:23:29:56 +0200] "GET /css/ui/jquery-ui-1.8.16.custom.css HTTP/1.1" 200 33719
192.168.1.114 - - [25/May/2018:23:29:56 +0200] "GET /css/jquery.timepicker.css HTTP/1.1" 200 1584
192.168.1.114 - - [25/May/2018:23:29:56 +0200] "GET /js/jquery-1.12.4.min.js HTTP/1.1" 304 -
192.168.1.114 - - [25/May/2018:23:29:56 +0200] "GET /js/jquery-migrate-1.4.1.min.js HTTP/1.1" 304 -
192.168.1.114 - - [25/May/2018:23:29:56 +0200] "GET /js/jquery.dataTables.min.js HTTP/1.1" 304 -
192.168.1.114 - - [25/May/2018:23:29:56 +0200] "GET /js/jquery.timepicker.min.js HTTP/1.1" 304 -
192.168.1.114 - - [25/May/2018:23:29:56 +0200] "GET /js/jquery-ui-1.8.23.min.js HTTP/1.1" 304 -
192.168.1.114 - - [25/May/2018:23:29:56 +0200] "GET /js/jquery.masonry.min.js HTTP/1.1" 304 -
192.168.1.114 - - [25/May/2018:23:29:56 +0200] "GET /js/mustache.js HTTP/1.1" 304 -
192.168.1.114 - - [25/May/2018:23:29:56 +0200] "GET /en-US/Resource/d01b956b.css HTTP/1.1" 200 3124
192.168.1.114 - - [25/May/2018:23:29:56 +0200] "GET /en-US/Resource/7146e1ca.js HTTP/1.1" 200 55379
192.168.1.114 - - [25/May/2018:23:29:56 +0200] "GET /en-US/AdminTodo.json?notifications&_=1527283796317 HTTP/1.1" 200 84

(Davide Principi) #6

Any evidence from /var/log/messages or /var/log/httpd-admin/access_log and error_log?


(Markus Neuberger) #7

I edited my post, nothing in messages and error_log. Access_log looks normal.

EDIT:

I have another server running 7.5 beta, new kernel and cups and dashboard is working.


(Davide Principi) #8

What is at that line? It is Nethgui code: could you attach an excerpt of that file?


(Gordon) #9

@davidep
No logs look clean


(Markus Neuberger) #10

I commented line 719:

/*
 * Tabs
 *
 * Copyright (C) 2011 Nethesis S.r.l.
 */
(function( $ ) {
    var SUPER = $.nethgui.Component;
    $.widget('nethgui.Tabs', SUPER, {
        _deep: true,
        _create: function() {
            SUPER.prototype._create.apply(this);
            var self = this;

            this.element
                .on('nethguishow.' + this.namespace, $.proxy(this._onShow, this))
                .on('nethguicancel.' + this.namespace, $.proxy(this._onCancel, this))
            ;
            
            // replace href attribute values with tab IDs.
            this.element.children('ul:eq(0)').find('li a').each(function(index, anchor) {
                var childPanel = self.element.children().get(index + 1);
/*line 719:*/   $(anchor).attr('href', '#' + childPanel.id);
                $(anchor).on('click.' + self.namespace, null, childPanel.id, $.proxy(self._onTabClick, self));
                $(childPanel).bind('focus.' + self.namespace, function(e) {
                    if(self.element.is(':visible')) {
                        self.element.tabs('select', index);
                        if(e.takeMeVisible === true) {
                            e.target.focus();
                        }
                    }
                });
            });

            this.element.tabs();

            // on tabsshow reposition:
            this.element.bind('tabsshow.' + this.namespace, function (e, ui) {
                $(ui.panel).find('.Action:eq(0)').first().trigger('nethguishow');
            });

        },
        _onTabClick: function (e) {
            var fragment = window.location.href.split(/#!?/, 2)[1];

            if( ! fragment ||  ! fragment.match('^' + e.data) ) {
                history.pushState({target: e.data}, '', '#!' + e.data);
            }
        },
        _onShow: function (e) {
            if(this.element.get(0) === e.target) {
                // redirect to first Action:
                e.stopPropagation();
                this.element.find('.Action:eq(0)').trigger('nethguishow');
            } else {
                var idx = -1;
                var a = null;
                // find the tab index and change selection
                this.element.children('.Action').each(function (index, action) {
                    if (action === e.target) {
                        a = action;
                        idx = index;
                        return false;
                    }
                    if ($(action).find(e.target).length > 0) {
                        idx = index;
                        return false;
                    }
                });
                if(a) {
                    e.stopPropagation();
                    $(a).find('.Action:eq(0)').trigger('nethguishow');
                    $(this.element).parent().trigger('nethguishow');
                }
                if(idx >= 0) {
                    this.element.tabs('select', idx);
                }
             }
            
        },
        _onCancel: function (e) {
            // pass
        }  
    });

(Davide Principi) #11

Could you attach (as external gist.github.com?) the generated HTML?

You could try to disable JavaScript in your browser: do you see anything unusual in the network interfaces list of the dashboard?


(Markus Neuberger) #12

Good idea, without javascript it looks like this:


(Davide Principi) #13

What about the system status? Are there any printers installed?


(Markus Neuberger) #14

It looks normal, no printers installed:

Part 1

Part 2

Part 3


(Davide Principi) #15

Thank you very much @mrmarkuz an all the others your help is precious!

The HTML has a bad tag nesting with a missing closing DIV . It could be caused by the cups plugin or something else we need to investigate further.

It leads to a JavaScript error and blank page.


(Gordon) #16

Maybe not related but during the update a message about dpi not compatible with the kernel flashed up and the disappeared. When this happened before this message was persistent.


(Markus Neuberger) #17

I removed nethserver-cups and the Dashboard is working. :sunglasses:

I just wonder because on another Nethserver I run nethserver-cups and don’t have the blank page.


(Gordon) #18

@davidep Removal of the cups packages allows the Dashboard to work!


(Markus Neuberger) #19

It seems to be a combination of nethserver-fail2ban and nethserver-cups. Both packages installed leads to the error.


(Gordon) #20

@mrmarkuz
We only had to remove cups, fail2ban is still OK. But all 3 servers affected do have both, except the one where I just removed cups.