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 mongodb not starting/reachable

    Support
    mongodb
    2
    3
    375
    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.
    • S
      SebGG last edited by girish

      90ab3242-69f9-4238-9155-d1236bcd43fd-grafik.png
      i have problems with mongodb, its not starting
      034c9d63-d115-40e5-80ce-50f71cb93226-grafik.png
      additional the rocket chat app is broken and its not possible to uninstall or repair the app

      Dec 30 21:48:49 connecting to: mongodb://mongodb:27017/b34fa142c6b54859?gssapiServiceName=mongodb
      Dec 30 21:48:49 2020-12-30T20:48:49.008+0000 E QUERY [js] Error: couldn't connect to server mongodb:27017, connection attempt failed: SocketException: Error connecting to mongodb:27017 (172.18.0.8:27017) :: caused by :: Connection refused :
      Dec 30 21:48:49 connect@src/mongo/shell/mongo.js:356:17
      Dec 30 21:48:49 @(connect):2:6
      Dec 30 21:48:49 exception: connect failed
      Dec 30 21:49:41 => Creating runtime directories
      Dec 30 21:49:41 => Setting up LDAP integration
      Dec 30 21:49:41 exception: connect failed
      Dec 30 21:49:41 => Existing installation detected
      Dec 30 21:49:41 MongoDB shell version v4.0.22
      Dec 30 21:49:41 connecting to: mongodb://mongodb:27017/b34fa142c6b54859?gssapiServiceName=mongodb
      Dec 30 21:49:41 2020-12-30T20:49:41.654+0000 E QUERY [js] Error: couldn't connect to server mongodb:27017, connection attempt failed: SocketException: Error connecting to mongodb:27017 (172.18.0.8:27017) :: caused by :: Connection refused :
      Dec 30 21:49:41 connect@src/mongo/shell/mongo.js:356:17
      Dec 30 21:49:41 @(connect):2:6
      Dec 30 21:49:41 exception: connect failed

      Has anyone any suggestions to solve that problem?

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

        @sebgg Have you tried restarting mongodb already? The restart button on the right next to the pencil button? Also, you can open the logs window right before you restart it and that will give the entire mongodb start up log.

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

          This was sorted out by removing existing mongodb data and restarting mongodb. Not ideal solution for installation having existing data, but it worked for this instance.

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