unable to resolve the user / random sync to outlook
-
I got your log. I suggest that we continue to discuss this publicly here. If there is something sensitive we can fallback to the support ticket.
I don’t see anything out of the ordinary in your log.
Not a daily setting I see is that you limit the sync to 6 months. The emails are newer so they should be inside the sync window.
The only thing I see in the log is that the messages are exported. Are these older emails that were reimported at a later point (like backup restore)?So, this seems not to be related to Z-Push or KOE, it’s Kopanos ICS mechanism that seems just not to be exporting the emails.
Can you reproduce this on other mobile devices as well? Like, if you sync an iOS with unlimited email (so it get’s limited to 6 months on the server). Are these emails then on the phone? Please create a full wbxml log for this user (could be via $specialLogUsers).
Then check if the serverids from the messages (like U4a1c3:f0bc882a8e0f410aa9765bd325976fe70b3697000000 from the log you’ve sent) appear in the log when you sync for the first time).
I would guess that they don’t (because ICS doesn’t export them for some reason). -
I will get a phone later this day to sync this user.
Is there a way to get only this user with a specific deviceID logged or will i get a WBXML from this user and all devices?
Coffee_is_life
-
@Coffee_is_life said in unable to resolve the user / random sync to outlook:
I will get a phone later this day to sync this user.
Is there a way to get only this user with a specific deviceID logged or will i get a WBXML from this user and all devices?
Coffee_is_life
Nevermind, i will log both Devices with “LOGLEVEL_DEVICEID”. Are you interested in both devices or should i do something like “cat /var/log/z-push/usernname.log |grep DEVICEID >> /var/log/user-deviceid.log” and give you only one specific deviceid-sync?
Coffee_is_life
-
When you log via specialLogUser the deviceid is logged, and yes, you can filter out logs for a specific device grepping for the deviceid.
-
This is just a hunch, but could you try to set
define('SYNC_FILTERTIME_MAX', SYNC_FILTERTYPE_ALL);
in your config? This should not be related, but I just observed that on another system that has some weird sync issues.
From your Android log: there is a folder “Unwanted” that the device tries to create immediately after profile setup. Is this something you did manually? Or is this your Android client?
The creation did not succeed and the mobile tries to recreate it over and over again.Cheers,
Sebastian -
Hello again,
sorry for the long time no answer, but i thought this problem was fixed and forgot about the ticket…
I’ve got the same behaviours as described in my topic.
Nothing unusual in any logs, the server just wont export some mails till its properties gets changes in webapp/deskapp.
Mails from ie. yesterday popping up after deleting a mailitem in outlook. This is absolute random and sometimes hard for the employees to work with because some urgent mails just wont show.im in contact with Mr. Stradinger and i will talk about this problem on next possibility.
Coffee_is_life
-
Do you still have SYNC_FILTERTIME_MAX set to 6 month? Did you try to set it to ALL to see if this changes anything?
-
Since we got also a problem with “purge softdelete items” no, but im about to build a whole test environment with kopano, webapp and some clients, i will try this as soon as possible.
another question with older mails and purging: is there a simple way to delete all items older 180 days, doesnt matter if soft-deleted or not?
we got an archive-system with all mails stored and the users are used to it if they want to search old mails. If yes, the SYNC_FILTERTIME_MAX can be set to ALL without any Problems and we are reducing the db-data.
coffee_is_life
-
This can be done, but I do not know if there are any ready-to-use tools.
This can certainly be scripted with e.g. python-kopano.
I would recommend opening a separate thread for this. -
For all with such a problem:
i’ve got a script via subscription support to pruge the items outside of kopanos triggers and internal actions.its a script called “purge-softdelete.py”, and deletes the items directly from db.
seems to work in test environment - i will provide info if this is also for the productive env.one thing to mention: availible ram is getting lower and lower within the process and needs some time (about 1d to release the ressources or requires rebooting the server)
//EDIT: A bit late, but here info for productive Systems:
It works and solved the problem, but NEVER EVER start the purge with 30 days or something if you didnt purge for over half a year and the script want to delete over 1,8 mio elements ;)
start with 360 days and decrase 30 days with every purge.
Ignore the MAPI_E_DISK_ERROR’s, the script is searching for them and will try to redo the action afterwards. if you reached your desired days run it 3 till 4 times to eleminate all items, even with MAPI_E_DISK_ERROR…
And to mention, dont run the initial purge if users are active, the performance of db will decrase and the users will blame you ;(coffee_is_life