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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. OpenHAB
  3. OpenHAB not starting after installation

OpenHAB not starting after installation

Scheduled Pinned Locked Moved Solved OpenHAB
5 Posts 2 Posters 1.8k Views 2 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.
  • R Offline
    R Offline
    Robin
    wrote on last edited by
    #1

    I've installed it, but in the dashboard, it stays in state "Starting..." and the web UI never comes up. Running Cloudron v7.3.4 on 20.04.1 LTS.

    Logs says this (in a loop), unfortunately, without more details:

    Dec 12 22:20:28 ==> Ensure directories
    Dec 12 22:20:28 ==> Changing ownership
    Dec 12 22:20:28 ==> Starting OpenHAB
    Dec 12 22:20:34 ==> Ensure directories
    Dec 12 22:20:34 ==> Changing ownership
    Dec 12 22:20:35 ==> Starting OpenHAB
    Dec 12 22:20:42 ==> Ensure directories
    Dec 12 22:20:42 ==> Changing ownership
    Dec 12 22:20:42 ==> Starting OpenHAB
    Dec 12 22:20:51 ==> Ensure directories
    Dec 12 22:20:51 ==> Changing ownership
    Dec 12 22:20:51 ==> Starting OpenHAB
    
    1 Reply Last reply
    0
    • nebulonN Away
      nebulonN Away
      nebulon
      Staff
      wrote on last edited by
      #2

      can you maybe put the app in recovery mode and open a webterminal into the app.
      The command which seems to fail from the /app/pkg/start.sh would be gosu cloudron:cloudron /app/code/runtime/bin/karaf daemon maybe run this manually, with debug options (although I don't know from the top of my head what flags this command has for this)

      1 Reply Last reply
      0
      • nebulonN nebulon marked this topic as a question on
      • R Offline
        R Offline
        Robin
        wrote on last edited by
        #3

        @nebulon said in OpenHAB not starting after installation:

        gosu cloudron:cloudron /app/code/runtime/bin/karaf daemon

        Weird.. When I ran /app/pkg/start.sh in recovery mode, I got this:

        ==> Ensure directories
        ==> Changing ownership
        ==> Starting OpenHAB
        Killed

        When I started the last command by hand, it actually seemed to run okay (at least, no output, and it didn't get killed...

        I had a hunch that maybe it was getting OOM killed, and sure enough, I raised the memory allocation to 512m, and it now seems to start successfully, so maybe the default allocation (256m I think it was?) is just a little too low to start, sometimes?

        nebulonN 1 Reply Last reply
        1
        • R Robin

          @nebulon said in OpenHAB not starting after installation:

          gosu cloudron:cloudron /app/code/runtime/bin/karaf daemon

          Weird.. When I ran /app/pkg/start.sh in recovery mode, I got this:

          ==> Ensure directories
          ==> Changing ownership
          ==> Starting OpenHAB
          Killed

          When I started the last command by hand, it actually seemed to run okay (at least, no output, and it didn't get killed...

          I had a hunch that maybe it was getting OOM killed, and sure enough, I raised the memory allocation to 512m, and it now seems to start successfully, so maybe the default allocation (256m I think it was?) is just a little too low to start, sometimes?

          nebulonN Away
          nebulonN Away
          nebulon
          Staff
          wrote on last edited by
          #4

          @Robin alright, I will increase the default memory limit then for the next release.

          nebulonN 1 Reply Last reply
          1
          • nebulonN nebulon

            @Robin alright, I will increase the default memory limit then for the next release.

            nebulonN Away
            nebulonN Away
            nebulon
            Staff
            wrote on last edited by
            #5

            I see I already upped the memory limit some time ago, just pending a new package release.

            1 Reply Last reply
            1
            • nebulonN nebulon has marked this topic as solved on

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            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