Sorry, the cli-php is 4.4.9, the verion of php ist according to the webhosting information 7.0
Announcement
Collapse
No announcement yet.
Google Sync is not working
Collapse
X
-
PHP 4 is not supported. For security reason this file should be executed in the command line only. The problem in the PHP version for cli. Please find the correct PHP path and use it in crontab.
Comment
-
You can remove this check in cron.php manually https://github.com/espocrm/espocrm/b...r/cron.php#L33
Comment
-
-
I tested it. Cron.php is only executed when I start it manually by ssh. Then the message in the google sync log is "success". But there are no calender items synchronized. The crontab is working, I tested it with another command. What items are synchronized with google? If I set up a meeting item in a users (not admins) profile, nothing happens. (the google account is set up at the users profile, the connection works and is set to "both way synchronization").
Comment
-
I see that one item which is synchronized has a M: in Google Calendar. Other meeting items are not recognized. Have I done something wrong?
Comment
-
The M: is expected behavior when pulling a meeting from CRM to the Google calendar, at least by default. Have you checked the error logs again since running the cron? data/logs to see if there are any error messages? Is the user set as an attendee on the meeting in the CRM for the other meetings that didn't show up as you expected?
-
-
Yes, user is set as an attendee in Espo. In the log file a typical error message is like this:
> 2017-08-31 22:13:34] Espo.ERROR: GoogleCalendarERROR: Error after requesting PUT https://www.googleapis.com/calendar/...65plk77l05u1cs. Reason: Invalid value for: false is not a valid value [] []
Comment
Comment