I have a problem with z-push after each update of MIAB.
After the MAIB update (e.g. from v67 to v68) there are no mails, dates, contacts at all on my iPhone. So the only solution - so far - is to complete delete my MIAB account from the iPhone and afterwards setup the MAIB account (es an Exchange Account) on my iPhone again.
Is this a known problem ? are there any known issues about this behaviour with z-push ?
Same for me. Luckily, itâs not too difficult to redo the Mail setup on my iPhone, but it feels like something that could be avoided.
Any clues in /var/log/z-push/z-push-error.log
?
well - this seems to be the part you are looking for at the logâŚ
(except the hundreds of âundefined array keyâŚâ warnings)
24/07/2024 10:46:26 [1770673] [ERROR] BackendCardDAV->ChangesSink - Error resyncing vcards: Woops, somethingâs gone wrong! The CardDAV server returned the http status code 0.
24/07/2024 10:46:26 [1770673] [ERROR] BackendCardDAV->ChangesSink - Error getting the changes
24/07/2024 10:46:26 [1770673] [ERROR] BackendCardDAV->ChangesSink - Error resyncing vcards: Woops, somethingâs gone wrong! The CardDAV server returned the http status code 0.
24/07/2024 10:46:26 [1770673] [ERROR] BackendCardDAV->ChangesSink - Error getting the changes
24/07/2024 10:47:23 [1864116] [WARN] BackendIMAP->getImapIdFromFolderId(â5cd41538â) = not initialized!
24/07/2024 10:48:59 [1864118] [ERROR] LoopDetection->ProcessLoopDetectionPreviousConnectionFailed(): Command âSyncâ at 24/07/2024 10:46:27 with pid â1863721â terminated unexpectedly o>
24/07/2024 10:48:59 [1864118] [ERROR] Please check your logs for this PID and errors like PHP-Fatals or Apache segmentation faults and report your results to the Z-Push dev team.
24/07/2024 11:58:07 [ 1018] [FATAL] Exception: (ProvisioningRequiredException) - Retry after sending a PROVISION command
Those Errors are logged after MIAB update.
It looks like there is some problem with the contact data. Perhaps you should try restarting the PHP-FPM services (affecting Nextcloud, which provides contact data, and Z-Push, which provides synchronization), and see if that reproduces the problem.
Iâm more interested in the hundreds of âundefined array keyâŚâ warnings.
I have some PGP signed or encrypted emails that have this problem when synchronizing. Iâve probably solved the problem and submitted a PR to Z-Push. Do you have any digitally signed or encrypted emails?
First of all - i donât use PGP signed / encryptet mails, and i didnât receive such mails.
second - i restarted the php-fpm.service - nothing happend to my contacts / calender dates or mail - all still there and the account is still able to sync.
Now - this is strangeâŚ
the last entriy at the z-push-error.log is from 26/07/24 03:06:10⌠even if i received a couple of mails today after 03.06.10, and got them pushed to my iPhone.
******* are private information - so i replaced them with ***
26/07/2024 03:04:10 [284528] [WARN] [@*****.]SyncObject->Check(): object from type SyncMail: parameter âfromâ contains an invalid email address '", ***"'. Address is removed.
26/07/2024 03:05:21 [183171] [WARN][@.] /usr/local/lib/z-push/lib/utils/utils.php:1284 iconv(): Wrong encoding, conversion from "unicode-1-1-utf-7" to "utf-8" is not allowed (2)
26/07/2024 03:05:21 [183171] [WARN] [@*****.] SyncObject->Check(): object from type SyncMail: parameter âfromâ contains an invalid email address âTalkmasterâ. Address is removed.
26/07/2024 03:05:21 [183171] [WARN][@*****.] /usr/local/lib/z-push/lib/utils/utils.php:1284 iconv(): Wrong encoding, conversion from "unicode-1-1-utf-7" to "utf-8" is not allowed (2)
26/07/2024 03:05:21 [183171] [WARN] [@*****.] SyncObject->Check(): object from type SyncMail: parameter âfromâ contains an invalid email address '", ***"'. Address is removed.
26/07/2024 03:05:24 [183165] [WARN] [@.] /usr/local/lib/z-push/lib/utils/utils.php:1284 iconv(): Wrong encoding, conversion from "unicode-1-1-utf-7" to "utf-8" is not allowed (2)
26/07/2024 03:05:24 [183165] [WARN] [@*****.] SyncObject->Check(): object from type SyncMail: parameter âfromâ contains an invalid email address ââEberle, Wolfgangââ. Address is removed.
26/07/2024 03:05:24 [183165] [WARN] [@*****.]SyncObject->Check(): object from type SyncMail: parameter âfromâ contains an invalid email address ââEberle, Wolfgangââ. Address is removed.
26/07/2024 03:05:38 [183171] [WARN] [@*****.]/usr/local/lib/z-push/lib/utils/utils.php:1284 iconv(): Wrong encoding, conversion from "unicode-1-1-utf-7" to "utf-8" is not allowed (2)
26/07/2024 03:05:38 [183171] [WARN] [@*****.]/usr/local/lib/z-push/lib/utils/utils.php:1284 iconv(): Wrong encoding, conversion from "unicode-1-1-utf-7" to "utf-8" is not allowed (2)
26/07/2024 03:05:38 [183171] [WARN] [@*****.]SyncObject->Check(): object from type SyncMail: parameter âfromâ contains an invalid email address âTalkmasterâ. Address is removed.
26/07/2024 03:05:54 [183169] [WARN] [@*****.]SyncObject->Check(): object from type SyncMail: parameter âtoâ contains an invalid email address âUndisclosed recipients:;â. Address is removed.
26/07/2024 03:06:10 [183169] [WARN] [@*****.]SyncObject->Check(): object from type SyncMail: parameter âfromâ contains an invalid email address ââEberle, Wolfgangââ. Address is removed.
26/07/2024 03:06:10 [183169] [WARN] [@*****.] SyncObject->Check(): object from type SyncMail: parameter âfromâ contains an invalid email address ââEberle, Wolfgangââ. Address is removed.
26/07/2024 03:06:10 [183169] [WARN] [@*****.*]SyncObject->Check(): object from type SyncMail: parameter âfromâ contains an invalid email address ââEberle, Wolfgangââ. Address is removed.
And finally, here are a bunch of those âundefined array key warningsâ you are interested inâŚ
26/07/2024 03:03:58 [183168] [WARN] [@*****.] /usr/local/lib/z-push/include/mimeDecode.php:347 Undefined array key 1 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.]/usr/local/lib/z-push/backend/imap/imap.php:1453 Undefined array key 0 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.] /usr/local/lib/z-push/backend/imap/imap.php:1453 Undefined array key 1 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.] /usr/local/lib/z-push/backend/imap/imap.php:1453 Undefined array key 2 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.]/usr/local/lib/z-push/include/mimeDecode.php:347 Undefined array key 1 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.]/usr/local/lib/z-push/backend/imap/imap.php:1453 Undefined array key 0 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.]/usr/local/lib/z-push/backend/imap/imap.php:1453 Undefined array key 1 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.]/usr/local/lib/z-push/backend/imap/imap.php:1453 Undefined array key 2 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.] /usr/local/lib/z-push/include/mimeDecode.php:347 Undefined array key 1 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.] /usr/local/lib/z-push/backend/imap/imap.php:1453 Undefined array key 0 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.] /usr/local/lib/z-push/backend/imap/imap.php:1453 Undefined array key 1 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.] /usr/local/lib/z-push/backend/imap/imap.php:1453 Undefined array key 2 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.] /usr/local/lib/z-push/include/mimeDecode.php:347 Undefined array key 1 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.]/usr/local/lib/z-push/backend/imap/imap.php:1453 Undefined array key 0 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.] /usr/local/lib/z-push/backend/imap/imap.php:1453 Undefined array key 1 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.] /usr/local/lib/z-push/backend/imap/imap.php:1453 Undefined array key 2 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.] /usr/local/lib/z-push/include/mimeDecode.php:347 Undefined array key 1 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.]/usr/local/lib/z-push/backend/imap/imap.php:1453 Undefined array key 0 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.]/usr/local/lib/z-push/backend/imap/imap.php:1453 Undefined array key 1 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.]/usr/local/lib/z-push/backend/imap/imap.php:1453 Undefined array key 2 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.]/usr/local/lib/z-push/include/mimeDecode.php:347 Undefined array key 1 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.]/usr/local/lib/z-push/backend/imap/imap.php:1453 Undefined array key 0 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.] /usr/local/lib/z-push/backend/imap/imap.php:1453 Undefined array key 1 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.]/usr/local/lib/z-push/backend/imap/imap.php:1453 Undefined array key 2 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.]/usr/local/lib/z-push/include/mimeDecode.php:347 Undefined array key 1 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.] /usr/local/lib/z-push/backend/imap/imap.php:1453 Undefined array key 0 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.]/usr/local/lib/z-push/backend/imap/imap.php:1453 Undefined array key 1 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.] /usr/local/lib/z-push/backend/imap/imap.php:1453 Undefined array key 2 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.] /usr/local/lib/z-push/include/mimeDecode.php:347 Undefined array key 1 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.]/usr/local/lib/z-push/backend/imap/imap.php:1453 Undefined array key 0 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.] /usr/local/lib/z-push/backend/imap/imap.php:1453 Undefined array key 1 (2)
26/07/2024 03:03:58 [183168] [WARN] [@*****.]/usr/local/lib/z-push/backend/imap/imap.php:1453 Undefined array key 2 (2)
Have you tried deleting the profiles from MIAB
Read here iPad Profile won't log in - #3 by stylnchris
z-push-admin -a remove -d
Device ID
Also delete and add all MS Active Sync accounts on your devices.
It seems you are right that after each update push messages stop. I just noticed on my Iphone.
hi vele,
to remove all z-push profiles and switch over to IMAP (as mentioned in the discourse you provieded) - sorry - but this is NOT the solution.
And - removing all z-push profiles doesnât solve the problem as wellâŚ
Re-Adding the Exchange-Accounts is still necesseray to get z-push back working again.
Unfortunately i donât know what exact happens at the z-push part during MIAB update⌠so i guess only @JoshData can help to figure out what his install/update script does with the z-push installation on an MIAB update.
Iâll jump in here, will work this out.Working on an older Z-Push issue first.
@matidau THX - sounds very gootd !!
just an âimaginationâ what could cause the problemâŚ
Maybe every update of MIAB runs a fresh installation of z-push, instead of an updateâŚ
I canât proof this - as i said - because i donât kow the update-script of MIAB and I donât know the z-push script that is triggered by the MIAB update-script.
It does run a new installation but with the existing states still there.
I think it is more likely to be the z-push-admin.php -a fixstates
line at the end.
More investigation needed. You can follow the issue here: iPhone loses sync between upgrades ¡ Issue #92 ¡ Z-Hub/Z-Push ¡ GitHub
Great !!!
THX for opening this case !!!
Push messages now work on my Iphone. No intervention it just started working.
So, can others confirm that z-push finally works?
hi hzink
sure - z-push âit-selfâ works pretty fine, If you setup your Account on your iPhone as an âExchangeâ account, mails, contacts, and calender objects are synced and pushed as expected.
Just after a MIAB Update, z-push fails, so that you have to delete your account on your iPhone and re-setup again.
Matidau already cares about this issue -
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.