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 does not start due to permissions issue in attachments path

    Kopano Groupware Core
    2
    4
    233
    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.
    • apio-sys
      apio-sys last edited by fbartels

      I have set loge level to 6 but can’t get more logs than this :

      Mon Feb 10 10:56:39 2020: [info ] Audit logging not enabled.
      Mon Feb 10 10:56:39 2020: [=======] Starting kopano-server version 8.7.0 (pid 2880 uid 0)
      Mon Feb 10 10:56:39 2020: [info ] Using epoll events
      Mon Feb 10 10:56:39 2020: [notice ] Listening for TCP connections on port 236
      Mon Feb 10 10:56:39 2020: [notice ] Listening for priority pipe connections on /var/run/kopano/prio.sock
      Mon Feb 10 10:56:39 2020: [notice ] Listening for pipe connections on /var/run/kopano/server.sock
      Mon Feb 10 10:56:39 2020: [notice ] Coredumps are disabled via configuration file.
      Mon Feb 10 10:56:39 2020: [debug ] Reexecing /usr/sbin/kopano-server
      Mon Feb 10 10:56:39 2020: [notice ] K-1240: Failed to re-exec self: Permission denied. Continuing with standard allocator and/or restricted coredumps.
      Mon Feb 10 10:56:39 2020: [notice ] Connection to database 'kopanoserver' succeeded
      Mon Feb 10 10:56:39 2020: [error ] Unable to write attachments to the directory '/mnt/sdb/kopano/attachments' - Permission denied. Please check the directory and sub directories.
      Mon Feb 10 10:56:39 2020: [notice ] Waiting for mysql_server_end
      Mon Feb 10 10:56:39 2020: [notice ] Waiting for mysql_library_end
      Mon Feb 10 10:56:39 2020: [=======] Server shutdown complete.
      

      Which looks self-explaining enough but a chown -R kopano:kopano on the attachments path doesn’t solve it and permissions definitely look ok…

      Many thanks in advance for your help,

      Joris.

      1 Reply Last reply Reply Quote 0
      • apio-sys
        apio-sys last edited by

        Reply to self : in the end issue came from AppArmor… Indeed rights where defintely correct. Disabled AppArmor for now and works again…

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

          @apio-sys
          i restored your messages as it can help others to solve there issue

          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
          • apio-sys
            apio-sys last edited by apio-sys

            OK thanks Robin.

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