Comments (14)
Might be related: I also imported ics-data from a google calendar. It ended up in a new calendar (wish I could specify which one was used). When I started to move the event items to the correct calendar, they disappeared. I can't really say what made them reappear again (modified other events, toggled visibility of calendars, ...), but maybe there is a bug in displaying events which isn't necessarily related to faulty timestamps.
from apps.
Hi, I have the same problem in Owncloud 5.0.8. The calender has worked before and just vanished recently, maybe after I edited some entries using my Android CalDAV-Sync app.
Right now I am unable to view my calendar. Is there a workaround that lets me use the calendar again and keeping the synchronization with the phone working?
Is anyone working on this issue? Thanks for your help - I really enjoy using Owncloud but with this issue it's driving me crazy and I'm afraid to loose data.
from apps.
Right now I am unable to view my calendar. Is there a workaround that lets me use the calendar again and keeping the synchronization with the phone working?
You have to remove the entry with invalid data from your database
Is anyone working on this issue?
Yes, but it's a lot of work for one developer. :(
I'll take a look at this issue later today
from apps.
You have to remove the entry with invalid data from your database
As I didn't know which entry (if any) was invalid, I just bulk removed a bunch of entries that I didn't need anymore. Now the remaining entries show up in the calender view BUT synchronization with my phone (Android, CalDAV) still doesn't do anything in either direction. To ensure it's not the Android app screwing up I added the calender to an iPhone and it doesn't show their either. Another calender from the same owncloud installation is being synchronized correctly.
Is anyone working on this issue?
Yes, but it's a lot of work for one developer. :(
Wow - I didn't know there's only one person working on owncloud. Thumbs up, very good job so far! I thought I saw more of you hanging around at the LinuxTag, though. ;-)
I thought about looking into it myself, so maybe you can give me a hint on where to look? Is there any documentation of the architecture?
from apps.
Wow - I didn't know there's only one person working on owncloud.
I was talking about the calendar app ;)
from apps.
Would you mind testing this patch?
https://gist.github.com/georgehrke/5999629
from apps.
As I didn't know which entry (if any) was invalid, I just bulk removed a bunch of entries that I didn't need anymore. Now the remaining entries show up in the calender view BUT synchronization with my phone (Android, CalDAV) still doesn't do anything in either direction. To ensure it's not the Android app screwing up I added the calender to an iPhone and it doesn't show their either. Another calender from the same owncloud installation is being synchronized correctly.
Have you tried to increase the ctag of the calendar that fails to synchronize?
(ctag in oc_clndr_calendar)
from apps.
Have you tried to increase the ctag of the calendar that fails to synchronize?
Not yet. That marks the calendar as having changed?
I'll try increasing the ctag as well as your patch tonight when I'm at home. Thanks for your support!
from apps.
Not yet. That marks the calendar as having changed?
Exactly
from apps.
others are welcome to test this patch as well :)
from apps.
I applied the patch and incremented the ctag, but the calendar is still not being synchronized. Maybe that is a different problem, though. Any hints on how to get further debugging info on that? owncloud.log doesn't show anything that seems relevant, even with loglevel set to DEBUG.
The issue of the calender not showing at all in Owncloud I had worked around by deleting some entries, so I am not able to reproduce that right now. But the patch didn't make things worse either. :-)
from apps.
Just FYI, probably not related to this ticket's description: To work around the synchronization problem which I described in my previous comment: I created a new calendar in owncloud and moved all out of date entries from the broken calendar to the new calendar in the database and updated the ctag for both calendars. To my surprise both calendars where being synchronized just fine after that. I moved the remaining entries to the new calendar and synchronization is still working after that. So, without really changing anything, the synchronization problem vanished for me.
from apps.
After further investigation of a problem I experienced, I found this issue. This should be mostly fixed since owncloud/calendar#234
On a semi-related note, how would you feel about a little more debug information @georgehrke ?
--- a/lib/app.php
+++ b/lib/app.php
@@ -512,7 +512,7 @@ class OC_Calendar_App{
if(isset($event['uri'])){
$uid = $event['uri'];
}
- \OCP\Util::writeLog('calendar', 'Event (' . $uid . ') contains invalid data!',\OCP\Util::WARN);
+ \OCP\Util::writeLog('calendar', 'Event (' . $uid . ') contains invalid data: ' . $e->getMessage(), \OCP\Util::WARN);
Adding this led me to the underlying cause: "contains invalid data: 00001231T000000Z is not a valid \DateTime or Date string", which seems to be some kind of Google Calendar quirk.
from apps.
If this issue is still valid please reopen in the calendar repo
from apps.
Related Issues (20)
- External storage, google drive broken *update* Readme if not connecting. HOT 2
- Segate Personal Storage Cloud (arm7) update fault HOT 1
- the OS X calendar caldav connection to owncloud 9.1.1 is broken. HOT 1
- Move bundled apps to separate repo HOT 1
- Delete files_videoviewer since files_videoplayer is not bundled? HOT 3
- Login failed despite correct credentials HOT 6
- Access class methods of other apps HOT 2
- Bad UX creating a tag in the admin/additonal menu HOT 1
- External Sites public, viewable on shared folders HOT 2
- Stop using private OC_Group class
- user_external with imap: too many connections to the server HOT 7
- calendar app Certificate has been revoked HOT 1
- saml HOT 1
- Zyxel Owncloud deletes files after uninstalling !!! HOT 2
- [user_external] imap: username and [email protected] are treated as different users HOT 2
- owncloud folder erased if you run device maintenance HOT 1
- [external]: using custom icons makes ownCloud not available after upgrading to 10.0.3 HOT 7
- user_external: disabling logins with '@' does not work any more
- Move user_external and external to separate repos HOT 8
- Stop using $CLASSPATH
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apps.