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. Stopped Apps generate Cert errors

Stopped Apps generate Cert errors

Scheduled Pinned Locked Moved Solved Support
nginxcertificate
9 Posts 3 Posters 66 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.
  • robiR Offline
    robiR Offline
    robi
    wrote last edited by
    #1

    There is a pattern where an upgrade or restart of an app fails to bring it up with this error in the UI:
    Nginx Error: Error reloading nginx: reverseproxy exited with code 1 signal null

    The logs show nginx failing to reload due to missing certs for some other app. That app on my system is stopped. So it seems stopped apps eventually lose their cert and cause this error.

    Cert refresh problem or config cleanup problem?

    From recent issue1, issue2, and more found on the forum, this is a pattern that should be prevented from happening.

    I can use the manual temporary solutions there, or even come up with my own band-aid, but that doesn't solve the deeper issue. So I won't run those.

    This is a request for the deeper maintenance fix to prevent this from occurring again.

    Conscious tech

    jamesJ 1 Reply Last reply
    0
    • nebulonN nebulon

      Ah indeed, I overlooked that. So current Cloudron versions already have that fixed. The stop action now purges those nginx configs, however if you have a stopped app which got stopped in previous Cloudron versions (ie pre 7.1.0) then those may still be around.

      robiR Offline
      robiR Offline
      robi
      wrote last edited by
      #9

      @nebulon great, glad it's already fixed!

      Then a start/stop of the app will resolve it.

      Conscious tech

      1 Reply Last reply
      0
      • robiR robi

        There is a pattern where an upgrade or restart of an app fails to bring it up with this error in the UI:
        Nginx Error: Error reloading nginx: reverseproxy exited with code 1 signal null

        The logs show nginx failing to reload due to missing certs for some other app. That app on my system is stopped. So it seems stopped apps eventually lose their cert and cause this error.

        Cert refresh problem or config cleanup problem?

        From recent issue1, issue2, and more found on the forum, this is a pattern that should be prevented from happening.

        I can use the manual temporary solutions there, or even come up with my own band-aid, but that doesn't solve the deeper issue. So I won't run those.

        This is a request for the deeper maintenance fix to prevent this from occurring again.

        jamesJ Offline
        jamesJ Offline
        james
        Staff
        wrote last edited by
        #2

        Hello @robi

        Could you please provide the Cloudron version you are using where this issue arises?

        If you run

        cloudron-support --troubleshoot
        

        This should fix it.
        But indeed it should not happen in the first place.

        robiR 1 Reply Last reply
        0
        • jamesJ james

          Hello @robi

          Could you please provide the Cloudron version you are using where this issue arises?

          If you run

          cloudron-support --troubleshoot
          

          This should fix it.
          But indeed it should not happen in the first place.

          robiR Offline
          robiR Offline
          robi
          wrote last edited by
          #3

          @james It's the latest v8.3.2

          The app was stopped in Feb of 2024.

          Conscious tech

          jamesJ 1 Reply Last reply
          0
          • robiR robi

            @james It's the latest v8.3.2

            The app was stopped in Feb of 2024.

            jamesJ Offline
            jamesJ Offline
            james
            Staff
            wrote last edited by
            #4

            Hello @robi

            Thanks.
            Did you try to run cloudron-support --troubleshoot and did it solve the issue?

            robiR 1 Reply Last reply
            0
            • jamesJ james

              Hello @robi

              Thanks.
              Did you try to run cloudron-support --troubleshoot and did it solve the issue?

              robiR Offline
              robiR Offline
              robi
              wrote last edited by
              #5

              @james No, still considering what to do, ie.: run/stop the app, remove it, resync DNS, etc..

              Would be nice if the troubleshooting command was able to run from the support menu.

              Conscious tech

              1 Reply Last reply
              0
              • nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote last edited by
                #6

                hm strange, the --troubleshoot should purge all .conf files for nginx where certs don't exist. Can you send the output of the tool to support@cloudron.io and maybe enable remote ssh access for us?

                robiR 1 Reply Last reply
                0
                • nebulonN nebulon

                  hm strange, the --troubleshoot should purge all .conf files for nginx where certs don't exist. Can you send the output of the tool to support@cloudron.io and maybe enable remote ssh access for us?

                  robiR Offline
                  robiR Offline
                  robi
                  wrote last edited by robi
                  #7

                  @nebulon I'm sure it does. Perhaps review the OP.

                  If you'd like to inspect the system, I'm happy to email support@ towards the fix of the root cause, instead of a quick temp fix.

                  Ideally preventing certs from going missing, or catch the exception of missing certs and clean up automagically.

                  Conscious tech

                  1 Reply Last reply
                  0
                  • nebulonN Offline
                    nebulonN Offline
                    nebulon
                    Staff
                    wrote last edited by
                    #8

                    Ah indeed, I overlooked that. So current Cloudron versions already have that fixed. The stop action now purges those nginx configs, however if you have a stopped app which got stopped in previous Cloudron versions (ie pre 7.1.0) then those may still be around.

                    robiR 1 Reply Last reply
                    1
                    • nebulonN nebulon

                      Ah indeed, I overlooked that. So current Cloudron versions already have that fixed. The stop action now purges those nginx configs, however if you have a stopped app which got stopped in previous Cloudron versions (ie pre 7.1.0) then those may still be around.

                      robiR Offline
                      robiR Offline
                      robi
                      wrote last edited by
                      #9

                      @nebulon great, glad it's already fixed!

                      Then a start/stop of the app will resolve it.

                      Conscious tech

                      1 Reply Last reply
                      0
                      • robiR robi has marked this topic as solved
                      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