Folder without PR_CONTAINER_CLASS - how to fix?
-
Hi!
My kopano 8.7.9.0 has a few folders which lack of the PR_CONTAINER_CLASS. For that reason, it is impossible to move the folder using Outlook connected with z-push.
Manfred Kutas said in my support request at https://forum.kopano.io/topic/3095, he remembers there should be a script fixing this, and he sent me to the github repository, but I did not find it.
Can somebody please point me to the script to fix missing PR_CONTAINER_CLASS on objects? I could directly ask the support, but if the community can solve this, I do not need to disturb them.
Thank you
Peter
-
Hi @itserv,
@itserv said in Folder without PR_CONTAINER_CLASS - how to fix?:
in my support request
Please be aware that this is a community forum, not an official support channel of Kopano b.v.
I would recommend to open a support case. https://kopano.com/support-info/ explains how to reach the Kopano support.
-
-
@itserv we have a script for that https://stash.kopano.io/projects/KSC/repos/core-tools/browse/fix-folder-class
If you want to do a safe way, first run
fix-folder-class.py -u username --list
this will create a json file with all the folders
then you can manually fix them and then run fix-folder-class.py -u username --restore`You can also use
fix-folder-class.py -u username --auto
this will get into the folders , get the first x items and then determines with folder class it should be.And the last option is if you are really sure that every folder that is missing the folder class is a mail folder, then just run
fix-folder-class.py -u username --mail
-
Thank you for the script, Robin. I will keep it in my toolbox for the moment I run into the same trouble, which hopefully will never happen.
Since it were only maybe 10 folders, I manually identified them, renamed them, created new ones with the original names, moved the items of the broken folders and finally deleted them. This was way faster then opening a support case which I would have certainly done when it was more than a few folders.
Best regards,
Peter