-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Shared calendars not editable via caldav #26667
Comments
@DeepDiver1975 is this a known issue ? |
I think I have the same issue. It started with the update 9.1.1-1.2 -> 9.1.2-1.1. Since then I can no longer edit or add entries in/to shared calendars via carddav. This happens even though the user has granted me permission to edit and the "can edit" box is also ticked in the owncloud calendar app. I can still create and add entries via the owncloud web interface. I can however no longer edit shared calendars with davdroid and evolution mail. Davdroid says:
Evolution says:
|
With newly created calendars everything seems to work. Only those present during the update can not be edited anymore. What is the best way to find out in which way the newly created calendars differ from the old ones? |
Please have a look in the database - let's start with: select * from oc_calendars |
I have uploaded the output of that command (shortened to only include the relevant users). The (newly created) shared calendar that works is |
thx - can I ask you to the table contents of the oc_dav_shares table? select * from oc_dav_shares where resourceid = 9; |
Here is the output:
|
hmmm ... nothing strange ..... |
I am affected as well. |
To work around the problem I decided yesterday to copy over all entries from the dysfunctional calendar to the newly created one (export to .ics, then import, both with Evolution) and simply use the new calendar instead of the old one. Unfortunately, after copying over all events, the new calendar now shows the same behavior as the old one. The person sharing the calendar can still create/edit/delete events normally, the person to which the calendar is shared can not do any of those anymore. The errors shown by Evolution and Davdroid are the same as above. I suspect that there is a problem with some of the calendar entries. How can I help out wich ones cause the problem? The number of entries is much too large to analyse them manually. Is there anything I could look for? Special characters or something? |
Digging a little deeper reveals a another level of absurdity of this problem: Thunderbird with SOGo Connector 24.0.6 is able to write to the shared calendars using the account to which they were shared, but not, as explained above, Evolution mail or Davdroid. |
I think this is a server issue, but have also opened a bug report with Davdroid to geht their opinion. You can see the full debug output of Davdroid here. |
Another piece of potentially useful information (sorry for bringing them up one by one, I am not experienced with debugging ownclound): I get this error message repeaded many times in owncloud.log
To me it looks as if that is what the server is saying when the client fails to edit the shared calendar. |
I'm affected as well. I can confirm that this happens since version 9.1.2. Upgrading to 9.1.3 didn't fix it. The clients I'm using are Thunderbird 45.5.1 with Lightning 4.7.5.1 and DAVdroid 1.3.4.1. My server is running on Fedora with ownCloud shipped by Fedora. I already reported the issue there for documentation: https://bugzilla.redhat.com/show_bug.cgi?id=1405715 PS: Editing shared calendars via WebGUI is working. |
I have one additional piece of information: Between users created after the update sharing of calendars seems to work normally. |
I had the same problem - by now I did not update to owncloud 9.1.3. What worked for me today was changing the account details in DAVdroid to:
(Found here: https://davdroid.bitfire.at/configuration/owncloud/ ) I don't understand why this helps, but it does for me. I keep you updated, if further errors occur later. |
Hi. Thanks for sharing this with us. It solves the problem in Thunderbird Lightning as well. PS: The sharing URL in the WebGui is correct too. |
Same problem here after 9.1.3 upgrade .... Here is the output of Just wondering if access value '3' is correct or not ..... and I can see the following log :
Thanks for your help |
With which URL are you accessing the calendars? Are you accessing them like Bilemma described three posts above? I'm on 9.1.3 as well and it helped. |
I've tried replacing the full url by https://server.example/owncloud/remote.php/dav/ I also tried the proposed fix here : https://doc.owncloud.org/server/9.0/admin_manual/issues/general_troubleshooting.html#service-discovery-label settings url as 'https://server.example/' and adding 'Redirect 301 /.well-known/caldav /owncloud/remote.php/dav' to .htaccess with no success .... any clue ? |
Same problem here with Owncloud 9.1.3 and URL http://$host/owncloud/remote.php/dav/ (as well as the old caldav ones...) |
someone, any news regarding this bug ? any fix to provide ? |
I suppose the only resolution is updating to Nextcloud? |
And, is there somewhere a migration howto ? |
And, is there somewhere a migration howto ?
https://help.nextcloud.com/t/migrating-from-owncloud-to-nextcloud/551 might be a good start.
Raoul
|
Thanks for this. Does owncloud client still works with nextcloud server ? |
I managed to get it solved on my system. I am using the Debian package of Owncloud without any modifications. Hence, owncloud is located at http://HOST/owncloud. I added the following lines to the VirtualHost in /etc/apache2/sites-available/000-default: |
@simogeo Please do a little research by yourself. Thanks, |
I am seeing this too (on v9.1.3) and noticed this in my Apache2 logs; When creating an event using the calendar owner (me) it works fine;
But when doing the same thing for a shared calendar (i.e. same calendar but different user via a share);
I am no expert but wondered if this might help the developers looking at this? Looks like the request to create the event is getting a 404 for the shared URL (i.e. Would love to get this working as currently anything my wife adds to the family calendar is not synchronised and thus no one else knows about!! |
Seems like you are not using the correct URLs. Have you either configured your clients as described here #26667 (comment) or your server as described in the troubleshooting guide that was linked in this comment #26667 (comment) ? |
Thanks guys - I had provisioned my Android phones using CALDav-Sync and entering |
After some additional debugging, I also figured out that the issue lies within the URL configuration, i.e.
I have no idea why there is a difference between direct and shared calendars. Last but not least, I think that one would be able to create a (temporary) workaround by using the rewrite capabilities of the webserver.
|
I'll also switch to nextcloud ... thanks |
After upgrading to 9.1.x I was suffering from the exact same problem as documented here. To solve my issues with not being able to edit/delete shared calendar entries I added the following workaround to my nginx config:
This immediately solved my issues and I am able to edit shared calendar entries again. However, if this issue is really already solved in nextcloud but not on owncloud I really have to evaluate to switch to NextCloud soon. |
same issue in 8.2.9 , BTW edit: not exactly the same as it seems: even in a new non-shared calendar it does not work |
This was fixed with 10.0.1 - see #27792 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Steps to reproduce
Expected behaviour
Changes should be synchronized.
Actual behaviour
Changes are not synchronized.
Server configuration
Operating system: Ubuntu
Web server: Apache
Database: MySQL
PHP version:
ownCloud version: 9.1.2
The text was updated successfully, but these errors were encountered: