​Maintenance Mode

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • panuweb
    Member
    • Jun 2015
    • 65

    ​Maintenance Mode

    Possibility of activating a "Maintenance Mode" from the administration, with which users can not to log (except the administrator), who are currently logged give them time to log out, etc., and that the cron does not run.

    All this with the purpose of backing up the database, system updates, etc.

    Greetings
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    There is no such a feature.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • panuweb
      Member
      • Jun 2015
      • 65

      #3
      Originally posted by yurikuzn
      There is no such a feature.

      "There is no" or "There will no"?

      It is a suggestion that can be implemented in the future.

      Comment

      • yuri
        Member
        • Mar 2014
        • 8440

        #4
        Maybe. I have to think how it should be implemented.
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        • panuweb
          Member
          • Jun 2015
          • 65

          #5
          All right, it's just something that occurred to me.

          Cheers

          Comment

          • brianpunzalan
            Active Community Member
            • Aug 2017
            • 62

            #6
            Seconded on this feature request. This is good since espo is very flexible as a back-end and I guess this is needed. The same as with Drupal having maintenance mode feature.

            Comment

            • emillod
              Active Community Member
              • Apr 2017
              • 1405

              #7
              Another one here
              Great function to block all user e.g. during upgrade

              Comment

              • peterberlin
                Active Community Member
                • Mar 2015
                • 1004

                #8
                A maintenance mode is good. But we've been working with ESPO for almost 3 years now and have always put the update in the user-free time, as well as the work on network servers.
                Even better, I find a broadcast message that the administrator can send to all logged in users, which is on the current ESPO window as a popup and has to be acknowledged.

                Comment

                • emillod
                  Active Community Member
                  • Apr 2017
                  • 1405

                  #9
                  Originally posted by peterberlin
                  A maintenance mode is good. But we've been working with ESPO for almost 3 years now and have always put the update in the user-free time, as well as the work on network servers.
                  Even better, I find a broadcast message that the administrator can send to all logged in users, which is on the current ESPO window as a popup and has to be acknowledged.
                  Wooo!
                  Can you describe how to show all users message?

                  Comment

                  • peterberlin
                    Active Community Member
                    • Mar 2015
                    • 1004

                    #10
                    We have been acquiring two portals for a few months now, and we have realised that a maintenance mode would be very good. This mode should lock the login masks (normal and portals) and display a corresponding message.

                    Comment

                    • yuri
                      Member
                      • Mar 2014
                      • 8440

                      #11
                      Boolean parameter 'maintenanceMode' can be specified in data/config.php. Prohibits an access for all non-admin users when set to true.
                      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

                      Comment


                      • tothewine
                        tothewine commented
                        Editing a comment
                        What happens to currently logged-in users?
                    • peterberlin
                      Active Community Member
                      • Mar 2015
                      • 1004

                      #12
                      Hi Yuri,
                      Thank you so much for the info.
                      Do I have to insert the control code into config.php ?
                      Aat which place?
                      Our config.php (version 5.4.5) is not included.
                      Better would be a button or switch in the administration area.
                      Very important is that the users and the portal users are informed that the maintenance mode is active. My suggestion would be a message "maintainance mode is activ" is displayed via the fields in the login mask.

                      peter

                      Comment

                      • tanya
                        Senior Member
                        • Jun 2014
                        • 4308

                        #13
                        Hi Peter,
                        place doesn't matter.
                        For example,
                        'maintenanceMode' => true,
                        after [
                        like

                        <?php
                        return [
                        'maintenanceMode' => true,
                        'cacheTimestamp'......

                        Comment

                        Working...