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

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Community Packages
  3. AppsMonitor - monitoring for your Cloudron

AppsMonitor - monitoring for your Cloudron

Scheduled Pinned Locked Moved Community Packages
25 Posts 6 Posters 282 Views 5 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.
  • necrevistonnezrN
    necrevistonnezrN
    necrevistonnezr
    wrote last edited by
    #12

    No, I de-installed as soon as the system was up and running again, I had my share of experiments for the day ๐Ÿ™‚

    timconsidineT 1 Reply Last reply
    0
    • necrevistonnezrN necrevistonnezr

      No, I de-installed as soon as the system was up and running again, I had my share of experiments for the day ๐Ÿ™‚

      timconsidineT
      timconsidineT
      timconsidine
      App Dev
      wrote last edited by
      #13

      @necrevistonnezr understand, sounds fraught

      just done a 3rd test install
      both cloudron box services and app seem ok

      Indie app dev, huge fan of Cloudron PaaS, scratching my itches : communityapps.appx.uk

      1 Reply Last reply
      0
      • necrevistonnezrN necrevistonnezr

        Thanks!

        Just out of curiosity (and little technical knowledge): Shouldn't a system that isolates apps via docker not be taken down completely by a malformed configuration file of one app?

        timconsidineT
        timconsidineT
        timconsidine
        App Dev
        wrote last edited by
        #14

        Just out of curiosity (and little technical knowledge): Shouldn't a system that isolates apps via docker not be taken down completely by a malformed configuration file of one app?

        someone will correct me if I am seeing this wrongly.
        it wasn't malformed configuration of an app
        it was a box service that failed

        Ideally and mostly running containers are isolated.
        But every cloudron app depends on box services, from nginx to maybe addons like proxyAuth. If the box service trips up, the app can't function as it should.

        Indie app dev, huge fan of Cloudron PaaS, scratching my itches : communityapps.appx.uk

        necrevistonnezrN 1 Reply Last reply
        0
        • robiR robi

          This should be part of Cloudron default features.

          P
          P
          p44
          translator
          wrote last edited by
          #15

          @robi Totally agree...

          1 Reply Last reply
          0
          • timconsidineT timconsidine

            Just out of curiosity (and little technical knowledge): Shouldn't a system that isolates apps via docker not be taken down completely by a malformed configuration file of one app?

            someone will correct me if I am seeing this wrongly.
            it wasn't malformed configuration of an app
            it was a box service that failed

            Ideally and mostly running containers are isolated.
            But every cloudron app depends on box services, from nginx to maybe addons like proxyAuth. If the box service trips up, the app can't function as it should.

            necrevistonnezrN
            necrevistonnezrN
            necrevistonnezr
            wrote last edited by
            #16

            @timconsidine Yes, this was more directed at the Cloudron Team...

            1 Reply Last reply
            0
            • necrevistonnezrN necrevistonnezr

              Thanks!

              Just out of curiosity (and little technical knowledge): Shouldn't a system that isolates apps via docker not be taken down completely by a malformed configuration file of one app?

              girishG
              girishG
              girish
              Staff
              wrote last edited by
              #17

              @necrevistonnezr said:

              Just out of curiosity (and little technical knowledge): Shouldn't a system that isolates apps via docker not be taken down completely by a malformed configuration file of one app?

              Yeah, absolutely. This is a good conversation to have ๐Ÿ™‚

              Cloudron was written primarily for pre-packaged apps written by us and not as a sandboxing environment to run arbitrary applications. When packages were written by us, we could "trust" the input in the manifest file, description, post install etc. When we made custom apps possible, the worst case was that a user sabotages himself with a poorly written manifest. But now with community apps, there is a new vector that malicious apps can do unknown things. For example, what if the description has some clickjacking or scam link? So, you can hit problems even without installing or running an app (so we don't hit run time isolation). This is also why we don't want to integrate community listing straight into the main dashboard, this would give too many good feelings of trust.

              We are fixing issues (like this) as and when they come, but one should only run 3rd party packages they trust. Cloudron company's primary focus is still to runs the apps from the main app store and not to make a general trusted environment to run random stuff (FWIW, I don't think such a product exists out there).

              1 Reply Last reply
              3
              • timconsidineT
                timconsidineT
                timconsidine
                App Dev
                wrote last edited by timconsidine
                #18

                Sounds like โ€œCommunityAppCheckerโ€ "AppInspector" utility is needed. Put a CloudronVersions link in input box, utility checks whatever is needed/possible, generate alerts for sus content.
                Conceptually best to come from Cloudron team but that drags Cloudron towards approving apps, which is probably a v.bad direction. Maybe I will give some thought to it.

                I really understand and support the official stance - it is simply not viable otherwise.

                Some other simple defences :

                • have registered app packager scheme : no fees, basic metadata, probably already publicly known, enough to know legit packager and no more
                • ca.cloudron.io only takes submissions from registered packagers (currently must have a Cloudron account)
                • Cloudron will hate (understandably) any form of stars or likes on ca.cloudron.io, but maybe a simple more neutral voluntary โ€œI installed thisโ€ counter

                Indie app dev, huge fan of Cloudron PaaS, scratching my itches : communityapps.appx.uk

                1 Reply Last reply
                2
                • timconsidineT
                  timconsidineT
                  timconsidine
                  App Dev
                  wrote last edited by timconsidine
                  #19

                  Could not resist it - AppInspector available :
                  https://forum.cloudron.io/post/129539

                  Needs more and deeper tests, and nothing will ever be a guarantee.
                  But it's a start.

                  Indie app dev, huge fan of Cloudron PaaS, scratching my itches : communityapps.appx.uk

                  1 Reply Last reply
                  2
                  • timconsidineT timconsidine

                    @necrevistonnezr thanks for reporting.

                    If I am understand this correctly, it wasn't me or the app ๐Ÿ˜„

                    Is it working for you now ?
                    Not seeing any issues on a fresh install

                    nichu42N
                    nichu42N
                    nichu42
                    wrote last edited by
                    #20

                    @timconsidine Fresh install fails with
                    An error occurred during the install operation: Nginx Error: Error reloading nginx: /usr/bin/sudo exited with code 1 signal null

                    Matrix: @nichu42:beeper.com

                    timconsidineT 1 Reply Last reply
                    0
                    • nichu42N nichu42

                      @timconsidine Fresh install fails with
                      An error occurred during the install operation: Nginx Error: Error reloading nginx: /usr/bin/sudo exited with code 1 signal null

                      timconsidineT
                      timconsidineT
                      timconsidine
                      App Dev
                      wrote last edited by timconsidine
                      #21

                      @nichu42 just checking : is that AppsMonitor ? or AppInspector ?
                      (sequence of messages leaves me unclear)

                      EDIT : I did a fresh install of AppsMonitor and did not meet any errors.
                      Is that message from the app's Logs panel ? or where did it show up ?

                      Indie app dev, huge fan of Cloudron PaaS, scratching my itches : communityapps.appx.uk

                      nichu42N 1 Reply Last reply
                      0
                      • timconsidineT timconsidine

                        @nichu42 just checking : is that AppsMonitor ? or AppInspector ?
                        (sequence of messages leaves me unclear)

                        EDIT : I did a fresh install of AppsMonitor and did not meet any errors.
                        Is that message from the app's Logs panel ? or where did it show up ?

                        nichu42N
                        nichu42N
                        nichu42
                        wrote last edited by
                        #22

                        @timconsidine It is AppsMonitor and it appears during the installation after it failed.

                        Matrix: @nichu42:beeper.com

                        timconsidineT 1 Reply Last reply
                        0
                        • nichu42N nichu42

                          @timconsidine It is AppsMonitor and it appears during the installation after it failed.

                          timconsidineT
                          timconsidineT
                          timconsidine
                          App Dev
                          wrote last edited by
                          #23

                          @nichu42 strange : not showing in my live or test instances.
                          I've done 5 test installs of AppsMonitor today

                          So probably need to start some basic 'differences' test :
                          I'm running cloudron 9.2
                          Are you the same or are you upgraded to 10 ?

                          Any logs showing what was happening before the crash ?

                          Indie app dev, huge fan of Cloudron PaaS, scratching my itches : communityapps.appx.uk

                          nichu42N 1 Reply Last reply
                          1
                          • timconsidineT timconsidine

                            @nichu42 strange : not showing in my live or test instances.
                            I've done 5 test installs of AppsMonitor today

                            So probably need to start some basic 'differences' test :
                            I'm running cloudron 9.2
                            Are you the same or are you upgraded to 10 ?

                            Any logs showing what was happening before the crash ?

                            nichu42N
                            nichu42N
                            nichu42
                            wrote last edited by
                            #24

                            @timconsidine I am on 10.0.5
                            I didn't spot anything useful in the log. But I am on vacation and only have my mini screen Fairphone with me do I might have missed something.

                            Matrix: @nichu42:beeper.com

                            timconsidineT 1 Reply Last reply
                            0
                            • nichu42N nichu42

                              @timconsidine I am on 10.0.5
                              I didn't spot anything useful in the log. But I am on vacation and only have my mini screen Fairphone with me do I might have missed something.

                              timconsidineT
                              timconsidineT
                              timconsidine
                              App Dev
                              wrote last edited by
                              #25

                              @nichu42 no problem, enjoy the holiday, let me know if you get further information afterwards

                              Indie app dev, huge fan of Cloudron PaaS, scratching my itches : communityapps.appx.uk

                              1 Reply Last reply
                              0

                              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