Outbox missing, recreation fails
-
Hello Forum,
one Store in my env is missing the outbox-folder.
This person cant send Mails.I’ve tried to recreate the folder with the python script (first in python2 version, which i used last time)
this failes with:python ./recreate-systemfolders.py --user username --systemfolder=outbox User(username) create tmp folder "28b40def-ff16-4c76-a9a2-b0cbf913f92d" copy items from old Traceback (most recent call last): File "./recreate-systemfolders.py", line 111, in <module> main() File "./recreate-systemfolders.py", line 73, in main user.store.subtree.copy(oldfolder.items(), tmp) File "/usr/lib/python2.7/site-packages/kopano/folder.py", line 590, in copy objects = _utils.arg_objects(objects, (_item.Item, Folder), 'Folder.copy') File "/usr/lib/python2.7/site-packages/kopano/utils.py", line 183, in arg_objects objects = list(arg) File "/usr/lib/python2.7/site-packages/kopano/folder.py", line 364, in items restriction=restriction, File "/usr/lib/python2.7/site-packages/kopano/table.py", line 40, in __init__ mapitable.SetColumns(columns, 0) File "/usr/lib/python2.7/site-packages/MAPICore.py", line 752, in SetColumns def SetColumns(self, *args): return _MAPICore.IMAPITable_SetColumns(self, *args) MAPI.Struct.MAPIErrorNotFound: MAPI error 8004010F (MAPI_E_NOT_FOUND)
after failing, i checked for a new version of the python script and found
https://github.com/Kopano-dev/kopano-core/blob/master/tools/python-scripts/kopano-recreate-systemfoldersthis one is failing with:
ModuleNotFoundError: No module named 'kopano'
i tried to install python3 packages “kopano*” via “pip3 install” but couldnt find any modules.
would it help to backup the user, delete/unhook the store, create a new one and restore the backup? or does this restores the whole thing again without outbox?
best regards
Coffee_is_life -
You need to install python3-kopano that is in our core repo (or tar file)
As there are some mayor issues at the moment with the fastly CDN (https://status.fastly.com/) i have no idea which version is on github.com as i can’t acces it
But this is the latest version that has been rewritten a couple of weeks ago
https://stash.kopano.io/projects/KSC/repos/core-tools/browse/recreate-systemfolders