Submitted by craigh on Fri, 12/07/2018 - 15:36 Pro Licensee
If I am logged in an an ordinary user I get this error:
You are not allowed to run the post-installation wizard
Steps to reproduce:
- Log in as a non-root user.
- Click "File Manager".
- Click the "Virtualmin" tab at the top.
Doing so loads https://example.net:10000/virtual-server/wizard.cgi?xnavigation=1 .
- Webmin: 1.900
- Virtualmin: 6.05
- Authentic theme: 19.21
Craig
Status:
Closed (fixed)
Comments
Submitted by craigh on Fri, 12/07/2018 - 15:37 Pro Licensee Comment #1
I should add that this is not during installation. This is on a server that has been running for a couple of years.
Submitted by JamieCameron on Sat, 12/08/2018 - 11:10 Comment #2
What does the
wizard_run=
line in/etc/webmin/virtual-server/config
contain?Submitted by craigh on Sat, 12/08/2018 - 15:56 Pro Licensee Comment #3
Submitted by craigh on Sat, 12/08/2018 - 15:57 Pro Licensee Comment #4
wizard_run=1
Submitted by JamieCameron on Sun, 12/09/2018 - 15:14 Comment #5
I can't reproduce this, but I'm pretty sure that changing this to wizard_run=1 will fix it.
Submitted by craigh on Mon, 12/10/2018 - 00:45 Pro Licensee Comment #6
Umm, I answered that wizard_run is already set to 1. Do you mean set it to 0?
Submitted by JamieCameron on Mon, 12/10/2018 - 21:02 Comment #7
Sorry I misread that! In that case, nobody (even root) should be prompted to see the install wizard.
When logged in as non-root, do you see a link to re-run the wizard on the left menu under System Settings?
Submitted by craigh on Thu, 02/21/2019 - 18:31 Pro Licensee Comment #8
Jamie, my sincere apologies for dropping the ball on this ticket. I'm going to blame Christmas, as it surely couldn't be my own fault. :)
I still see this behaviour. When logged is as NON-root I do not see a System Settings option, at least not in the top-level menu options on the left in the Authentic theme or anywhere on the dashboard. As the ROOT user I do see this option, and "Re-Run Install Wizard" does show in the sub-menu.
Craig
Submitted by JamieCameron on Fri, 02/22/2019 - 00:27 Comment #9
I tested this again, and was able to re-produce this by doing the same thing you did (logging in as root, opening the file manager, then clicking on the Webmin or Virtualmin tab).
Ilia, does the theme ever redirect users to wizard.cgi? I can't see how this would happen in the core Virtualmin code, as the redirect never happens for non-root users.
So, the problem is that redirect happens for non-root user, while should only happen for root, correct?
It sounds like a theme bug, if the above is correct, because theme does redirect new installations to the wizard page.
Okay, I confirm that it was a bug in 19.21 but was fixed in @45c438e on Decemeber 18.
It's fixed now in upstream Git version of the theme, and also should be fixed in version 19.22. You can upgrade the theme to the latest stable/development version, using theme configuration.
Thank you very much for reporting anyway!
Submitted by craigh on Mon, 02/25/2019 - 05:43 Pro Licensee Comment #13
Hi Jamie,
Odd that you seem able to reproduce this following a different work flow. This does NOT happen when I log in as root. It only happens when I log in as a NON-root user, whether I log in directly as that user or log in first as root, switch to a domain, then use Administration Options -> Switch To Server's Admin.
Either way, if it's fixed in a future version, that's great. Thanks.
Craig
Submitted by IssueBot on Mon, 03/11/2019 - 06:56 Comment #14
Automatically closed - issue fixed for 2 weeks with no activity.