I have no feedback, that something not work but my log is flooded with this error.
Nextcloud version (29.0.7):
PHP version (eg, 8.3): `
The issue you are facing:
mail - Fehler: Cron mail sync failed for account 10 von ? von – um 06.10.2024, 08:40:54
Is this the first time you’ve seen this error? (Y):
Steps to replicate it:
- unknown
The output of your Nextcloud log in Admin > Logging:
mail - Fehler: Cron mail sync failed for account 10 von ? von -- um 06.10.2024, 08:40:54
{
"reqId": "z5PgK0zUlQ9kMbHOACoG",
"level": 3,
"time": "2024-10-06T08:40:54+02:00",
"remoteAddr": "",
"user": "--",
"app": "mail",
"method": "",
"url": "--",
"message": "Cron mail sync failed for account 10",
"userAgent": "--",
"version": "29.0.7.1",
"exception": {
"Exception": "Error",
"Message": "Attempt to assign property \"client_debug\" on null",
"Code": 0,
"Trace": [
{
"file": "/apps/mail/vendor/bytestream/horde-imap-client/lib/Horde/Imap/Client/Socket.php",
"line": 4296,
"function": "_processCmd",
"class": "Horde_Imap_Client_Socket",
"type": "->",
"args": [
[
"Horde_Imap_Client_Interaction_Pipeline",
[
[],
[]
],
[
"Horde_Imap_Client_Fetch_Results"
]
],
[
"Horde_Imap_Client_Interaction_Command",
[],
"*** sensitive parameters replaced ***",
false,
null,
null,
[
"Horde_Imap_Client_Interaction_Pipeline",
[
[],
[]
],
[
"Horde_Imap_Client_Fetch_Results"
]
],
null,
"6"
],
[
"Horde_Imap_Client_Interaction_Command",
[],
"*** sensitive parameters replaced ***",
false,
null,
null,
[
"Horde_Imap_Client_Interaction_Pipeline",
[
[],
[]
],
[
"Horde_Imap_Client_Fetch_Results"
]
],
null,
"6"
]
]
},
{
"file": "/apps/mail/vendor/bytestream/horde-imap-client/lib/Horde/Imap/Client/Socket.php",
"line": 4243,
"function": "_sendCmdChunk",
"class": "Horde_Imap_Client_Socket",
"type": "->",
"args": [
[
"Horde_Imap_Client_Interaction_Pipeline",
[
[],
[]
],
[
"Horde_Imap_Client_Fetch_Results"
]
],
[
[
"Horde_Imap_Client_Interaction_Command",
[],
"*** sensitive parameters replaced ***",
false,
null,
null,
[
"Horde_Imap_Client_Interaction_Pipeline",
[
[],
[]
],
[
"Horde_Imap_Client_Fetch_Results"
]
],
null,
"6"
]
]
]
},
{
"file": "/apps/mail/vendor/bytestream/horde-imap-client/lib/Horde/Imap/Client/Socket.php",
"line": 851,
"function": "_sendCmd",
"class": "Horde_Imap_Client_Socket",
"type": "->",
"args": [
[
"Horde_Imap_Client_Interaction_Pipeline",
[
[],
[]
],
[
"Horde_Imap_Client_Fetch_Results"
]
]
]
},
{
"file": "/apps/mail/vendor/bytestream/horde-imap-client/lib/Horde/Imap/Client/Socket.php",
"line": 512,
"function": "_tryLogin",
"class": "Horde_Imap_Client_Socket",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/apps/mail/lib/IMAP/HordeImapClient.php",
"line": 87,
"function": "_login",
"class": "Horde_Imap_Client_Socket",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/apps/mail/vendor/bytestream/horde-imap-client/lib/Horde/Imap/Client/Base.php",
"line": 853,
"function": "_login",
"class": "OCA\\Mail\\IMAP\\HordeImapClient",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/apps/mail/vendor/bytestream/horde-imap-client/lib/Horde/Imap/Client/Base.php",
"line": 1404,
"function": "login",
"class": "Horde_Imap_Client_Base",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/apps/mail/lib/IMAP/FolderMapper.php",
"line": 66,
"function": "listMailboxes",
"class": "Horde_Imap_Client_Base",
"type": "->",
"args": [
"*",
5,
[
"*** sensitive parameters replaced ***",
"*** sensitive parameters replaced ***",
"*** sensitive parameters replaced ***"
]
]
},
{
"file": "/apps/mail/lib/IMAP/MailboxSync.php",
"line": 122,
"function": "getFolders",
"class": "OCA\\Mail\\IMAP\\FolderMapper",
"type": "->",
"args": [
"*** sensitive parameters replaced ***",
[
"OCA\\Mail\\IMAP\\HordeImapClient",
[
"HICenv",
"HICflags",
"HIChdrs",
"HICdate",
"HICsize",
"And 1 more entries, set log level to debug to see all entries"
],
"*** sensitive parameters replaced ***",
"*** sensitive parameters replaced ***"
]
]
},
{
"file": "/apps/mail/lib/BackgroundJob/SyncJob.php",
"line": 109,
"function": "sync",
"class": "OCA\\Mail\\IMAP\\MailboxSync",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/lib/public/BackgroundJob/Job.php",
"line": 80,
"function": "run",
"class": "OCA\\Mail\\BackgroundJob\\SyncJob",
"type": "->",
"args": [
[
10
]
]
},
{
"file": "/lib/public/BackgroundJob/TimedJob.php",
"line": 102,
"function": "start",
"class": "OCP\\BackgroundJob\\Job",
"type": "->",
"args": [
[
"OC\\BackgroundJob\\JobList"
]
]
},
{
"file": "/lib/public/BackgroundJob/TimedJob.php",
"line": 92,
"function": "start",
"class": "OCP\\BackgroundJob\\TimedJob",
"type": "->",
"args": [
[
"OC\\BackgroundJob\\JobList"
]
]
},
{
"file": "/cron.php",
"line": 177,
"function": "execute",
"class": "OCP\\BackgroundJob\\TimedJob",
"type": "->",
"args": [
[
"OC\\BackgroundJob\\JobList"
]
]
}
],
"File": "/apps/mail/vendor/bytestream/horde-imap-client/lib/Horde/Imap/Client/Socket.php",
"Line": 4405,
"message": "Cron mail sync failed for account {accountId}",
"exception": [],
"CustomMessage": "Cron mail sync failed for account 10"
},
"id": "670236024fdf6"
}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
'user_backends' =>
array (
0 =>
array (
'class' => '\\OCA\\UserExternal\\IMAP',
'arguments' =>
array (
0 => 'mail-domain',
1 => 993,
2 => 'ssl',
3 => 'example.com',
4 => false,
5 => false,
),
),
),
The output of your Apache/nginx/system log in /var/log/____
:
no access, cause php shared hoster