• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    working-1.6 - Login issues with big database

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    2
    9
    491
    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.
    • EduardoTSeoaneE
      EduardoTSeoane
      last edited by EduardoTSeoane

      @Tom-Elliott @Sebastian-Roth
      First problem with my data base.
      Login two slow, I need to increase ProxyTimeout and Timeout get a successfull login

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @EduardoTSeoane @Tom-Elliott I reckon we should come to a decision with this first. On several occasions we have seen that FOG is not great at handling such huge setups yet. I’d hope we can dig into this and find a good solution. Though I don’t fancy we do this for 1.5.x and 1.6! I opt for focusing on working-1.6 now. But that means we won’t backport anything to 1.5.x! Shall we?

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by

          @EduardoTSeoane Ok, as I have a bit of time right now I started looking at this.

          As a quick was to solve this you can edit /var/www/html/fog/lib/router/route.class.php, jump to line 819 and comment the third columns block as you see below:

          ...
                  case 'storagenode':
                      $columns[] = ['db' => 'ngID', 'dt' => 'storagegroupID'];
                      $columns[] = ['db' => 'ngName', 'dt' => 'storagegroupName'];
                      /*$columns[] = [
                          'db' => 'ngmID',
                          'dt' => 'online',
                          'formatter' => function ($d, $row) {
                              return self::getClass('StorageNode', $d)->get('online');
                          }
                      ];*/
                      $columns[] = [
          ...
          

          This will make login work way faster I am sure!

          I will have to double check if this change might cause trouble in some other places before I push out this as official commit.

          Please give it a try and let us know what you think.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by

            @EduardoTSeoane Be aware, I already found issues with this quick fix. It will make the web UI a lot faster in a couple of places it also has drawbacks that I need to find and fix…

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by

              @EduardoTSeoane Ok, found and hopefully fixed all the issues now. I just pushed out a new commit to working-1.6 - please update to the latest and let us know what you think.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by

                @EduardoTSeoane Found more issues. Will work in this tomorrow and commit more fixes.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                EduardoTSeoaneE 1 Reply Last reply Reply Quote 0
                • EduardoTSeoaneE
                  EduardoTSeoane @Sebastian Roth
                  last edited by

                  @Sebastian-Roth ok im out ungió Next week. I test It Next week

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by

                    @EduardoTSeoane Did you get to try this out?

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by

                      @EduardoTSeoane Is this still an issue?

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post

                      215

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project