Can't select folders
-
I use Kopano on UCS servers. Current Versions:
WebApp: 4.8.0.0+164.1
Kopano Core: 8.7.19
Z-Push: 2.6.2+0-0When I try to unsubscribe (Settings -> Mobild Devices -> My Device -> Manage Shared Folders) a specific public folder I get the mesage:
Folder can not be removed because there is no folder known with given folder id
Only public folders are selected. My inbox and my calendar are NOT selected despite they get synced. When I select them, save an come back they are not selected.
I’ve subscribed an other account which gets displayed in the folder tree. I can select it’s inbox and calendar but when I save an come back they are not selected and even worse: they do not get synced.
With “do not get syced” I mean that I can’t select them for sync in “Nine Folders Mail” on Android for sync as they are not in the list.
I’ve tried to remove the mobile and re add it without success.
Any suggestions?
-
Hi @mahescho,
are there any errors logged in z-push for the user while adding/removing folders?
I would see if I can remove the folders with z-push-admin. Maybe the device just needs a hierarchy sync?
If all fails I would just completely resync the whole device.
-
Thanks for you answer.
In the z-push log I see this:
14/04/2021 13:40:55 [29062] [ INFO] cmd='WebserviceDevice' memory='1.85 MiB/4.00 MiB' time='0.08s' devType='webservice' devId='webservice' getUser='username' from='::1' idle='0s' version='2.6.2+0-0' method='POST' httpcode='500'
when ever I try to remove the public folder BACKUP or do any other action.
root@kopano:~# z-push-admin -a removeshared -u username -d nine85c1fdfdeb2c -f C42760
Failed removing folder with id 'C42760' for user 'username' on device 'nine85c1fdfdeb2c'. ASDevice->RemoveAdditionalFolder(): folder can not be removed because there is no folder known with this folder id: 'C42760'.
Tried: z-push-admin -a resync -u username -d nine85c1fdfdeb2c
Tried to complete remove the device several times, no sucess.
What ever I do I get: folder can not be removed because there is no folder known with this folder id: ‘C42760’
But: root@kopano:~# z-push-admin -a listfolders -u username -d nine85c1fdfdeb2c
Folders list of DeviceId: nine85c1fdfdeb2c ----------------------------------------------------------------------- FolderID ShortID Display Name ----------------------------------------------------------------------- ... a152b0f85e9847428dbb180dcbd32651570000000000 C42760 BACKUP NOT SYNCHED ...
It makes no difference if I use the FoldereID oder ShortID. But it’s a matter of fact that the public folder BACKUP exists.
Any further suggerstions?
-
Hi @mahescho,
if a folder is configured as a shared folder in config.php, it’s not possible to remove it from sync using the webservice. You’d have to remove if from config.php (just be aware that it will be removed for all Z-Push users).
Manfred
-
Ok, thanks, understood. Removed it from config, check mark in “Manage Shared Folders” is gone.
My next more important problem is that I’ve “opened” several other complete mailboxes to access their mails and calendars. This works.
When I try to select (mine or folders of other accounts) in MDM the check marks get set. Then I save. When I then have a look in my mobile device only my own folders are offered for sync and not the others. When I go back to “Manage Shared Folders” to check if the folders are selected NON but the public folders have check marks. Non of the check marks I’ve set is saved. For some reason my own folders and the public folders get synced any way.
This used to work for a long time and stopped working after a update some time ago. I can’t tell wich update.
How to fix this?
-
@mahescho said in Can't select folders:
httpcode=‘500’
This means “internal server error” and should result in an error in your webserver logging (
error.log
for example if you are using Apache). -
HTTP-500 occurred while tying to umcheck the public folder. All other non working actions do not show any error.
-
@mahescho and is something logged in the error log of your webserver when you perform this action?
@mahescho said in Can't select folders:
Tried to complete remove the device several times, no sucess.
What means you “tried” removing it? How did you try?
-
The HTTP500 error only appeared in conjunction with the shared folder issue. The shared folder issue ist solved. The HTTP500 error no loger gets logged.
The remaining issues are:
My next more important problem is that I’ve “opened” several other complete mailboxes to access their mails and calendars. This works.
When I try to select (mine or folders of other accounts) in MDM the check marks get set. Then I save. When I then have a look in my mobile device only my own folders are offered for sync and not the others. When I go back to “Manage Shared Folders” to check if the folders are selected NON but the public folders have check marks. Non of the check marks I’ve set is saved. For some reason my own folders and the public folders get synced any way.
This used to work for a long time and stopped working after a update some time ago. I can’t tell wich update.
How to fix this?
-
@mahescho ok, but even if what is logged does not look like an error to you if may provide additional insights here. Or does nothing get logged at all? Since this happens in a web browser there may also be additional hints in the browser console.
Coming back to
z-push-admin
do these additionally selected folders show there? Can additional folders be added throughz-push-admin
?Maybe it would make sense to follow this up with the Kopano support directly, so that someone could have a look at the system directly?