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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Synapse and Peer Tube Not Responding

Synapse and Peer Tube Not Responding

Scheduled Pinned Locked Moved Solved Support
7 Posts 2 Posters 1.5k Views 1 Watching
  • 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.
  • L Offline
    L Offline
    lucidfox
    wrote on last edited by
    #1

    The Synapse and PeerTube apps have stopped working on our Cloudron. This happened after a reboot for system updates, and it's a bit of mystery why they should suddenly get misconfigured. I've tried several restarts and restoring from a backup, but it hasn't fixed the issue. Renewing Certs and DNS hasn't helped either.

    The logs for the Matrix/Synapase show these errors:

    Healtheck error: Error: connect ECONNREFUSED 172.18.19.36:8008=> Starting synapse
    Error in configuration:
    Missing mandatory server_name config option.

    The logs for PeerTube shows these errors:

    Healtheck error: Error: connect ECONNREFUSED 172.18.16.78:90002022-10-16T08:21:42.000Z ==> Starting PeerTube
    throw err;
    ^
    ENOENT: no such file or directory, mkdir '/app/code/server/storage/logs'

    Any help to troubleshoot and get these apps back running would be much appreciated.

    girishG 2 Replies Last reply
    0
    • L lucidfox

      The Synapse and PeerTube apps have stopped working on our Cloudron. This happened after a reboot for system updates, and it's a bit of mystery why they should suddenly get misconfigured. I've tried several restarts and restoring from a backup, but it hasn't fixed the issue. Renewing Certs and DNS hasn't helped either.

      The logs for the Matrix/Synapase show these errors:

      Healtheck error: Error: connect ECONNREFUSED 172.18.19.36:8008=> Starting synapse
      Error in configuration:
      Missing mandatory server_name config option.

      The logs for PeerTube shows these errors:

      Healtheck error: Error: connect ECONNREFUSED 172.18.16.78:90002022-10-16T08:21:42.000Z ==> Starting PeerTube
      throw err;
      ^
      ENOENT: no such file or directory, mkdir '/app/code/server/storage/logs'

      Any help to troubleshoot and get these apps back running would be much appreciated.

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @lucidfox said in Synapse and Peer Tube Not Responding:

      Missing mandatory server_name config option.

      Using the file explorer, can you check the contents of /app/data/configs/homeserver.yaml ? It should have a field called server_name at the very top.

      1 Reply Last reply
      0
      • L lucidfox

        The Synapse and PeerTube apps have stopped working on our Cloudron. This happened after a reboot for system updates, and it's a bit of mystery why they should suddenly get misconfigured. I've tried several restarts and restoring from a backup, but it hasn't fixed the issue. Renewing Certs and DNS hasn't helped either.

        The logs for the Matrix/Synapase show these errors:

        Healtheck error: Error: connect ECONNREFUSED 172.18.19.36:8008=> Starting synapse
        Error in configuration:
        Missing mandatory server_name config option.

        The logs for PeerTube shows these errors:

        Healtheck error: Error: connect ECONNREFUSED 172.18.16.78:90002022-10-16T08:21:42.000Z ==> Starting PeerTube
        throw err;
        ^
        ENOENT: no such file or directory, mkdir '/app/code/server/storage/logs'

        Any help to troubleshoot and get these apps back running would be much appreciated.

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        @lucidfox said in Synapse and Peer Tube Not Responding:

        ENOENT: no such file or directory, mkdir '/app/code/server/storage/logs'

        For this, if you open the File manager for Peertube, do you see /app/data/storage/logs/ directory ?

        L 1 Reply Last reply
        0
        • girishG girish

          @lucidfox said in Synapse and Peer Tube Not Responding:

          ENOENT: no such file or directory, mkdir '/app/code/server/storage/logs'

          For this, if you open the File manager for Peertube, do you see /app/data/storage/logs/ directory ?

          L Offline
          L Offline
          lucidfox
          wrote on last edited by
          #4

          @girish thanks for the response.

          the server_name field was missing from the config file for some reason. i added the field at the top of the file and restarted the app, but am still getting these errors in the matrix app log:

          Healtheck error: Error: connect ECONNREFUSED 172.18.19.36:8008

          OSError: [Errno 30] Read-only file system: '/app/code/media_store'

          the peer tube app does have a /app/data/storage/logs/ directory with log files in it. this app is still not responding as well. i can see this in the error logs:

          errno: -2,

          girishG 1 Reply Last reply
          0
          • L lucidfox

            @girish thanks for the response.

            the server_name field was missing from the config file for some reason. i added the field at the top of the file and restarted the app, but am still getting these errors in the matrix app log:

            Healtheck error: Error: connect ECONNREFUSED 172.18.19.36:8008

            OSError: [Errno 30] Read-only file system: '/app/code/media_store'

            the peer tube app does have a /app/data/storage/logs/ directory with log files in it. this app is still not responding as well. i can see this in the error logs:

            errno: -2,

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #5

            @lucidfox Not sure why the apps are in an inconsistent state. Looking at the package code, it's not possible that server_name is unset.

            Do you think you can write to support@cloudron.io and give us access? I can then debug this further.

            L 1 Reply Last reply
            0
            • girishG girish

              @lucidfox Not sure why the apps are in an inconsistent state. Looking at the package code, it's not possible that server_name is unset.

              Do you think you can write to support@cloudron.io and give us access? I can then debug this further.

              L Offline
              L Offline
              lucidfox
              wrote on last edited by
              #6

              @girish I've created support tickets and given you access. Thanks for looking into this.

              girishG 1 Reply Last reply
              0
              • L lucidfox

                @girish I've created support tickets and given you access. Thanks for looking into this.

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #7

                OK, this got sorted out on support. Basically, the configs got lost somehow. Putting back the vanilla configs from the package brings them back.

                1 Reply Last reply
                0
                • girishG girish marked this topic as a question on
                • girishG girish has marked this topic as solved on
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Bookmarks
                • Search