Scheduled task failed: Sync users with Azure AD. (local_o365\task\usersync) #2173
Labels
Feature - user sync
Issue type - help wanted
General questions on how to use the plugins, e.g. configurations etc.
Plugin - local_o365
Status - PR ready / pending release
Dev is done and PR ready. Will be included in the next release.
Milestone
Hi,
I have the following error when running sync. Could you help? Tks
Moodle 4.0.3
Oracle Database 11g Release 11.2.0.4.0 - 64bit
Execute scheduled task: Baixar os tipos de conteúdo H5P disponíveis em h5p.org (core\task\h5p_get_content_types_task)
... started 10:15:03. Current memory use 3.1 Mb.
Não foi possível obter informações sobre os tipos de conteúdo H5P disponíveis. Falha na conexão com o repositório H5P
... used 1 dbqueries
... used 1.2583639621735 seconds
Scheduled task complete: Baixar os tipos de conteúdo H5P disponíveis em h5p.org (core\task\h5p_get_content_types_task)
Execute scheduled task: Sincronizar usuários com o AD do Azure (local_o365\task\usersync)
... started 10:15:04. Current memory use 5.9 Mb.
...... Starting sync
...... No skiptoken (full) stored.
...... Forcing full sync.
...... Contacting Azure AD...
...... Got response from Azure AD
...... Clearing skiptoken (full) (none received)
...... 62236 users received. Syncing...
...... 10000 users in chunk. Syncing...
... used 4 dbqueries
... used 315.6729991436 seconds
Scheduled task failed: Sincronizar usuários com o AD do Azure (local_o365\task\usersync),Erro ao ler a base de dados (ORA-00905: missing keyword
SELECT COUNT(a.id)
FROM m_user a
JOIN m_user b
WHERE a.email LIKE b.email
AND a.id < b.id
AND a.deleted = 0
AND b.deleted = 0
AND a.suspended = 0
AND b.suspended = 0
[array (
)])
Debug info:
ORA-00905: missing keyword
SELECT COUNT(a.id)
FROM m_user a
JOIN m_user b
WHERE a.email LIKE b.email
AND a.id < b.id
AND a.deleted = 0
AND b.deleted = 0
AND a.suspended = 0
AND b.suspended = 0
[array (
)]
Backtrace:
Ran 0 adhoc tasks found at Fri, 02 Sep 2022 10:15:02 -0300
Cron script completed correctly
Cron completed at 10:20:20. Memory used 6.2 Mb.
Execution took 317.323086 seconds
The text was updated successfully, but these errors were encountered: