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

Distro: Upgrading to Webmin 1.830 breaks theme on all servers #635

Closed perler closed 7 years ago

perler commented 7 years ago

is there some kind of cache somewhere to delete?

iliajie commented 7 years ago

In case you have CSF installed or have missing configuration directory, then just create it using SSH mkdir /etc/webmin/authentic-theme

perler commented 7 years ago

what is CSF?

the config directory is there obviously as I had the theme enabled.

perler commented 7 years ago

btw, closing an issue doesn't solve it ;)

iliajie commented 7 years ago

Be kind providing nessesary information, because I'm not sure what is broken. Version of the theme 18.32 is out. Please upgrade.

iliajie commented 7 years ago

It shouldn't break anything.

iliajie commented 7 years ago

Restarting Webmin usually solves the issue.

iliajie commented 7 years ago

Open source of the page. What is the error?

kohenkatz commented 7 years ago

@qooob I am having what looks like the same issue as @perler.

After I log in, I get a blank gray page with the title (in the browser tab) "Error".

In the Chrome Dev Tools, I see the following error:

Uncaught TypeError: Cannot read property 'Message' of undefined
    at parent.min.js?1831:6
    at parent.min.js?1831:6
(anonymous) @ parent.min.js?1831:6
(anonymous) @ parent.min.js?1831:6
kohenkatz commented 7 years ago

The full path to parent.min.js in the error above is /unauthenticated/js/parent.min.js

kohenkatz commented 7 years ago

I was on 18.31, but I needed to be able to access Webmin in order to update to 18.32.

I managed to do it by manually editing the Webmin config files to change to the mscstyle3 theme, then I was able to download and install 18.32.

18.32 does work.

iliajie commented 7 years ago

What is your default module?

perler commented 7 years ago

as these are virtualmin servers its the list of servers (not the default system information)

On Fri, 6 Jan 2017, 20:47 Ilia Rostovtsev, notifications@github.com wrote:

What is your default module?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/qooob/authentic-theme/issues/635#issuecomment-270988906, or mute the thread https://github.com/notifications/unsubscribe-auth/AAmB9NozeuYWXfhxAHV9q0svwyIWYocnks5rPppugaJpZM4Lc_OF .

--

iliajie commented 7 years ago

What is your setup, browser, OS? I can't reproduce it.

perler commented 7 years ago

on the webmin list someone had the same issue. seems to happen when you update from an earlier version of virtualmin.

setup is pretty standard ubuntu 14.04, browser doesn't plays into it, it looks the same everywhere, browser console throws around 404s. did you move some files around?

On Fri, 6 Jan 2017, 21:15 Ilia Rostovtsev, notifications@github.com wrote:

What is your setup, browser, OS? I can't reproduce it.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/qooob/authentic-theme/issues/635#issuecomment-270995078, or mute the thread https://github.com/notifications/unsubscribe-auth/AAmB9NJ7JedhEzGNeoIUkRYx4ViR3Y92ks5rPqDEgaJpZM4Lc_OF .

--

iliajie commented 7 years ago

Yes, there were changes. Webmin or/and server restart might be required.

It's cache related and happened many times in the past.

perler commented 7 years ago

I won't restart a server for a bloody webmin theme, that's for sure. are you talking server side cache? where is it located?

On Fri, 6 Jan 2017, 21:29 Ilia Rostovtsev, notifications@github.com wrote:

Yes, there were changes. Webmin or/and server restart might be required.

It's cache related and happened many times in the past.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/qooob/authentic-theme/issues/635#issuecomment-270998198, or mute the thread https://github.com/notifications/unsubscribe-auth/AAmB9Kbf5Bs5hmVKBy6423cMTzuhGP6Jks5rPqRFgaJpZM4Lc_OF .

--

iliajie commented 7 years ago

I agree.

What you mentioning and the error that you have looks more like client-side issue. It shouldn't be happening at the first place. I test theme on multiple OSs with different browsers.

Try to clearing browser's cache and just closing/opening the browser. Restarting Webmin from console could be the last try.

If still doesn't work, try Incognito Mode?

perler commented 7 years ago

I tried a brand new browser never used on the system, edge ;-), so it looks like server side.

but I will make some experiments tomorrow.. thanks so far.

On Fri, 6 Jan 2017, 21:38 Ilia Rostovtsev, notifications@github.com wrote:

I agree.

What you mentioning and the error that you have looks more like client-side issue. It shouldn't be happening at the first place. I test theme on multiple OSs with different browsers.

Try to clearing browser's cache and just closing/opening the browser. Restarting Webmin from console could be the last try.

If still doesn't work, try Incognito Mode?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/qooob/authentic-theme/issues/635#issuecomment-271000068, or mute the thread https://github.com/notifications/unsubscribe-auth/AAmB9L-EZhe-4_zJW_a4I2wqmTwz2TxSks5rPqZLgaJpZM4Lc_OF .

--

iliajie commented 7 years ago

Could you try to install latest 18.32?

perler commented 7 years ago

this is hard without webmin. is it possible to install the .wbt file on the console?

On Fri, 6 Jan 2017, 21:40 Ilia Rostovtsev, notifications@github.com wrote:

Could you try to install latest 18.32?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/qooob/authentic-theme/issues/635#issuecomment-271000466, or mute the thread https://github.com/notifications/unsubscribe-auth/AAmB9BvbBJWjrGNMMlHz7J_bqcZQ2Oqoks5rPqa-gaJpZM4Lc_OF .

--

iliajie commented 7 years ago

It's just a .tar file. Extract it using gzip but rename it first to .tar. Then delete theme under Webmin (/usr/share/webmin/authentic-theme) and copy extracted folder there.

iliajie commented 7 years ago

However I would just switch to default theme and installed it using interface.

perler commented 7 years ago

sure, but how to do this when you don't have access to webmin?

On Fri, 6 Jan 2017, 22:07 Ilia Rostovtsev, notifications@github.com wrote:

However I would just switch to default theme and installed it using interface.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/qooob/authentic-theme/issues/635#issuecomment-271006423, or mute the thread https://github.com/notifications/unsubscribe-auth/AAmB9Ow39KbsKyBI5oggcs9NG_rX8CvQks5rPq0qgaJpZM4Lc_OF .

--

iliajie commented 7 years ago

Hi,

Edit

  1. /etc/webmin/miniserv.conf. Find preroot=authentic-theme change to: preroot=gray-theme

  2. /etc/webmin/config. Find theme=authentic-theme change to: theme=gray-theme

  3. /etc/webmin/restart

perler commented 7 years ago

ok, I got it up and running by upgrading to 18.32

it looks it affects only:

maybe this helps..

iliajie commented 7 years ago

Thanks.

I have reproduced some issues with Upgrading Webmin 1.830 on Debian. At the moment the theme that was bundled with Webmin doesn't work correctly.

I will let Webmin developer know.

Thanks for reporting!!