Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Outbox missing, recreation fails

    Kopano Groupware Core
    2
    2
    170
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Coffee_is_life
      Coffee_is_life last edited by

      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-systemfolders

      this 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

      robing 1 Reply Last reply Reply Quote 0
      • robing
        robing Kopano (Inactive) @Coffee_is_life last edited by robing

        @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

        Regards Robin,

        Need support?
        Have a look at https://kopano.com/support/ for options.

        Helpful resources:
        https://kopano.com/blog/how-to-get-kopano/
        https://documentation.kopano.io/
        https://kb.kopano.io/

        1 Reply Last reply Reply Quote 0
        • First post
          Last post