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. Feature Requests
  3. Email notifications of app failures/restarts

Email notifications of app failures/restarts

Scheduled Pinned Locked Moved Feature Requests
notificationsemailresources
19 Posts 8 Posters 3.4k Views 9 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.
  • girishG girish

    I think in the past we just carelessly sent out emails left and right. I think we should add back notifications but this time with a little bit more thought and customization 🙂

    potemkin_aiP Offline
    potemkin_aiP Offline
    potemkin_ai
    wrote on last edited by
    #9

    @girish it's really required, as well as an option to choose a delivery method for those notifications - e-mail / push / etc.

    benborgesB 1 Reply Last reply
    2
    • potemkin_aiP potemkin_ai

      @girish it's really required, as well as an option to choose a delivery method for those notifications - e-mail / push / etc.

      benborgesB Offline
      benborgesB Offline
      benborges
      wrote on last edited by
      #10

      Would love a ntfy.sh integration for this, much easier to "consume" and stay alert on than email in my opinion 🙂

      BenB

      potemkin_aiP 1 Reply Last reply
      3
      • benborgesB benborges

        Would love a ntfy.sh integration for this, much easier to "consume" and stay alert on than email in my opinion 🙂

        potemkin_aiP Offline
        potemkin_aiP Offline
        potemkin_ai
        wrote on last edited by
        #11

        @benborges for an urgent notifications - yes, absolutely.

        I personally prefer Telegram notifications, that are just converted mails.

        benborgesB 1 Reply Last reply
        1
        • potemkin_aiP potemkin_ai

          @benborges for an urgent notifications - yes, absolutely.

          I personally prefer Telegram notifications, that are just converted mails.

          benborgesB Offline
          benborgesB Offline
          benborges
          wrote on last edited by benborges
          #12

          @potemkin_ai It seems ntfy is now available in the app store :)))

          it would be really neat to be able to use ntfy priority management of notifications to on the cloudron side define which notifications are more important than others, so to be able to have silent notifications or very visible popup notification for more important alert, but I guess for this to work, Cloudron should have a notification API that could integrate at the cloudron level with ntfy ?

          BenB

          potemkin_aiP 1 Reply Last reply
          3
          • benborgesB benborges

            @potemkin_ai It seems ntfy is now available in the app store :)))

            it would be really neat to be able to use ntfy priority management of notifications to on the cloudron side define which notifications are more important than others, so to be able to have silent notifications or very visible popup notification for more important alert, but I guess for this to work, Cloudron should have a notification API that could integrate at the cloudron level with ntfy ?

            potemkin_aiP Offline
            potemkin_aiP Offline
            potemkin_ai
            wrote on last edited by
            #13

            @benborges I'm not an expert, but I would be completely satisfied with a generic webhooks that cloudron will trigger and I can then proceed them as required, for example, using n8n

            benborgesB 1 Reply Last reply
            5
            • potemkin_aiP potemkin_ai

              @benborges I'm not an expert, but I would be completely satisfied with a generic webhooks that cloudron will trigger and I can then proceed them as required, for example, using n8n

              benborgesB Offline
              benborgesB Offline
              benborges
              wrote on last edited by
              #14

              @potemkin_ai agreed, that would make it all super simple to setup, without having to add anything special on cloudron side, perhaps different webhooks for different alerts and then leave to N8N/ntfy node the definition of how it has to be processed.

              BenB

              1 Reply Last reply
              1
              • SansGuidonS Offline
                SansGuidonS Offline
                SansGuidon
                wrote on last edited by SansGuidon
                #15

                Hi, I was just looking for a similar feature in my Cloudron dashboard, I missed a few Reboot required notifications and app crashes notifications and if I forget to connect to Cloudron dashboard, I'll miss opportunities to catch incidents and problems on time.
                So a big UP on this request ! I believe it's an important one 🙂 , we get email notifications for monitoring new replies on NodeBB so why not for monitoring our critical systems / apps ? 🙏

                Another solution I had in mind was to use Changedetection for this purpose, but as I've configured 2FA on my Cloudron instance, this workaround has no chance 😆

                Edit: I could workaround this thanks to some automation based on Changedetection, despite my Cloudron is protected with 2FA. I've used some JS lib to calculate the TOTP Verification code and fill the login form on my instance thanks to some JS one liner cooked by ChatGPT 😆
                So thanks to Changedetection using Playwright fetch mode -> Browser steps (including JS injection) + visual filter selector, I can now monitor my important notifications.

                e8daf366-9dae-41fe-a4e8-2c3f84e08add-image.png

                If interested, the JS code injected in my Browser steps is (one liner)

                (function(){var s=document.createElement('script');s.src="https://cdnjs.cloudflare.com/ajax/libs/otpauth/9.3.1/otpauth.umd.min.js";s.onload=function(){var u=document.getElementById('inputUsername'),p=document.getElementById('inputPassword'),t=document.getElementById('inputTotpToken');u?u.value="YOUR_CLOUDRON_USERNAME":console.error('Input field with ID "inputUsername" not found.'),p?p.value="YOUR_CLOUDRON_PASSWORD":console.error('Input field with ID "inputPassword" not found.');var totp=new OTPAuth.TOTP({issuer:"ACME",label:"AzureDiamond",algorithm:"SHA1",digits:6,period:30,secret:OTPAuth.Secret.fromBase32("YOUR_CLOUDRON_AUTH_KEY")}),token=totp.generate();t?t.value=token:console.error('Input field with ID "inputTotpToken" not found.');var delta=totp.validate({token:token,window:1});delta!==null?console.log("Token is valid. Delta:",delta):console.log("Token is invalid.");var seconds=totp.period-(Math.floor(Date.now()/1000)%totp.period);console.log("Seconds until token changes:",seconds);var uri=totp.toString();console.log("Key URI:",uri)};document.head.appendChild(s);})();
                

                And the browser steps are :
                36acbbb3-7e91-4447-9c17-2fd1c899a708-image.png

                About me / Now

                S 1 Reply Last reply
                0
                • SansGuidonS SansGuidon

                  Hi, I was just looking for a similar feature in my Cloudron dashboard, I missed a few Reboot required notifications and app crashes notifications and if I forget to connect to Cloudron dashboard, I'll miss opportunities to catch incidents and problems on time.
                  So a big UP on this request ! I believe it's an important one 🙂 , we get email notifications for monitoring new replies on NodeBB so why not for monitoring our critical systems / apps ? 🙏

                  Another solution I had in mind was to use Changedetection for this purpose, but as I've configured 2FA on my Cloudron instance, this workaround has no chance 😆

                  Edit: I could workaround this thanks to some automation based on Changedetection, despite my Cloudron is protected with 2FA. I've used some JS lib to calculate the TOTP Verification code and fill the login form on my instance thanks to some JS one liner cooked by ChatGPT 😆
                  So thanks to Changedetection using Playwright fetch mode -> Browser steps (including JS injection) + visual filter selector, I can now monitor my important notifications.

                  e8daf366-9dae-41fe-a4e8-2c3f84e08add-image.png

                  If interested, the JS code injected in my Browser steps is (one liner)

                  (function(){var s=document.createElement('script');s.src="https://cdnjs.cloudflare.com/ajax/libs/otpauth/9.3.1/otpauth.umd.min.js";s.onload=function(){var u=document.getElementById('inputUsername'),p=document.getElementById('inputPassword'),t=document.getElementById('inputTotpToken');u?u.value="YOUR_CLOUDRON_USERNAME":console.error('Input field with ID "inputUsername" not found.'),p?p.value="YOUR_CLOUDRON_PASSWORD":console.error('Input field with ID "inputPassword" not found.');var totp=new OTPAuth.TOTP({issuer:"ACME",label:"AzureDiamond",algorithm:"SHA1",digits:6,period:30,secret:OTPAuth.Secret.fromBase32("YOUR_CLOUDRON_AUTH_KEY")}),token=totp.generate();t?t.value=token:console.error('Input field with ID "inputTotpToken" not found.');var delta=totp.validate({token:token,window:1});delta!==null?console.log("Token is valid. Delta:",delta):console.log("Token is invalid.");var seconds=totp.period-(Math.floor(Date.now()/1000)%totp.period);console.log("Seconds until token changes:",seconds);var uri=totp.toString();console.log("Key URI:",uri)};document.head.appendChild(s);})();
                  

                  And the browser steps are :
                  36acbbb3-7e91-4447-9c17-2fd1c899a708-image.png

                  S Offline
                  S Offline
                  shrey
                  wrote on last edited by
                  #16
                  This post is deleted!
                  1 Reply Last reply
                  0
                  • potemkin_aiP Offline
                    potemkin_aiP Offline
                    potemkin_ai
                    wrote on last edited by
                    #17

                    Another way - it's to use Cloudron's API - https://github.com/NoCloud-today/CloudronWatcher

                    1 Reply Last reply
                    2
                    • SansGuidonS Offline
                      SansGuidonS Offline
                      SansGuidon
                      wrote on last edited by SansGuidon
                      #18

                      @Potherca Thanks for the inspiration ! I forgot that Cloudron had an API. Good to know, then using the API TOKEN created through user's Cloudron profile, a simple CURL could be enough
                      curl https://YOUR_CLOUDRON_DOMAIN/api/v1/notifications -H "Authorization: Bearer YOUR_API_TOKEN" and that could be used with Changedetection or anything like n8n also 🙂

                      About me / Now

                      potemkin_aiP 1 Reply Last reply
                      2
                      • SansGuidonS SansGuidon

                        @Potherca Thanks for the inspiration ! I forgot that Cloudron had an API. Good to know, then using the API TOKEN created through user's Cloudron profile, a simple CURL could be enough
                        curl https://YOUR_CLOUDRON_DOMAIN/api/v1/notifications -H "Authorization: Bearer YOUR_API_TOKEN" and that could be used with Changedetection or anything like n8n also 🙂

                        potemkin_aiP Offline
                        potemkin_aiP Offline
                        potemkin_ai
                        wrote on last edited by
                        #19

                        @SansGuidon you are absolutely welcome 🙂

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