-
Notifications
You must be signed in to change notification settings - Fork 745
[bug] Unable to sync CalDAV calendar from Yetiforce to Outlook #12532
Comments
@2techcomputing I've always used the DavDroid link but no matter what I seem to get the same issues you are experiencing. I was sent this once before, hopefully you can figure it out from there. https://public.yetiforce.com/img/CalDav_and_DavDroid.gif Good luck! |
|
these are the server address that i have attempted on IOS |
screenshot of the server configuration verification screen?? |
Start by improving the server configuration and then CRM will work properly. |
@mariuszkrzaczkowski What causes the CalDav Integration to do this? My cron obviously works fine because everything else works. So why does this one stop? All of my URL connections are good on Outlook, IOS and Droid and I have successfully synced previously but right now I keep getting the hazard icon and NOTHING has changed. |
I have contacted my hosting provider and made most of the changes but a few still could not be changed because they do not have access to the CLI portion as it is shared web hosting, either way the features that show as red should not effect the use of CalDav with an IOS device or create issues syncing yetiforce calendar items back to Outlook. |
Good luck @2techcomputing the CalSync has hardly ever worked for me even when it authenticates as you can see above. @mariuszkrzaczkowski Any thoughts on my screenshots? |
show logs :), |
@mariuszkrzaczkowski I have the integration active but where do I turn the logs off? Also, the logs you mean the server seetings? |
attach current screenshot of configuration verification, |
@mariuszkrzaczkowski This is really all I need to mess with and post the server settings correct? DAV DEBUGGING 'DAV_DEBUG_EXCEPTIONS' => true, 'DAV_DEBUG_PLUGIN' => false, - this parameter enables an additional plugin that is used for loging/saving all data that is received and sent by the server to cache/logs/davDebug.log file. |
My CalDav only seems to work once I delete my key. However, when I add a new key for my main user, I end up with the issues as before. My CalDav section in Cron just says Running and spins for what seems like forever and nothing. I end up with the Hazard looking icon and that's it. So frustrating! Help, please!!!! |
if the cron task does not end, it means that some fatal error has occurred and the task has been interrupted. set the path to error_log logs and enable full logs according to our documentation and not just Dav. the error is in some logs depends on some kind. send everything to us by e-mail, attach the correct server configuration and there may be nothing in red if you have logs you will see the error yourself and this is needed to fix the problem. if you don't know, buy a support package a few hours is enough for that |
@mariuszkrzaczkowski The System Headers information area that is mostly Red has absolutely nothing to do with my Calendar issue I can assure you. Also, I don' have any System Errors or Warnings as noted in screenshots below. As I've stated previously, it has worked before but randomly stops after so long for whatever reason. I am pretty convinced that it's an internal issue on your end no disrespect. |
attach the required information and make changes if you want help |
@mariuszkrzaczkowski Will email the logs but the System Headers are NOT the issue and I bet a million dollars on that ;) |
@acsinsurancegroup just in case, send them to [email protected] ;) |
@bpabiszczak If I had it, I honestly would. You guys offer a world class product that I fully believe in and standby. Documentation could be a little better but I realize that takes a crap ton of time that none of us have lol. |
@mariuszkrzaczkowski I wanted to include the CRON Task report as well so you could seet what I am getting in response to every task: Task "/usr/bin/wget -O - -q -t 1 https://mysystemdomain.com/cron.php?app_key=mysystemsecretkey" successfully completed in 1 seconds, output: --------------- 2020-02-18 15:56:11 | Start CRON ---------- |
@mariuszkrzaczkowski Finall it stopped spinning like it typically does and presented the Hazard Icon and said Not Completed like usual. I then manually triggered another CRON tasks run successfully and the only change in the CAL_DAV now it simply says Start task and that will spin forever and ever again. I'll email the logs later this evening. --------------- 2020-02-18 16:36:19 | Start CRON ---------- |
@mariuszkrzaczkowski I believe the error is displayed above in the CRON report. It clearly says parse & syntax error: 2020-02-18 16:36:19 | LBL_CAL_DAV - Start task |
show file contents |
@mariuszkrzaczkowski @bpabiszczak UPDATE - I FIXED IT (TEMPORARILY IT SEEMS) What I did: I simply replaced my /www/mysystemdomain.com/app/Config.php with the actual content of the same file in the Developer code section from your Repository. I rebooted my server and BOOM, it works again. I replaced the file by renaming my file in the system and then copying and pasting the content from the updated file in the Developer version and pasting it over my original file and that was it. So it was something on your end again probably something that got messed up in one of the update files. See screenshots below, CalDav Integration finally worked again as Date and time updated without hazard icon or Not Completed message. However, it messed up again apparently because now it's stuck in circling mode again and hasn't updated since 3:10 AM and it's now 3:45 AM |
@mariuszkrzaczkowski Here you go: |
app/Config.php - has been protected against errors. /var/www/mysystemdomain.com/config/Components/Dav. |
@mariuszkrzaczkowski So line 24 should look like this: 24 public static $CALDAV_DEFAULT_VISIBILITY_FROM_DAV = "Private"; Is that right? Also, should Lines 30 & 33 be in quotes as well? You know that's the original file after install and not something that I had changed just fyi. I went ahead and changed Lines 30 & 33 like above in 24 and after reviewing Sequence 8 in CRON in the System Settings area and refreshing, it works again. It's no longer spinning since 3:10 AM and I have an updated time of 11:50AM as seen below. Won't know again for sure until the next auto CRON run at 12 PM will let you know :) |
Originally is False You had to change this 30 i 33 is correctly |
@mariuszkrzaczkowski That was it Mariusz, you're the best man thank you so much!!!!!!!!!!! Finally, it's working properly again :) The time changed manually at 12 and 12:15PM |
@acsinsurancegroup @mariuszkrzaczkowski I noticed that if i create an entry in the yetiforce calendar that is an all day event that the event will then properly sync to Outlook but if i create an event in yetiforce that has a specified time during the day then the cal dav synchronizer through's an error when it tries to grab that entry, looks like it is related to time, any ideas? |
@2techcomputing Try creating the event in Outlook or pushing it via your mobile and syncing it that way. I have never had much success with CalDav Synchronizer myself. It would always show errors, yet it would still sync what I needed to. Really a strange script lol. |
I noticed that various integrations have different sensitivity to the data. |
@acsinsurancegroup I guess i will have to create events that way then, I have still been unable to add the CalDav account to my IOS phone. What is the server you are using to make it work? Also is having the username and password set with the login and key from yetiforce correct for IOS? |
@mariuszkrzaczkowski It looks like Outlook does not like the way time is created in yetiforce, what do you want me to do with the ICAL file? |
Yes |
send to us we will check the correctness |
I am trying setup a synced calendar with yetiforce and outlook, i have enabled the required features in the API file and have created my API key. I added the API key to Outlook and can get Outlook to sync its calendar events to yetiforce but when i add an event to the calendar in yetiforce i get the error message " Object reference not set to an instance of an object." Any idea what might need to be configured to get it working. I am also unable to add the CalDAV account on my IOS device and believe the settings i am using are wrong. currently i am using:
server: http://yetiforce.2techcomputing.ca:443/dav.php/principals/(__dav_login__)/
username: api login
password: api key
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: