mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-26 09:26:00 +03:00
[GH-ISSUE #1393] New install working, but cannot save any settings in the web interface (http 400) #1106
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#1106
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @laapsaap on GitHub (Feb 13, 2018).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1393
Impacted versions
Steps to reproduce
run installer, go to webui, go to modoboa and press save after changing settings
I tried figuring this out, but basically a clean centos 7 kickstart and then I run the installer. I can go to the web interface and see everything.
But when I try to edit modoboa -> parameters and press save. I get a http 400.
Then when I do a browser reload, the setting is not saved and goes back to the installer defaults.
Possible reason
the WebUI is not showing "form_errors".
And then some other form error
Because the UI doesnt show form_errors, I had no idea why it was giving a HTTP 400 and not saving my settings.
@laapsaap commented on GitHub (Feb 13, 2018):
Sorry was latest version 1.10.2 not 1.8.x
@wroersma commented on GitHub (Feb 13, 2018):
I have the same issue but I'm not sure if it's because I didn't RTFM well enough
@laapsaap commented on GitHub (Feb 13, 2018):
Well if you did what I did, then there's not much to read about. This happens immediately after running the installer. And when press save, the post command sends data that it is not recognized by nginx. Not sure if its nginx or other parts of modoboa.
@laapsaap commented on GitHub (Feb 13, 2018):
So the WebUI is not showing "form_errors".
And then some other form error
Because the UI doesnt show form_errors, I had no idea why it was giving a HTTP 400 and not saving my settings.
Once I fixed the password and put it a recipient_delimiter; it works and my settings is saved and I get a message Parameters saved. But form_errors are not shown.
@wroersma commented on GitHub (Feb 13, 2018):
thanks I will any chance I can get an example of the config you used?
@laapsaap commented on GitHub (Feb 14, 2018):
You dont need my config. Just for now change default_password to some random string with numbers in it and Amavis->recipient_delimiter use a + sign. Press save and you should get Parameters saved popup.
Yeah its a bit shitty, but you can put your browser into developer mode and read the response when you press save. The error messages are shown.jj
@tonioo commented on GitHub (Feb 14, 2018):
A new version of the amavis plugin has been released and should fix this issue.