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

mongodb not starting/reachable

Scheduled Pinned Locked Moved Solved Support
mongodb
6 Posts 3 Posters 1.3k Views 3 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.
    • S Offline
      S Offline
      SebGG
      wrote on last edited by girish
      #1

      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?

      girishG 1 Reply Last reply
      0
      • S SebGG

        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?

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

        @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
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #3

          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.

          rmdesR 1 Reply Last reply
          0
          • L logo referenced this topic on
          • girishG girish

            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.

            rmdesR Offline
            rmdesR Offline
            rmdes
            wrote on last edited by
            #4

            @girish I'm having similar issue with this service, hard time to go green, even when it does go green after a manual restart, if I refresh the service view, it's back to orange.

            How do I clean the mongodb data ?

            1 Reply Last reply
            0
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #5

              @rmdes maybe you can try https://forum.cloudron.io/topic/9655/mongo-db-not-starting/6

              rmdesR 1 Reply Last reply
              0
              • girishG girish

                @rmdes maybe you can try https://forum.cloudron.io/topic/9655/mongo-db-not-starting/6

                rmdesR Offline
                rmdesR Offline
                rmdes
                wrote on last edited by
                #6

                @girish Thanks, will try this !

                1 Reply Last reply
                0
                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