[GH-ISSUE #3234] password_scheme [ '"sha512crypt" is not a valid choice.' ] #1808

Closed
opened 2026-02-27 11:19:14 +03:00 by kerem · 4 comments
Owner

Originally created by @ghost on GitHub (Apr 11, 2024).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/3234

Impacted versions

  • OS Type: Debian
  • OS Version: 12
  • Database Type: postgres
  • Database version: 15.6
  • Modoboa: 2.2.4
  • installer used: yes
  • Webserver: nginx

Steps to reproduce

  1. login into a new-admin
  2. go to /new-admin/parameters/core (go to settings > general)
  3. ctrl+shift+k (open debug console in your browser)
  4. no need to change anything, just click on the green floppy disk icon in bottom right corner and then see response from the server indicating failure

Current behavior

this was installed yesterday, almost everything is in default settings (except maybe for importing users and domains CSVs)
I believe that this might be caused by the users csv import, but i tried to remove those.

Response

XHRPUT
https://mail.<blablabla>/api/v2/parameters/core/
[HTTP/2 400  112ms]

	
password_scheme	[ '"sha512crypt" is not a valid choice.' ]

Expected behavior

status 200

Video/Screenshot link (optional)

Screenshot_20240411_133221

Originally created by @ghost on GitHub (Apr 11, 2024). Original GitHub issue: https://github.com/modoboa/modoboa/issues/3234 # Impacted versions * OS Type: Debian * OS Version: 12 * Database Type: postgres * Database version: 15.6 * Modoboa: 2.2.4 * installer used: yes * Webserver: nginx # Steps to reproduce 1. login into a new-admin 2. go to /new-admin/parameters/core (go to settings > general) 3. ctrl+shift+k (open debug console in your browser) 4. no need to change anything, just click on the green floppy disk icon in bottom right corner and then see response from the server indicating failure # Current behavior this was installed yesterday, almost everything is in default settings (except maybe for importing users and domains CSVs) I believe that this might be caused by the users csv import, but i tried to remove those. <!-- Explain the behavior you're seeing that you think is a bug, and explain how you think things should behave instead. --> ## Response ```XHRPUT XHRPUT https://mail.<blablabla>/api/v2/parameters/core/ [HTTP/2 400 112ms] password_scheme [ '"sha512crypt" is not a valid choice.' ] ``` # Expected behavior status 200 # Video/Screenshot link (optional) ![Screenshot_20240411_133221](https://github.com/modoboa/modoboa/assets/120217643/547de2c7-8cf0-4780-8677-ba744f72d584)
kerem closed this issue 2026-02-27 11:19:14 +03:00
Author
Owner

@tonioo commented on GitHub (Apr 11, 2024):

Are you migrating from an old modoboa instance? Is your dovecot server on the same host than the web interface?

<!-- gh-comment-id:2049618592 --> @tonioo commented on GitHub (Apr 11, 2024): Are you migrating from an old modoboa instance? Is your dovecot server on the same host than the web interface?
Author
Owner

@ghost commented on GitHub (Apr 11, 2024):

Hi, new machine, nothing old apart from comma separated value files with users and domains.

<!-- gh-comment-id:2049636292 --> @ghost commented on GitHub (Apr 11, 2024): Hi, new machine, nothing old apart from comma separated value files with users and domains.
Author
Owner

@tonioo commented on GitHub (Apr 11, 2024):

Does the CSV file for users include passwords? Are they plain text or not?
And can you check the list of available password schemes from the web interface?

<!-- gh-comment-id:2049640135 --> @tonioo commented on GitHub (Apr 11, 2024): Does the CSV file for users include passwords? Are they plain text or not? And can you check the list of available password schemes from the web interface?
Author
Owner

@ghost commented on GitHub (Apr 11, 2024):

i give up, re-installing now.

<!-- gh-comment-id:2049660029 --> @ghost commented on GitHub (Apr 11, 2024): i give up, re-installing now.
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#1808
No description provided.