webmin / authentic-theme

Official theme for the best server management panel of the 21st Century
https://authentic-theme.com
MIT License
947 stars 163 forks source link

System Info takes 2 minutes to load #47

Closed LinuxNewb27 closed 9 years ago

LinuxNewb27 commented 9 years ago

VERSIONS

ISSUE It took both Chrome and Firefox 2 minutes 8 seconds to load the information on the front screen when logging in or when clicking the System Info link.

I switched back to my XenLayer theme and the main system info page displays all the information instantly.

2+ minutes of spinning wheel image

Finally the info is displayed image

iliajie commented 9 years ago

Hard to tell why this is happening. Try to clear cache. If you see loader spinning all the time, make double right mouse click on it to make it disappear to see what is happening there really. Make sure that you have no extra stings in URL, like ?updating or anything like that (?virtualmin is allowed).

For me, sysinfo loads very quickly.

LinuxNewb27 commented 9 years ago

I've cleared cache in both browsers. If I double-right click the wheel then it stops after pulling the Webmin version. I'm behind a proxy at work and all other links, modules, resources work just fine. I can even do apt-get without problems. image

So it would appear that it's taking a while trying to query the Theme version. I am thinking of commenting out the remote version code to see if that is the culprit.

Out of the box I had issues with this theme because the LWP::Simple module wasn't installed.

ERROR - Perl execution failed @ Line 135 image

Define remote version

image

I had to go through and install it via MCPAN, with some workarounds, which took me to the current status of the spinning wheel for 2+ minutes.

iliajie commented 9 years ago

Yes, on the main page there is a troubleshoot about that. Does it work alright now or still slow?

iliajie commented 9 years ago

You must also check if you can open ...VERSION.txt link using HTTP tunnel module. My firewall server could block you. I cleared all blocks, as it might help.

iliajie commented 9 years ago

Does it work now? Is it still an issue?

LinuxNewb27 commented 9 years ago

I'm not at work so I haven't had a chance to check it out yet. If I boot up this weekend I'll try it out or have an update Monday.

iliajie commented 9 years ago

Updated to version 6.5.1.

LinuxNewb27 commented 9 years ago

I just tested and it only took 5 seconds for it to refresh the info screen. I was also able to update the theme from the main page within seconds :)

iliajie commented 9 years ago

I'm glad, the issue was resolved. Thanks for reporting.