Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roll back changes \ Latest development update not working #895

Closed
Nixellion opened this issue Nov 16, 2017 · 29 comments
Closed

Roll back changes \ Latest development update not working #895

Nixellion opened this issue Nov 16, 2017 · 29 comments

Comments

@Nixellion
Copy link

Nixellion commented Nov 16, 2017

Hello,

I just used Force update to development version, and it was a bad idea, because now nothing works. Side-bar appears, but there's no dashboard and buttons only add #other anchors into the url, without any effect.

How do I fix it, or how do I roll back to stable version?

Update:
Log out button worked, and now I can't login, because of the following error:

Error - No cookies

Your browser does not support cookies, which are required for this web server to work in session authentication mode
@iliajie
Copy link
Collaborator

iliajie commented Nov 16, 2017

It's already fixed on my local machine.

To roll back just go to the console, to theme's directory and run update script. You can read more about it on the main page (README.md) file.

@iliajie
Copy link
Collaborator

iliajie commented Nov 16, 2017

This bug happens on slow machines.

I'm sorry. To many things to look over.

@Nixellion
Copy link
Author

Thanks, I'll take a look.

But my machine is not slow. It's a gaming rig repurposed into home-server, it runs on Intel Core i7 2600 with 8 cores and 3.4 GHZ, and I'm accessing web ui from a similar machine.

@iliajie
Copy link
Collaborator

iliajie commented Nov 16, 2017

It shouldn't be the cookie issue. What I just fixed was other issue.

Your machine sounds good.

What's your client side OS and the browser?

@Nixellion
Copy link
Author

Win10, Chrome

I would also appreciate if you could point me in direction of webmin theme directory :)

@myopenflixr
Copy link

myopenflixr commented Nov 16, 2017

I am experiencing the same thing. I just updated the latest patch and nothing is working. I too have a pretty powerful server.

Here's a screenshot after I log in. Left menu is not responding. I tried this from Firefox and Chrome on client side.
(Screenshot removed)

@Nixellion
Copy link
Author

I was able to sign back in after clearig cookies for the past few days. But it did not fix anything.

Then, if I click the "gears' button on the bottom, the 'settings' one or whatever it is, I get into Webmin Themes and I can move through menus. But buttons don't work there, so i can't use it to update.

@myopenflixr
Copy link

I was able to get to theme menu via link at bottom of left menu, but I clicking on Force Update to Stable Version is not responding (just like side menu)

@myopenflixr
Copy link

Ditto Nixellion's comment

@iliajie
Copy link
Collaborator

iliajie commented Nov 16, 2017

It depend on the distro.

RHEL is /usr/libexec/webmin and Debian like is /usr/share/webmin.

FreeBSD - you should know. 😉

@Nixellion
Copy link
Author

It's debian, ubuntu, thanks. I'm not THAT far into unix systems yet to use FreeBSD :D

@myopenflixr
Copy link

What would be our solution to manually "install" stable version of Authentic Theme since it cannot be done via Webmin? I'm running Ubuntu Server 16.04.

@Nixellion
Copy link
Author

I located and ran theme-update.sh script at /usr/share/webmin/authentic-theme folder, it worked:

Would you like to update Authentic Theme for Webmin? [y/N] y
Pulling in latest changes for Authentic Theme (https://github.com/qooob/authentic-theme)...
Updating to Authentic Theme 19.02-git-201711141427, done.
Restarting Webmin..

But nothing changed, I suppose it updated to the same version anyway.

@iliajie
Copy link
Collaborator

iliajie commented Nov 16, 2017

Guys, it's fairly easy to update it using command line. Other option is to run from browser's console theme.update(1).

@Nixellion
Copy link
Author

@qooob See above, update did not fix anything, as right now we would probably need to downgrade.

@myopenflixr
Copy link

@qooob....what file can we change that holds the setting for "Stable Release" so that when we run theme-update.sh it will downgrade to latest Stable version?

@iliajie
Copy link
Collaborator

iliajie commented Nov 16, 2017

Try theme-update.sh -h. I think you need to add -release switch.

The easiest would be to run console command above.

@Nixellion
Copy link
Author

Worked, thanks.

Would you like to update Authentic Theme for Webmin? [y/N] y
Pulling in latest release of Authentic Theme 19.02 (https://github.com/qooob/authentic-theme)...
Updating to Authentic Theme 19.02-1, done.
Restarting Webmin..

@myopenflixr
Copy link

Worked for me too. But, I'm already missing some of the recent changes you've made in the beta releases
:(

@iliajie
Copy link
Collaborator

iliajie commented Nov 16, 2017

Great.

Tomorrow everything will shine.

Adding new functionality that changing global scope a bit.

This bug affects all that having no Virtualmin and/or no Cloudmin (when Dashboard switch is displayed).

Please keep the issue opened meanwhile. I'll take care of it.

@myopenflixr
Copy link

Thanks qooob! Your customer service skills are quick and great!

@iliajie
Copy link
Collaborator

iliajie commented Nov 16, 2017

Thank you for reporting. ☺️

@myopenflixr
Copy link

👌

@Nixellion
Copy link
Author

While we're at it, don't want to spam with another issue - how do I switch to the dark version of the theme? Can't find it anywhere

@myopenflixr
Copy link

Bottom of menu is an icon that looks like the moon. That toggles dark-light theme

@iliajie
Copy link
Collaborator

iliajie commented Nov 16, 2017

Crescent like icon in the row of where logout button is. I remember adding hot key for that. I think Alt+K.

@Nixellion
Copy link
Author

Nixellion commented Nov 16, 2017

Yeah, thanks, I actually just found it after reading that it's called 'night mode' and saw the 'crescent' button there, made a connection :D Sorry, it's late here, thinking slow.

You're great guys, thanks!
and great theme :)

@gnadelwartz
Copy link
Contributor

seems to be more effort than expected, hope you are not to much stressed

@iliajie
Copy link
Collaborator

iliajie commented Nov 18, 2017

The latest git version contains fixed version already. I will close this issue.

Thank you for reporting.

@iliajie iliajie closed this as completed Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants