Fwd: timezone problem?

ladas at seznam.cz ladas at seznam.cz
Sun Jan 17 11:37:25 CET 2021


Hi all,

Here is a small update. I made a test yesterday and discovered, the problem is only with ToDo which has an due date set. This parameter include time zone TZID and Kolab has problem to import it. 
At kolab-syncroton log is:
[15-Jan-2021 08:57:15,184561 +0100]: [WARN] {"user":"user at domain.com","cmd":"Sync","device":"SEC1A8FD0F12A723","type":"SAMSUNGSMN910C"} Syncroton_Command_Sync::handle::329 failed to add entry DateTimeZone::__construct(): Unknown or bad timezone (+0100)

and yesterday i found:
[14-Jan-2021 21:36:18,346979 +0100]: [WARN] {"user":"user at domain.com","cmd":"Sync","device":"SEC1A8FD0F12A723","type":"SAMSUNGSMN910C"} Syncroton_Command_Sync::handle::362 failed to update entry exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (+0100)' in /usr/share/kolab-syncroton/lib/kolab_sync_timezone_converter.php:106
Stack trace:
#0 /usr/share/kolab-syncroton/lib/kolab_sync_timezone_converter.php(106): DateTimeZone->__construct('+0100')
#1 /usr/share/kolab-syncroton/lib/kolab_sync_data_tasks.php(175): kolab_sync_timezone_converter->getOffsetTimezone(Object(DateTime), Object(DateTime))
#2 /usr/share/kolab-syncroton/lib/kolab_sync_data_tasks.php(215): kolab_sync_data_tasks::applyTimezone(Object(DateTime), Object(DateTime))
#3 /usr/share/kolab-syncroton/lib/kolab_sync_data.php(519): kolab_sync_data_tasks->toKolab(Object(Syncroton_Model_Task), '90335880f65deff...', Array)
#4 /usr/share/kolab-syncroton/lib/ext/Syncroton/Command/Sync.php(349): kolab_sync_data->updateEntry('90335880f65deff...', 'CRC1E7CC7B2b6ff...', Object(Syncroton_Model_Task))
#5 /usr/share/kolab-syncroton/lib/ext/Syncroton/Server.php(144): Syncroton_Command_Sync->handle()
#6 /usr/share/kolab-syncroton/lib/ext/Syncroton/Server.php(70): Syncroton_Server->_handlePost()
#7 /usr/share/kolab-syncroton/lib/kolab_sync.php(176): Syncroton_Server->handle()
#8 /usr/share/kolab-syncroton/index.php(31): kolab_sync->run()
#9 {main}

kolab_sync_timezone_converter.php file has a date 16.12.2020. It could be a time when sync problems starts.
To complete information the phone is Samsung Note IV with Android 6.1.0. Is it too old?


Greetings, ladas


Hi all.

I wish all of you good luck and strong health in whole 2021 :)

I would like to ask for help with time zone problem. I discovered this problem when I need to sync my Samsung telephone with Kolab account. Task stop at calendar sync and contacts are not sync at all. I use Kontact at desktop and here is not seen any problem but at Roundcubemail web GUI I cannot save or modify any item in Tasks. After modification error message appears: Server error: (Internal Server Error) Can someone give me advice where could be a trouble? Is it possible to refresh cache by hand, or clear it? Here are parts of log files:

kolab-syncroton/errors.log:
[11-Jan-2021 09:09:32,693889 +0100]: [CRIT] {"user":"user at domain.com","cmd":"Sync","device":"SEC1A8FD0F12A723","type":"SAMSUNGSMN910C"} Syncroton_Server::_handlePost::168 #0 /usr/sh
are/kolab-syncroton/lib/kolab_sync_backend_state.php(44): kolab_sync_backend_common->create(Object(Syncroton_Model_SyncState)) 
#1 /usr/share/kolab-syncroton/lib/ext/Syncroton/Command/Sync.php(999): kolab_sync_backend_state->create(Object(Syncroton_Model_SyncState), true) 
#2 /usr/share/kolab-syncroton/lib/ext/Syncroton/Server.php(147): Syncroton_Command_Sync->getResponse() 
#3 /usr/share/kolab-syncroton/lib/ext/Syncroton/Server.php(70): Syncroton_Server->_handlePost() 
#4 /usr/share/kolab-syncroton/lib/kolab_sync.php(176): Syncroton_Server->handle() 
#5 /usr/share/kolab-syncroton/index.php(31): kolab_sync->run() 
#6 {main} 
[13-Jan-2021 10:06:57,077667 +0100]: [WARN] {"user":"user at domain.com","cmd":"Sync","device":"SEC1A8FD0F12A723","type":"SAMSUNGSMN910C"} Syncroton_Command_Sync::handle::329 failed to
add entry DateTimeZone::__construct(): Unknown or bad timezone (+0100)

roundcubemail/errors.log
[14-Jan-2021 11:47:12 Europe/Prague] PHP Fatal error:  Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (Z)' in /usr/share/roundcubemail/plugins/libkolab/lib/kolab_storage_cache.php:1079
Stack trace:
#0 /usr/share/roundcubemail/plugins/libkolab/lib/kolab_storage_cache.php(1079): DateTimeZone->__construct('Z')
#1 /usr/share/roundcubemail/plugins/libkolab/lib/kolab_storage_cache.php(810): kolab_storage_cache->_unserialize(Array)
#2 /usr/share/roundcubemail/plugins/libkolab/lib/kolab_storage_folder.php(301): kolab_storage_cache->select(Array, false, true)
#3 /usr/share/roundcubemail/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php(590): kolab_storage_folder->select(Array, true)
#4 /usr/share/roundcubemail/plugins/tasklist/tasklist.php(1081): tasklist_kolab_driver->count_tasks('VGFza3M')
#5 [internal function]: tasklist->fetch_counts()
#6 /usr/share/roundcubemail/program/lib/Roundcube/rcube_plugin_api.php(522): call_user_func(Array)
#7 /usr/share/roundcubemail/index.php(298): rcube_plugin_api->exec_action('task in /usr/share/roundcubemail/plugins/libkolab/lib/kolab_storage_cache.php on line 1079

Thank you very much for each advice.
Greetings, ladas




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20210117/dfaa30ce/attachment.html>


More information about the users mailing list