Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can`t create events in calendar #52

Open
PetroGolovnya opened this issue Jun 8, 2020 · 16 comments
Open

Can`t create events in calendar #52

PetroGolovnya opened this issue Jun 8, 2020 · 16 comments

Comments

@PetroGolovnya
Copy link

PetroGolovnya commented Jun 8, 2020

Modoboa: 1.15
installer used: Yes
Webserver: Nginx
OS: Ubuntu 20.04 LTS

Radicale 2.1.11 from ubuntu repo, modoba installer installed 3.x

Steps to reproduce

With a fresh installation done trough the installer, try to create a new event in calendar Calendar1 for a user and take error 500.

ls /srv/radicale/collections/collection-root/[email protected]/
Calendar1 contacts Meetings

Server response with error - https://paste.centos.org/view/d5deae8f
Radicale config - http://dpaste.com//1KDGW78

@tonioo
Copy link
Member

tonioo commented Jun 9, 2020

@PetroGolovnya The first link has expired...

@PetroGolovnya
Copy link
Author

@tonioo
Copy link
Member

tonioo commented Jun 9, 2020

@PetroGolovnya I see you're using python 3.8. Modoboa has not been officialy tested with this version.

@PetroGolovnya
Copy link
Author

Which version of python you recomend?

@tonioo
Copy link
Member

tonioo commented Jun 9, 2020

Python 3.7 is the most recent version which is known as compatible.

@PetroGolovnya
Copy link
Author

ОК. I try swith to 3.7 and make calendar test.

@PetroGolovnya
Copy link
Author

PetroGolovnya commented Jun 9, 2020

Modoboa: 1.15
installer used: Yes
Webserver: Nginx
OS: Ubuntu 18.04

Radicale 2.1.12 in /srv/radicale
and running
tcp 0 0 127.0.0.1:5232 0.0.0.0:* LISTEN 27154/python3

Python 3.6.9
Restart dovecot and i can create calendar, but can`t create event
When i try to add event in calendar http://paste.org.ru/?b8zv56
Radicale config http://paste.ubuntu.com/p/rgpgRyHbQC/

@tonioo
Copy link
Member

tonioo commented Jun 23, 2020

@PetroGolovnya does you event contains any special characters? Have you tried using only ASCII chars?

@PetroGolovnya
Copy link
Author

PetroGolovnya commented Jun 24, 2020

Links in last message still accessible.
I always use ASCII chars in event name and calendar name.
Event name not contains any special charters, cyrillic \ chinese letters.
For example:
изображение

@tonioo
Copy link
Member

tonioo commented Aug 28, 2020

@PetroGolovnya Sorry for the delay but can you check that you have caldav version 0.6.2 installed in your virtualenv?

@vnen
Copy link

vnen commented Sep 13, 2020

I have the same issue, also using Python 3.8.

Not sure if I'm looking at the right place but it looks like caldav version is 0.5.0 here. Is there an easy way to update this (I'm not familiar with Python virtualenv)?

Edit: I think I got to upgrade it correctly to 0.6.2, but still getting a 500 error just saying that "an internal error occurred".

@tonioo
Copy link
Member

tonioo commented Nov 28, 2020

@vnen Is this issue still happening?

@vnen
Copy link

vnen commented Dec 2, 2020

@tonioo yes. I've upgraded Modoboa to 1.17.0 but I still get the same error.

@tonioo
Copy link
Member

tonioo commented Dec 4, 2020

@vnen Looks like there was a permission issue in the default configuration. I've pushed a fix and I'll release a new version of the plugin soon. Don't forget to update your plugins too.

@tonioo tonioo added this to the 1.5.1 milestone Dec 4, 2020
@vnen
Copy link

vnen commented Dec 4, 2020

@tonioo I updated it but it seems the rights file isn't regenerated, so it's still an issue. Is there a way to force it to regenerate? Or should I just do it by hand?

@tonioo
Copy link
Member

tonioo commented Dec 4, 2020

@vnen You can call the same command using the --force option. (Look at the /etc/cron.d/modoboa file)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants