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

    Kopano-server fails: unrecognized attachement_storage="database"

    Kopano Groupware Core
    2
    6
    1102
    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.
    • wslagendijk
      wslagendijk last edited by

      Updating tot 8.4.90 last weekend broke Kopano server. Happend with 8.4.90.1294 but still remains with today’s version 1296…

      Error in log:
      [error] K-1542: Unrecognized attachment_storage=“database”
      [crit] Could not initialize attachment store: no access
      [error] Unable to initialize kopano session manager

      Any idea? Help is very much appreciated.

      fbartels 1 Reply Last reply Reply Quote 0
      • fbartels
        fbartels Kopano @wslagendijk last edited by

        Hi @wslagendijk ,

        yes indeed using the database backend for attachment storage can currently not be set. I have created https://jira.kopano.io/browse/KC-945 to investigate this further.

        On a related topic: why are you storing your attachments still in the database? The recommended (and default) way would be to store those on disk.

        Regards Felix

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

        Support overview:
        https://kopano.com/support/

        1 Reply Last reply Reply Quote 0
        • wslagendijk
          wslagendijk last edited by

          Because I am using Kopano for private use only on a VPS which I migrate once in a while. And storing the attachments in the database is by far the easiest to migrate :-)

          1 Reply Last reply Reply Quote 0
          • wslagendijk
            wslagendijk last edited by wslagendijk

            Boy, it gets worse :(

            So I migrated the attachments to files with the perl script provided in /usr/share/doc/kopano. Script worked fine.
            Changed the configuration afterward and restarted kopano-server. Now log shows this error:
            [error] Attachments are stored with option ‘database’, but ‘files’ is selected.

            @fbartels Now what do I do?
            Really made a mess of it…

            fbartels 1 Reply Last reply Reply Quote 0
            • fbartels
              fbartels Kopano @wslagendijk last edited by

              @wslagendijk that does not sound like you followed the instructions on switching the attachment backend until the end.

              Regards Felix

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

              Support overview:
              https://kopano.com/support/

              1 Reply Last reply Reply Quote 0
              • wslagendijk
                wslagendijk last edited by

                right, missed the part of start once with “–ignore-attachment-storage-conflict”. tnx

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