Steps to reproduce the bug:
Install Debian 7
Install VM 1.831
Go through the post-installation process. Accept all default choices.
Run the configuration check
Correct any issues. (On Debian it is mailman which is not running.)
At this point everything is still fine.
Then switch to the HTML5 theme.
The VM main screen never re-appears. Just the "running circle" animation which remains forever.
The menu at the side does appear. Menu choices can be made. But the associated screen never appears.
Alternative:
Install Debian 8
Install VM 1.831
(In Debian 8 the HTML5 version of the interface is chosen by default)
The VM main screen never re-appears. Just the "running circle" animation which remains forever.
The menu at the side does appear. Menu choices can be made. But the associated screen never appears.
Comments
Submitted by andreychek on Mon, 01/16/2017 - 08:09 Comment #1
Howdy -- sorry to hear you're having problems accessing Virtualmin!
Which browser are you using when that happens?
And does it by chance help to use a different browser to access Virtualmin, or do you see the same issue?
Submitted by jlinkels on Mon, 01/16/2017 - 08:30 Comment #2
Hi,
I used Chrome 48.0.2564.103 and Firefox 38.7.1. In both I fully cleared history, cache, cookies etc. Exactly the same happens. Tried it as well in Konqueror 4.14.2 but that is hardly a compliant browser.
I should add that I also have 2 Debian 8 systems running VM 1.800 and VM 1.801 respectively. On those systems HTML5 works just fine.
Submitted by andreychek on Mon, 01/16/2017 - 09:06 Comment #3
Thanks for the input!
I've assigned this request to Ilia; he will be able to offer some additional ideas as to how to resolve that particular issue.
Hi,
Why do you say
Switch to HTML5 theme
? It's already set by default.I can do it for you once again but I just did the installation with Debian few weeks ago and it's went fine.
If you open browser's console, what error do you see?
Submitted by jlinkels on Mon, 01/16/2017 - 12:47 Comment #5
Hi Ilia
About switching to HTML5 theme: when I install in VM Debian 7, the non-HTML theme is activated by default. I think this theme is called "virtual-server-theme". I am offered the choice to switch to HTML5.
When I install in VM Debian 8, HTML5 is actived right at the installation. No choice.
I have other installations on Debian 8. One is VM 1.800 and one is VM 1.801. Both run fine in HTML5.
As requested the output of the console: (Firefox)
mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create content.bundle.min.js:60:8448
SyntaxError: missing ; before statement content.min.js:6:128473
TypeError: window.page.f__g is not a function parent.min.js:6:38366
Error in parsing value for 'width'. Declaration dropped. vmi99606.contabo.host:10000
GET
XHR
https://vmi99606.contabo.host:10000/index.cgi/ [HTTP/1.0 200 Document follows 1386ms]
TypeError: g.data(...) is undefined parent.min.js:6:3060
Submitted by jlinkels on Mon, 01/16/2017 - 14:20 Comment #6
Another update.
Based on the output on the error console I suspected some kind of error in the authentic-theme JS functions.
So I downloaded the theme from Github and pushed the directory unauthenticated/js to my server's VM installation. (I admit that was quite rude). Since you issued a patch last week right in the files where the web console reported the errors I took a guess.
Anyway, that solved the problem and VM seems to be behaving quite normal. So it seems the current branch on Github is working, but it has not appeared in the VM release yet.
Submitted by andreychek on Mon, 01/16/2017 - 14:44 Comment #7
That's great to hear, thanks for letting us know that fixed things!
I'll make sure Jamie and Joe know that there are some bugfixes in the recent Authentic version that we need to get pushed out here soon, and included within a Webmin release.
Submitted by jlinkels on Mon, 01/16/2017 - 14:49 Comment #8
Well thanks for your support and the time to look into it. I am quite happy it works now.
Eric, hi.
That doesn't seem to be possible.
@jlinkels Could you please zip the authentic-theme directory and send it to me or Eric so we could diff it? It's not possible that it's the way it is.
I test the theme and the package multiple times on different machines before making a release.
Warning about mutation is OK and coming from Clipboard.js.
I think it could be webmin-deb package problem as it was reported before multiple times.
I will take a closer look tomorrow morning (the first thing)
Oh, wait a minute.
@jlinkels your browsers version is very old. The problem that you had came from the theme on the Webmin 1.831 is using
let
for defining variable's scope. It's been introduced in ES6 and I think your Chrome doesn't support it.I recommend updating your browsers as they out. It's insecure.
The patch on the repo change that for now.
I planned to build new mailed module using ES6 but now I'm starting to have doubts. Or I do and use Babel to convert it.
Submitted by jlinkels on Mon, 01/16/2017 - 15:53 Comment #12
Yuk! You are right in that the newest Firefox available on Debian Jessie does not suffer from the error. Note that Debian Jessie is my desktop, totally unrelated to the server I am installing VM on.
Anyway, the issue is now narrowed down to a an unpatched JS script in the installation in combination with a browser version which could not handle that?
@Ilia: Do still want me to send you the authentic-theme directory as installed?
@jlinkels No, no. Please don't bother.
I will make quick 18.33 release to fix few bugs and make sure things will work in a bit older versions of the browsers.
Thanks for reporting.
18.33 will contain a fix for that https://github.com/qooob/authentic-theme/issues/637