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-grapi won't start since 10.2.0+4.a5080ed-0+28.2 10.3.0+14.16bdb73-0+31.1 update

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

      Hi,

      I’m experiencing problem with kopano-grapi since i have upgraded it on June 5th from 10.2.0+4.a5080ed-0+28.2 to 10.3.0+14.16bdb73-0+31.1
      Also tried an update today from 10.3.0+14.16bdb73-0+31.1 to 10.4.1+0.3d27169-0+33.1

      This is what i see in syslog :

      Jun  7 15:05:07 kopano systemd[1]: Starting Kopano Groupware REST API...
      Jun  7 15:05:07 kopano systemd[1]: Started Kopano Groupware REST API.
      Jun  7 15:05:08 kopano kopano-grapi[28893]: usage: kopano-mfr [-h] [--socket-path SOCKET_PATH] [--pid-file PATH]
      Jun  7 15:05:08 kopano kopano-grapi[28893]:                   [--log-level LOG_LEVEL] [-w N] [--insecure]
      Jun  7 15:05:08 kopano kopano-grapi[28893]:                   [--enable-auth-basic] [--enable-auth-passthrough]
      Jun  7 15:05:08 kopano kopano-grapi[28893]:                   [--disable-auth-bearer] [--with-metrics]
      Jun  7 15:05:08 kopano kopano-grapi[28893]:                   [--metrics-listen ADDRESS:PORT] [--process-name NAME]
      Jun  7 15:05:08 kopano kopano-grapi[28893]:                   [--backends LIST] [--enable-experimental-endpoints]
      Jun  7 15:05:08 kopano kopano-grapi[28893]:                   [--translations-path TRANSLATIONS_PATH]
      Jun  7 15:05:08 kopano kopano-grapi[28893]: kopano-mfr: error: argument --translations-path: is_path:/usr/share/kopano-grapi/i18n is not a writeable path
      Jun  7 15:05:08 kopano systemd[1]: kopano-grapi.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
      Jun  7 15:05:08 kopano systemd[1]: kopano-grapi.service: Failed with result 'exit-code'.
      Jun  7 15:05:09 kopano systemd[1]: kopano-grapi.service: Service RestartSec=1s expired, scheduling restart.
      Jun  7 15:05:09 kopano systemd[1]: kopano-grapi.service: Scheduled restart job, restart counter is at 1.
      Jun  7 15:05:09 kopano systemd[1]: Stopped Kopano Groupware REST API.
      Jun  7 15:05:09 kopano systemd[1]: Starting Kopano Groupware REST API...
      Jun  7 15:05:09 kopano systemd[1]: Started Kopano Groupware REST API.
      Jun  7 15:05:09 kopano kopano-grapi[28904]: usage: kopano-mfr [-h] [--socket-path SOCKET_PATH] [--pid-file PATH]
      Jun  7 15:05:09 kopano kopano-grapi[28904]:                   [--log-level LOG_LEVEL] [-w N] [--insecure]
      Jun  7 15:05:09 kopano kopano-grapi[28904]:                   [--enable-auth-basic] [--enable-auth-passthrough]
      Jun  7 15:05:09 kopano kopano-grapi[28904]:                   [--disable-auth-bearer] [--with-metrics]
      Jun  7 15:05:09 kopano kopano-grapi[28904]:                   [--metrics-listen ADDRESS:PORT] [--process-name NAME]
      Jun  7 15:05:09 kopano kopano-grapi[28904]:                   [--backends LIST] [--enable-experimental-endpoints]
      Jun  7 15:05:09 kopano kopano-grapi[28904]:                   [--translations-path TRANSLATIONS_PATH]
      Jun  7 15:05:09 kopano kopano-grapi[28904]: kopano-mfr: error: argument --translations-path: is_path:/usr/share/kopano-grapi/i18n is not a writeable path
      Jun  7 15:05:09 kopano systemd[1]: kopano-grapi.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
      Jun  7 15:05:09 kopano systemd[1]: kopano-grapi.service: Failed with result 'exit-code'.
      Jun  7 15:05:10 kopano systemd[1]: kopano-grapi.service: Service RestartSec=1s expired, scheduling restart.
      

      I have tried to do :

      • chown -R kopano:kopano /usr/share/kopano-grapi/i18n
      • chmod 775 /usr/share/kopano-grapi/i18n
      • chmod 664 /usr/share/kopano-grapi/i18n/*

      But nothing is working.

      Thanks for your help

      1 Reply Last reply Reply Quote 0
      • longsleep
        longsleep Kopano last edited by

        Hi, thanks for this report. Does /usr/share/kopano-grapi/i18n exist and is a directory? It should have been automatically created on installation.

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

          @benoit_22100 said in kopano-grapi won't start since 10.2.0+4.a5080ed-0+28.2 10.3.0+14.16bdb73-0+31.1 update:

          I have tried to do :

          chown -R kopano:kopano /usr/share/kopano-grapi/i18n
          chmod 775 /usr/share/kopano-grapi/i18n
          chmod 664 /usr/share/kopano-grapi/i18n/*

          But nothing is working.

          There seems to be a wrong permissions check during grapi startup.

          Until it is fixed, a workaround should be.

          chown kapi /usr/share/kopano-grapi/i18n
          

          Grapi wrongly checks if it can write to that folder (it does not need to write, so the check is wrong). Will be fixed tomorrow. Thank you for reporting this!

          benoit_22100 1 Reply Last reply Reply Quote 0
          • benoit_22100
            benoit_22100 @longsleep last edited by

            @longsleep i have also tryed this and chmod 777 but no change…

            longsleep 1 Reply Last reply Reply Quote 0
            • longsleep
              longsleep Kopano @benoit_22100 last edited by longsleep

              @benoit_22100

              The problem has been resolved with GRAPI release 10.4.2 - so the next nightly repository should have a fixed package.

              See https://stash.kopano.io/projects/KC/repos/grapi/commits/48c9d3a6ca2c2e52050281e649e89b7dc9e5897b if you want to apply the fix yourself (since GRAPI is implemented in Python, you can just do that after installation).

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

                Thanks, it’s working !
                I will try tomorrow with the nightly package

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