It's really frustrating when you save a change and the page refreshes and you find that your configuration change was not saved (and there is no explanation as to why). Repeating the process doesn't make a difference. It's even more frustrating when you do the same thing, but the page refreshes to another page (often the list of virtual servers) and you have no idea that your configuration change wasn't even saved! This mostly happens when making changes to a server template.
So in the server template I created, under "Status monitoring", I have "Send email to server owner?" marked "yes". When I try to change that to "no" the page refreshes but the option is again marked "yes".
Why does it not change and what magic incantation must I recite to get it to be marked "no"?
And what do I need to do to stop my existing users from being spammed by false "down" alerts? Do I just delete the monitors at Webmin -> Others -> System and Server Status?
Thank-you.
Craig
Comments
Submitted by craigh on Wed, 08/28/2019 - 06:20 Pro Licensee Comment #1
Submitted by andreychek on Wed, 08/28/2019 - 08:30 Comment #2
It doesn't require any magical incantations, but do you by chance have any chickens?
Haha I'm kidding of course, but I unfortunately wasn't able to reproduce that.
That is, I went into the Status Monitoring Server Template, I selected changed "Send email to server owner", changed changed that to "No" -- and after doing that, I clicked "Save" at the bottom of the page.
Once I clicked Save, when I went back into the Server Template, and it looked correct.
Just to verify, you are clicking "Save" there?
Note though that this would only affect newly created Virtual Servers.
To change an existing Virtual Server, you can go into Edit Virtual Server -> Enabled Features, and there, you can uncheck the Status Monitoring Feature.
Submitted by craigh on Wed, 08/28/2019 - 11:07 Pro Licensee Comment #3
Ha ha.
Yes, I tried clicking both the "Save" and "Save and Next" buttons and in all attempts the "Yes" setting persists.
There must be something that's overriding my choice. I have removed the monitors for the virtual servers that are already on the new server, thinking perhaps those were forcing that setting to be kept, but still I cannot save the change.
Submitted by andreychek on Wed, 08/28/2019 - 13:42 Comment #4
Removing the feature in the existing Virtual Servers should prevent that status notification from being sent,
As far as why you're unable to save that option, that's a fine question... can you verify that you're using the latest Webmin, 1.930?
And do you see any errors in /var/webmin/miniserv.error when that happens?
Submitted by craigh on Wed, 08/28/2019 - 18:18 Pro Licensee Comment #5
Thanks. I did remove the feature from the existing virtual servers.
Yes, this is a fresh installation, and I am using 1.930. It's also not the only problem on a fresh installation, but I'm working through them.
There is no output in miniserv.error when I try to make the change. There is output in two other log files, but I'm not sure they'll be of any use:
webmin.log:
1567033756.21619.0 [28/Aug/2019 23:09:16] root 0857af1d67a0d76f623582cba06f703c 1.2.3.4 virtual-server save_tmpl.cgi "modify" "template" "Default Web"
miniserv.log:
1.2.3.4 - root [28/Aug/2019:23:09:02 +0000] "POST /virtual-server/edit_newtmpl.cgi HTTP/1.1" 200 9203
1.2.3.4 - root [28/Aug/2019:23:09:04 +0000] "GET /virtual-server/edit_tmpl.cgi?id=156679030620318 HTTP/1.1" 200 15321
1.2.3.4 - root [28/Aug/2019:23:09:10 +0000] "GET /virtual-server/edit_tmpl.cgi?id=156679030620318&new=&editmode=status HTTP/1.1" 200 16652
1.2.3.4 - root [28/Aug/2019:23:09:16 +0000] "POST /virtual-server/save_tmpl.cgi HTTP/1.1" 302 0
1.2.3.4 - root [28/Aug/2019:23:09:17 +0000] "GET /virtual-server/edit_newtmpl.cgi HTTP/1.1" 200 9235
Submitted by craigh on Tue, 09/03/2019 - 05:41 Pro Licensee Comment #6
I guess this must be a bug too.
Submitted by craigh on Tue, 09/03/2019 - 05:41 Pro Licensee Comment #7
Submitted by andreychek on Tue, 09/03/2019 - 13:36 Comment #8
Thanks -- I'm passing this over to Jamie for further comment.
Submitted by JamieCameron on Thu, 09/05/2019 - 22:50 Comment #9
What do you have the "Additional email address for monitoring messages" option set to on that page?
Submitted by craigh on Fri, 09/06/2019 - 01:33 Pro Licensee Comment #10
Hi Jaime,
So at Virtualmin -> System Settings -> Server Templates -> Status monitoring that field is set to "From default settings". Taking your hint, I changed that to "None" and tried changing "Send email to server owner?" to "No", and the settings were saved correctly.
Thank-you.
Craig
Submitted by JamieCameron on Sun, 09/08/2019 - 15:35 Comment #11
Ok, great! Actually when "From default settings" is selected, all the other fields should be disabled?
Submitted by craigh on Mon, 09/09/2019 - 02:24 Pro Licensee Comment #12
Jaime, when editing that page if you click "From default settings", yes, the other fields are disabled. However, if you save and then return to that page they are no longer disabled, even though "From default settings" is still selected.
Submitted by JamieCameron on Mon, 09/09/2019 - 20:31 Comment #13
Ok, this is a bug in the UI - we'll fix it in the next release.
Submitted by craigh on Mon, 09/09/2019 - 21:40 Pro Licensee Comment #14
OK, great. I should have mentioned I was using Authentic, but perhaps it's independent of the theme or you already figured that out.
Submitted by jonnybradley on Tue, 04/13/2021 - 05:02 Comment #15
Hi all
This may be a different issue but i've found it before (last year?) and seems related.
In the default Authentic theme (currently v 19.73 on Debian 10) there is no save button on the scheduled monitoring form. I switched to "grey frame" and it was there, so i was able to save my changes, but it's definitely missing from the default (nice) theme.
Hope that helps someone on day...
What page this exactly set in URL?
Submitted by jonnybradley on Tue, 04/13/2021 - 06:59 Comment #17
Thanks, it's at https://example.com:10000/status/edit_sched.cgi?xnavigation=1
That's odd. I can see the save button in Authentic Theme. Can you provide a screenshot of this page?
Are you sure that you're having latest Webmin 1.973 installed?
Submitted by jonnybradley on Tue, 04/13/2021 - 08:22 Comment #19
Most odd - it's there in Brave and i imagine other browsers, but not in Safari. Everything's up to date (virtualmin, Safari etc). I checked the DOM and it seems the table.ui_form_end_buttons that should contain the submit button just isn't there - it's not even in the page source...
Can send a screenshot if it helps, but how?
Thanks!
Submitted by JamieCameron on Tue, 04/13/2021 - 12:17 Comment #20
You can attach a screenshot image to this bug report.
Submitted by jonnybradley on Tue, 04/13/2021 - 12:43 Comment #21
I looked for a button or a file icon but can't find one, and i tried dragging the file onto various parts of the form but it just replaced the whole page... can you explain how please?
Thanks (this is also in Safari ;)
Submitted by JamieCameron on Tue, 04/13/2021 - 13:11 Comment #22
You can click on the Edit link on the left, which brings you to a page for attaching images.
This is odd. I can see the button in Safari. Please can you attach the screenshot? What is the Safari, Webmin and Authentic Theme versions installed?
Submitted by jonnybradley on Thu, 04/15/2021 - 05:08 Comment #24
Hi again Sorry, but i can't work out how to attach a file here, all i see are SAVE and PREVIEW buttons below this box...
Safari Version 14.0.3 (16610.4.3.1.7) Webmin version 1.973 Usermin version 1.823 Authentic theme version 19.73
I have checked this on four separate servers now, definitely no save button in Safari, but see it fine in Brave and Firefox - weird...
If you wish, you could send me your login credentials using
me at ilia.engineer
email, so I could login and have a look? It just works for me.. To clarify, you don't see green save button on https://hostname:10000/status/edit_sched.cgi?xnavigation=1 page? The only explanation I have at the moment is that some Safari extensions doing something wrong? Have you tried in Private Window?You can submit a new issue using GitHub, where you can drag and drop images.
https://github.com/virtualmin/virtualmin-gpl/issues
Submitted by jonnybradley on Fri, 04/16/2021 - 12:38 Comment #26
Hi Ilia
Thanks for your continued attention on this, yes, the green save button just isn't there for me in Safari, i'll try a private window... nope, still no save button.
And the odd thing is that it's just not in the rendered page source, not that it's hidden or some odd css edge case thing. And it's there fine in the other theme - anyway, just me by the sounds of it - will to a github issue when i can, thanks again!
jonny
Did you check HTML in developer's console or just viewed the source of the page directly?
Submitted by jonnybradley on Sun, 04/18/2021 - 06:58 Comment #28
I was just going to double check that, as i did check both the DOM and the page source before and the whole block
table.ui_form_end_buttons
was missing from both, so this time, to make sure i was seeing the full page, i did a reload in Safari (⌘r) and the save button appeared!Does that help?
At least it gives me an easier workaround than switching themes or browsers :p