Open MorganReid opened 1 year ago
Hello @MorganReid please check web.log or web.api.log for errors.
Hello @MorganReid please check web.log or web.api.log for errors.
Thank you very much for your reply.
I deployed onlyoffice-community-server
through docker and entered the container of this service.
No matter whether it is automatic synchronization or manual synchronization, there is no output in /var/log/onlyoffice/web.log
or /var/log/onlyoffice/web.api.log
.
But when I click sync manually, there is a record in /var/log/onlyoffice/nginx.access.log
172.18.0.4 - - [29/Nov/2023:08:12:58 +0000] "GET /api/2.0/settings/ldap/sync HTTP/1.1" 200 231 "-" "-"
Is there any way to verify whether auto sync is turned on?
I checked the official documentation and found that I can first obtain the token by curl api/2.0/authentication.json
, then synchronize data by curl api/2.0/settings/ldap/sync
, but this requires me to write a cronjob myself.
If possible, I still want to use the default automatic synchronization.
Please specify what version of the community server you have?
Please specify what version of the community server you have?
12.5.2
Please also check web.controlpanel.log for errors.
Please also check web.controlpanel.log for errors.
Thank you very much for your reply.I entered the container of controlpanel service.
when I click sync manually, there is some records in/var/log/onlyoffice/web.controlpanel.11-30.log
2023-11-30 06:57:25 - info: settings/ldap/status
2023-11-30 06:57:26 - info: settings/ldap/status
2023-11-30 06:57:27 - info: settings/ldap/status
2023-11-30 06:57:28 - info: settings/ldap/status
But when it is automatic synchronization ,there is no log in/var/log/onlyoffice/web.controlpanel.11-30.log
.
So automatic synchronization should not be scheduled for execution.
Automatic synchronization is turned on(every day at 8:00 am) .
But no work the next day. The possible reason is that it is either not executed or an execution error occurs. Where can I see the log information or enable it?
I synced manually(Click the sync button) and the data can be synchronized. So there should be no problem with the ldap configuration.