[GH-ISSUE #1316] Cannot save parameters at all #1060

Closed
opened 2026-02-27 11:15:01 +03:00 by kerem · 9 comments
Owner

Originally created by @herrbischoff on GitHub (Dec 5, 2017).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1316

Impacted versions

  • Modoboa: 1.9.1
  • installer used: Yes
  • Webserver: Nginx

Steps to reproduce

Trying to save parameters.

Current behavior

Does not save parameters.

Expected behavior

Saves parameters.

Video/Screenshot link (optional)

screen shot 2017-12-05 at 17 34 59

This is a brand new installation. Of note is that there isn't even a request being made to https://mail.domain.com/core/parameters/ which should happen.

Originally created by @herrbischoff on GitHub (Dec 5, 2017). Original GitHub issue: https://github.com/modoboa/modoboa/issues/1316 # Impacted versions * Modoboa: 1.9.1 * installer used: Yes * Webserver: Nginx # Steps to reproduce Trying to save parameters. # Current behavior Does not save parameters. # Expected behavior Saves parameters. # Video/Screenshot link (optional) ![screen shot 2017-12-05 at 17 34 59](https://user-images.githubusercontent.com/8957346/33618401-bfd809fe-d9e2-11e7-8a8b-d048c3ec2f9b.png) This is a brand new installation. Of note is that there isn't even a request being made to `https://mail.domain.com/core/parameters/` which should happen.
kerem 2026-02-27 11:15:01 +03:00
Author
Owner

@pruje commented on GitHub (Dec 6, 2017):

Hi @herrbischoff
I'm not part of the modoboa team, but I had the same issue.
The problem is that you have to set the field "Default password" that is not "password", but a complex password with 8 characters minimum, at least one digit and one uppercase character.

BTW, @tonioo it would be nice to have explanation messages when failing to submit that form.
Thanks and keep the good work!

<!-- gh-comment-id:349564240 --> @pruje commented on GitHub (Dec 6, 2017): Hi @herrbischoff I'm not part of the modoboa team, but I had the same issue. The problem is that you have to set the field "Default password" that is not "password", but a complex password with 8 characters minimum, at least one digit and one uppercase character. BTW, @tonioo it would be nice to have explanation messages when failing to submit that form. Thanks and keep the good work!
Author
Owner

@herrbischoff commented on GitHub (Dec 6, 2017):

@pruje: The password is set to something else than the default (which initially appeared to work) and there is no notice about it whatsoever:

modoboa

<!-- gh-comment-id:349652692 --> @herrbischoff commented on GitHub (Dec 6, 2017): @pruje: The password is set to something else than the default (which initially appeared to work) and there is no notice about it whatsoever: ![modoboa](https://user-images.githubusercontent.com/8957346/33665924-af2c8916-da98-11e7-87d5-c06d222ba5d0.png)
Author
Owner

@herrbischoff commented on GitHub (Dec 6, 2017):

In the developer tools I can see a JavaScript event attached to the form to send an Ajax request but somehow this is never fired. I have another install on a different server that works without a hitch. If there's no obvious solution to this, I'm just going to wipe the server and reinstall everything as it's not in active use for now.

<!-- gh-comment-id:349653754 --> @herrbischoff commented on GitHub (Dec 6, 2017): In the developer tools I can see a JavaScript event attached to the form to send an Ajax request but somehow this is never fired. I have another install on a different server that works without a hitch. If there's no obvious solution to this, I'm just going to wipe the server and reinstall everything as it's not in active use for now.
Author
Owner

@tonioo commented on GitHub (Dec 7, 2017):

@herrbischoff Can you try again after a full refresh the page (ctrl+F5) and also check all tabs to see if you haven't forgotten something.

<!-- gh-comment-id:349925667 --> @tonioo commented on GitHub (Dec 7, 2017): @herrbischoff Can you try again after a full refresh the page (ctrl+F5) and also check all tabs to see if you haven't forgotten something.
Author
Owner

@herrbischoff commented on GitHub (Dec 7, 2017):

@tonioo: I tried both several times and finally just gave up and ran the Modoboa installer again. Afterwards all data was still there and it worked.

Coming to think about it, the difference is that there is now no Radicale plugin that I installed at some point. It may have had something to do with this. If it does, there really should be more intelligent form validation.

I was thinking about the way the interactivity is currently implemented. I would really love to rewrite it in Vue.js to be more lightweight and intelligent, basically turning the admin panel UI into a SPA. Is this something you would be open to? If so, this would without a doubt be a longer-term project since all plugins probably needed reworking as well.

<!-- gh-comment-id:349942073 --> @herrbischoff commented on GitHub (Dec 7, 2017): @tonioo: I tried both several times and finally just gave up and ran the Modoboa installer again. Afterwards all data was still there and it worked. Coming to think about it, the difference is that there is now no Radicale plugin that I installed at some point. It may have had something to do with this. If it does, there really should be more intelligent form validation. I was thinking about the way the interactivity is currently implemented. I would really love to rewrite it in Vue.js to be more lightweight and intelligent, basically turning the admin panel UI into a SPA. Is this something you would be open to? If so, this would without a doubt be a longer-term project since all plugins probably needed reworking as well.
Author
Owner

@tonioo commented on GitHub (Dec 7, 2017):

@herrbischoff Yes, I think it is related to the radicale plugin which has an empty setting by default.

Rewriting the user interface using vue.js is something I plan to do (I already did the contacts plugin like this and I'm working on a new radicale plugin) but, as you said, it is a longer-term project. Anyway, I'd really need help about this. Would you be ready to work on this with me?

<!-- gh-comment-id:349953729 --> @tonioo commented on GitHub (Dec 7, 2017): @herrbischoff Yes, I think it is related to the radicale plugin which has an empty setting by default. Rewriting the user interface using vue.js is something I plan to do (I already did the contacts plugin like this and I'm working on a new radicale plugin) but, as you said, it is a longer-term project. Anyway, I'd **really** need help about this. Would you be ready to work on this with me?
Author
Owner

@herrbischoff commented on GitHub (Dec 7, 2017):

@tonioo: Sure, I'm up for it. I recently finished several Vue.js-based client projects so I'm quite up-to-speed working with the framework. From what I've seen, Modoboa does all of its interaction with the API though REST calls. This should make it manageable to transition to Vue. I can involve myself for some time every week but obviously I cannot guarantee availability with needing to earn money and all that. That being said, I really like Modoboa's approach and will gladly help out to make it even better.

Maybe somewhere along the way we can tackle a FreeBSD installer as well. ;)

<!-- gh-comment-id:349955724 --> @herrbischoff commented on GitHub (Dec 7, 2017): @tonioo: Sure, I'm up for it. I recently finished several Vue.js-based client projects so I'm quite up-to-speed working with the framework. From what I've seen, Modoboa does all of its interaction with the API though REST calls. This should make it manageable to transition to Vue. I can involve myself for some time every week but obviously I cannot guarantee availability with needing to earn money and all that. That being said, I really like Modoboa's approach and will gladly help out to make it even better. Maybe somewhere along the way we can tackle a FreeBSD installer as well. ;)
Author
Owner

@tonioo commented on GitHub (Dec 7, 2017):

@herrbischoff I understand the need for money, I've got the same problem ;-) (who doesn't?)

As you mentioned it, Modoboa provides a REST api which could be used as a starting point but it needs some improvements. I'd also like to update the way menu items are organized.

How could we start this?

<!-- gh-comment-id:349960533 --> @tonioo commented on GitHub (Dec 7, 2017): @herrbischoff I understand the need for money, I've got the same problem ;-) (who doesn't?) As you mentioned it, Modoboa provides a REST api which could be used as a starting point but it needs some improvements. I'd also like to update the way menu items are organized. How could we start this?
Author
Owner

@herrbischoff commented on GitHub (Dec 7, 2017):

I'm closing this as the original issue is resolved. It was apparently caused by an unconfigured Radicale plugin. Please see the new issue I opened regarding web interface refactoring.

<!-- gh-comment-id:350010724 --> @herrbischoff commented on GitHub (Dec 7, 2017): I'm closing this as the original issue is resolved. It was apparently caused by an unconfigured Radicale plugin. Please see the new issue I opened regarding web interface refactoring.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#1060
No description provided.