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 OpenHAB not starting after installation

    OpenHAB
    2
    5
    63
    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.
    • R
      Robin last edited by

      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 Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        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 Reply Quote 0
        • Topic has been marked as a question  nebulon nebulon 
        • R
          Robin last edited by

          @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?

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

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

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

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

              1 Reply Last reply Reply Quote 1
              • Topic has been marked as solved  nebulon nebulon 
              • First post
                Last post
              Powered by NodeBB