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. Notice for App being in use

Notice for App being in use

Scheduled Pinned Locked Moved Feature Requests
9 Posts 7 Posters 1.3k Views 7 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.
    • scookeS Offline
      scookeS Offline
      scooke
      wrote on last edited by
      #1

      Hi!
      I maintain my Cloudron and have several sites (mostly Wordpress) hosted on it for clients. They are located in all kinds of time zones.
      This morning (for me) I saw that there is the 6.0.1 upgrade available, which requires a restart I imagine. But before I do so, I wondered if any of my clients are on their sites doing something. I've tried before to send a quick message, but they don't always see it in the timeframe I'm hoping for.

      Soooo, if there a way for me to see if an app is "in use" from my Cloudron dashboard? Could there be a way for this sort of activity to be viewable, either a feature added by the Cloudron team, or a WP plugin that I could install and thus monitor the sites that way?

      Thank you.

      A life lived in fear is a life half-lived

      M 1 Reply Last reply
      2
      • scookeS scooke

        Hi!
        I maintain my Cloudron and have several sites (mostly Wordpress) hosted on it for clients. They are located in all kinds of time zones.
        This morning (for me) I saw that there is the 6.0.1 upgrade available, which requires a restart I imagine. But before I do so, I wondered if any of my clients are on their sites doing something. I've tried before to send a quick message, but they don't always see it in the timeframe I'm hoping for.

        Soooo, if there a way for me to see if an app is "in use" from my Cloudron dashboard? Could there be a way for this sort of activity to be viewable, either a feature added by the Cloudron team, or a WP plugin that I could install and thus monitor the sites that way?

        Thank you.

        M Offline
        M Offline
        msbt
        App Dev
        wrote on last edited by
        #2

        @scooke if you check the event log, you can see at least when someone logged in, like just now ldap - yourwordpress.com user logged in

        This only shows new logins, so if they didn't log out and use an older session, you won't be seeing that.

        scookeS 1 Reply Last reply
        1
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #3

          I can see that feature being useful, but I guess one would need quite some understanding of the app to distinguish public visitors, logged-in users, then see if they are active or idling (ie just a browser tab open).

          I guess what you could do is to add like matomo analytics to those sites, afterall this is what analytics are for and matomo has some realtime update feed.

          1 Reply Last reply
          5
          • M msbt

            @scooke if you check the event log, you can see at least when someone logged in, like just now ldap - yourwordpress.com user logged in

            This only shows new logins, so if they didn't log out and use an older session, you won't be seeing that.

            scookeS Offline
            scookeS Offline
            scooke
            wrote on last edited by
            #4

            @msbt Good idea!

            A life lived in fear is a life half-lived

            1 Reply Last reply
            1
            • scookeS Offline
              scookeS Offline
              scooke
              wrote on last edited by
              #5

              @nebulon Also a good idea!!

              A life lived in fear is a life half-lived

              1 Reply Last reply
              1
              • girishG Do not disturb
                girishG Do not disturb
                girish
                Staff
                wrote on last edited by
                #6

                To go a bit on a tangent, I like the idea in Heroku where an app automatically shuts down when it's not in use for a while. And automatically starts up when a request comes in (I think even sandstorm had such a feature). I don't know how easy it would be to implement this though. This way apps that are not in use automatically go into "dormant" mode.

                ? fbartelsF 2 Replies Last reply
                3
                • girishG girish

                  To go a bit on a tangent, I like the idea in Heroku where an app automatically shuts down when it's not in use for a while. And automatically starts up when a request comes in (I think even sandstorm had such a feature). I don't know how easy it would be to implement this though. This way apps that are not in use automatically go into "dormant" mode.

                  ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #7

                  @girish I like this a lot as something you can configure. Naming could be on-demand vs always-on?

                  1 Reply Last reply
                  0
                  • girishG girish

                    To go a bit on a tangent, I like the idea in Heroku where an app automatically shuts down when it's not in use for a while. And automatically starts up when a request comes in (I think even sandstorm had such a feature). I don't know how easy it would be to implement this though. This way apps that are not in use automatically go into "dormant" mode.

                    fbartelsF Offline
                    fbartelsF Offline
                    fbartels
                    App Dev
                    wrote on last edited by
                    #8

                    @girish that can be done with "socket activation", this is explained quite nicely in https://blog.developer.atlassian.com/docker-systemd-socket-activation/

                    But i guess it also depends on the app in question if it can startup fast enough to not have the user give up on the first request.

                    robiR 1 Reply Last reply
                    3
                    • fbartelsF fbartels

                      @girish that can be done with "socket activation", this is explained quite nicely in https://blog.developer.atlassian.com/docker-systemd-socket-activation/

                      But i guess it also depends on the app in question if it can startup fast enough to not have the user give up on the first request.

                      robiR Offline
                      robiR Offline
                      robi
                      wrote on last edited by
                      #9

                      @fbartels We can always have a simple runner page preload indicating the rehydration of the app and how to avoid it.

                      Gamify it a bit..

                      Conscious tech

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