Page 1 of 2
UI issue after 5.5.4 upgrade
Posted: Fri Sep 28, 2018 10:30 am
by ericcl9p
Hello,
After upgrading our rhel7.5 test servers to 5.5.4, the UI dashboard is a very narrow frame. The progress pinwheels also continue to spin. The same narrow frame and spinning pinwheel is occurring in the Admin/System and Admin/Monitoring Engine screens as well. This occurs in both chrome and firefox.
Attached is a screenshot of what we are seeing.
Is this a known issue, and/or is there a fix for this?
Thanks
-Eric
Re: UI issue after 5.5.4 upgrade
Posted: Fri Sep 28, 2018 11:29 am
by benjaminsmith
Hi Eric,
This problem could be caused by a number issues such as low disk space, database issues or system settings. I would start by making sure there is enough diskspace and re-starting Apache.
1. Checking disk space
2. Restarting Apache
If you're still experiencing a problem. Could you send over your Nagios XI System Profile so we can review it?
To send us your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and upload it to a cloud storage of your choice. You can share a link with me in a personal message.
After you upload the profile please post something in this thread to bring it up in the support queue.
Thank you.
Re: UI issue after 5.5.4 upgrade
Posted: Sat Sep 29, 2018 9:58 am
by ericcl9p
Hi @benjaminsmith,
1. Disk space - there is plenty of space available
2. Restarting apache - restarted, but no change
I'm attaching the profile.zip from the system.
Thanks
-Eric
Re: UI issue after 5.5.4 upgrade
Posted: Mon Oct 01, 2018 10:45 am
by benjaminsmith
Hi Eric,
Thanks for checking those items. I took a look at your system profile, and we'll need to run a check and repair script on the database tables. Also, jQuery is not loading due to the file permission settings.
Run the following commands as root and let me know if that takes care of the issue.
1. To repair database tables:
Code: Select all
/usr/local/nagiosxi/scripts/repair_databases.sh
Documentation:
https://assets.nagios.com/downloads/nag ... tabase.pdf
2. Reset permissions:
Code: Select all
/usr/local/nagiosxi/scripts/reset_config_perms.sh
Re: UI issue after 5.5.4 upgrade
Posted: Mon Oct 01, 2018 12:02 pm
by ericcl9p
Hello,
Thanks for the possible fixes.
Both commands were run, but the issue still remains.
What else could be causing this?
-Eric
Re: UI issue after 5.5.4 upgrade
Posted: Mon Oct 01, 2018 12:37 pm
by benjaminsmith
Eric,
Thanks for your patience. The current version of Nagios XI uses jQuery 3.x for security improvements. If you happen to be running a version of Internet Explorer that is less than 9-10, this could be the problem.
It's possible to use an old version by setting $cfg['old_browser_compat'] = 1; in the config.inc.php file in /usr/local/nagiosxi/html/.
If this is not related to the above issue, please try clearing your browser cache or try logging in with another browser, to see if this a browser related issue.
Re: UI issue after 5.5.4 upgrade
Posted: Mon Oct 01, 2018 1:34 pm
by ericcl9p
We're having the same issue with Chrome and Firefox, both up-to-date. IE is not being used.
No change after clearing the browser cache, or closing and reopening the browser.
Setting $cfg['old_browser_compat'] = 1; in the config.inc.php file in /usr/local/nagiosxi/html/ did FIX THE ISSUE!
Thanks
-Eric
Re: UI issue after 5.5.4 upgrade
Posted: Mon Oct 01, 2018 4:02 pm
by lmiltchev
Setting $cfg['old_browser_compat'] = 1; in the config.inc.php file in /usr/local/nagiosxi/html/ did FIX THE ISSUE!
Great! Is it safe to lock this thread?
Re: UI issue after 5.5.4 upgrade
Posted: Mon Oct 01, 2018 4:07 pm
by benjaminsmith
Hi Eric,
Glad that resolved the problem for you, however, it's not something we are experiencing with other upgrades right now.
If you are able we can double check the jquery file permissions by posting the output of the following commands. Thank you.
Code: Select all
ls -ld /usr/local/nagiosxi/html/includes/js/jquery/
Code: Select all
ls -l /usr/local/nagiosxi/html/includes/js/jquery/
Re: UI issue after 5.5.4 upgrade
Posted: Tue Oct 02, 2018 8:25 am
by ericcl9p
in /usr/local/nagiosxi/html/includes/js/jquery/, we noticed that there were a couple files owned by root. After changing them to nagios:nagios, we were able to remove the 'old_browser_config' work around.
Having the files owned by root may not have been an issue in itself, except that we have the system-wide umask set to 027 for CIS hardening. We may need to revisit that setting if we notice other issues.
jquery:
total 728
drwxr-xr-x. 4 nagios nagios 4096 Sep 21 10:43 .
drwxr-xr-x. 6 nagios nagios 4096 Jun 6 09:44 ..
drwxr-xr-x. 5 nagios nagios 41 Jun 6 09:44 colorpicker
drwxr-xr-x. 3 nagios nagios 54 Jun 6 09:44 css
-rwxr-x---. 1 nagios nagios 97162 Sep 21 10:43 jquery-1.12.4.min.js
-rwxr-x--- 1 nagios nagios 86927 Sep 21 10:43 jquery-3.3.1.min.js
-rw-r-----. 1 nagios nagios 13341 Sep 21 10:43 jquery.autocomplete.js
-rw-r-----. 1 nagios nagios 1701 Sep 21 10:43 jquery.bgiframe.pack.js
-rw-r-----. 1 nagios nagios 4110 Sep 21 10:43 jquery.checkboxes.js
-rw-r-----. 1 nagios nagios 20216 Sep 21 10:43 jquery.colorBlend.js
-rw-r-----. 1 nagios nagios 759 Sep 21 10:43 jquery.inview.min.js
-rw-r-----. 1 nagios nagios 14360 Sep 21 10:43 jquery.jscrollpane.min.js
-rw-r-----. 1 nagios nagios 5191 Sep 21 10:43 jquery.maphilight.min.js
-rw-r-----. 1 nagios nagios 1292 Sep 21 10:43 jquery.metadata.min.js
-rw-r-----. 1 nagios nagios 9909 Sep 21 10:43 jquery-migrate-1.4.1.min.js
-rwxr-x--- 1 nagios nagios 6974 Sep 21 10:43 jquery-migrate-3.0.0.min.js
-rw-r-----. 1 nagios nagios 2235 Sep 21 10:43 jquery.mousewheel.js
-rw-r-----. 1 nagios nagios 24279 Sep 21 10:43 jquery.searchabledropdown.custom.js
-rw-r-----. 1 nagios nagios 34908 Jun 6 09:44 jquery.sparkline.js
-rw-r-----. 1 nagios nagios 11780 Sep 21 10:43 jquery.sumoselect.min.js
-rw-r-----. 1 nagios nagios 23366 Sep 21 10:43 jquery.tablesorter.js
-rw-r-----. 1 nagios nagios 3894 Sep 21 10:43 jquery.tablesorter.pager.js
-rw-r-----. 1 nagios nagios 3367 Sep 21 10:43 jquery.timers-1.1.3.js
-rwxr-x---. 1 nagios nagios 253668 Sep 21 10:43 jquery-ui-1.12.1.custom.min.js
-rw-r-----. 1 nagios nagios 78771 Sep 21 10:43 jquery-ui-timepicker-addon.js