mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-26 09:26:00 +03:00
[GH-ISSUE #1511] Creating a calendar leads to HTTP 500 in API call #1189
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#1189
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 @sr-it1 on GitHub (Jun 28, 2018).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1511
Impacted versions
Steps to reproduce
After clicking on "Calendar" and then on "+ New calendar" nothing happens. The nginx access logfile only shows
[...] "POST /api/v1/user-calendars/ HTTP/1.1" 500 [...]
There is nothing in the error.log
A HTTPS request to /radicale/.web shows "Radicale works!"
Any hints on this?
What I didn't find was the URL to access the calendar and contacts from an external client, such as an iphone (CalDAV / CardDAV) directly.
Current behavior
Calendar is not created.
Expected behavior
Calendar is created
Video/Screenshot link (optional)
@tonioo commented on GitHub (Jun 28, 2018):
Which user did you use?
@sr-it1 commented on GitHub (Jun 28, 2018):
I checked both: a SuperAdmin and a SimpleUser - it is the same API call and an HTTP 500 as well - and both users have the account flag, too.
@tonioo commented on GitHub (Jun 28, 2018):
Actually it won't work with the default admin user because it has no mailbox, need to add something about this.
It should work with a simple user, unless you choose the "self signed certificate" option at installation time. You need a valid certificate.
@sr-it1 commented on GitHub (Jun 28, 2018):
It was the default admin created at installation time. The SimpleUser was created afterwards.
I chose the "self signed certifiate", but I just switched to a "normal" valid SSL certificate. I already updated the postfix, dovecot, nginx references. I did not find any cert ref in /etc/radicale/config, these were commented out, neither in /etc/supervisor/conf.d/radicale.conf.
Did I miss a location?
@sr-it1 commented on GitHub (Jun 28, 2018):
I just did a complete reinstall of the server. I used the self signed cert again, but updated the cert and key files to the offical cert/key.
It is not possible to create a calendar - neither as superadmin nor as simpleuser.
@tonioo commented on GitHub (Jul 10, 2018):
@sr-it1 Do you have any trace? Would be easier to debug...
@sr-it1 commented on GitHub (Aug 10, 2018):
After a second complete reinstall, it works now, even for the admin user!
It is an self signed certificate during installation and is switched to a "normal valid SSL certificate" afterwards. The admin user is updated to have a normal mailbox as well and can also have a calender.
It seems that this issue is connected to a browser cache issue. Using another browser and/or clearing FireFox cache worked. Maybe this caused the primary issue, that a radicale calendar could not be created.
Is there an plan to save the contact information to radicale also, that these could be used in cardav sync as well as the calendar?
@tonioo commented on GitHub (Aug 19, 2018):
@sr-it1 Enabling carddav for contacts is something planed but I wonder if it could be sponsored.