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

    Notice for App being in use

    Feature Requests
    7
    9
    261
    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.
    • scooke
      scooke last edited by

      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 Reply Quote 2
      • M
        msbt App Dev @scooke last edited by

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

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

          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 Reply Quote 5
          • scooke
            scooke @msbt last edited by

            @msbt Good idea!

            A life lived in fear is a life half-lived

            1 Reply Last reply Reply Quote 1
            • scooke
              scooke last edited by

              @nebulon Also a good idea!!

              A life lived in fear is a life half-lived

              1 Reply Last reply Reply Quote 1
              • girish
                girish Staff last edited by

                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.

                ? fbartels 2 Replies Last reply Reply Quote 3
                • ?
                  A Former User @girish last edited by

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

                  1 Reply Last reply Reply Quote 0
                  • fbartels
                    fbartels App Dev @girish last edited by

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

                    robi 1 Reply Last reply Reply Quote 3
                    • robi
                      robi @fbartels last edited by

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

                      Life of Advanced Technology

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Powered by NodeBB