Open stefaweb opened 6 years ago
Getting a similar issue when trying to create a Calendar. Running on Ubuntu 18.04. Fresh install via the installer script, yesterday.
Modoboa | 1.14.0 Radicale management | 1.3.6
/api/v1/user-calendars/:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
If I go to https://mailserver/docs/api/#mailboxes-list/api/v1/mailboxes/, I got an error 500.
In /var/log/uwsgi/app/modoboa_instance.log: GET /api/v1/mailboxes/ => generated 870 bytes in 217 msecs (HTTP/1.1 500) 5 headers in 181 bytes (1 switches on core 0)
Same if I use /api/v1/mailboxes/{id}/.
In https://github.com/modoboa/modoboa/issues/1582 From @Toniob I think the bug you encounter with API is due to the radicale plugin. Are you browsing the API as default administrator? (which has no mailbox) If so, just switch to a user with a mailbox and it will work again.