Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved RocketChat and Next cloud sync issue

    Rocket.Chat
    rocketchat webdav nextcloud
    4
    6
    563
    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.
    • H
      hadidon last edited by girish

      Hi,
      we are trying to synchronize our rocketchat app with our nextcloud app, following this doc
      https://rocket.chat/docs/administrator-guides/integrations/nextcloud-and-webdav/
      but it doesn't work (message is "internal servor error")
      May it be because of the cloudron configuration ?

      Thanks for your help,

      Adrien

      1 Reply Last reply Reply Quote 1
      • nebulon
        nebulon Staff last edited by

        Didn't know of that feature really, but I can reproduce this as well. For reference the error logs on rocketchat are:

        Jan 11 14:27:52 Exception while invoking method 'addWebdavAccount' TypeError: Webdav is not a constructor
        Jan 11 14:27:52 at Promise.asyncApply (packages/rocketchat:webdav/server/methods/addWebdavAccount.js:25:18)
        Jan 11 14:27:52 at /app/code/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40
        Jan 11 14:28:35 Exception while invoking method 'addWebdavAccount' TypeError: Webdav is not a constructor
        Jan 11 14:28:35 at Promise.asyncApply (packages/rocketchat:webdav/server/methods/addWebdavAccount.js:25:18)
        Jan 11 14:28:35 at /app/code/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40
        

        Haven't investigated further yet.

        1 Reply Last reply Reply Quote 0
        • nebulon
          nebulon Staff last edited by

          This is fixed by now in newer Rocket.Chat versions.

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

            I'm not getting the same error, but uploading files from my connected Nextcloud via WebDad to my Rocket.Chat is currently not working.

            I get this in the logs:

            May 23 10:31:30 === UnHandledPromiseRejection ===
            May 23 10:31:30 TypeError: Cannot read property 'logger' of null
            May 23 10:31:30 at error (server/lib/logger/Logger.ts:116:8)
            May 23 10:31:30 at /app/code/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40
            May 23 10:31:30 ---------------------------------
            May 23 10:31:30 Errors like this can cause oplog processing errors.
            May 23 10:31:30 Setting EXIT_UNHANDLEDPROMISEREJECTION will cause the process to exit allowing your service to automatically restart the process
            May 23 10:31:30 Future node.js versions will automatically exit the process
            May 23 10:31:30 =================================
            

            And within Rocket.Chat itself there are these all stuck at 0%

            Screenshot from 2022-05-23 10-35-55.png

            I use Cloudron with Gandi & Hetzner

            girish 1 Reply Last reply Reply Quote 0
            • girish
              girish Staff @jdaviescoates last edited by

              @jdaviescoates said in RocketChat and Next cloud sync issue:

              TypeError: Cannot read property 'logger' of null
              May 23 10:31:30 at error (server/lib/logger/Logger.ts:116:8)

              Same as https://github.com/RocketChat/Rocket.Chat/issues/24128

              jdaviescoates 1 Reply Last reply Reply Quote 1
              • jdaviescoates
                jdaviescoates @girish last edited by

                @girish damn, thanks.

                I'll add something there too.

                I use Cloudron with Gandi & Hetzner

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Powered by NodeBB