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

    Unable to log on web ui

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    18
    2.8k
    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.
    • S
      Sebastian Roth Moderator
      last edited by

      @dmores Please run the following command and post output here: dpkg -l | grep php

      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

      D 1 Reply Last reply Reply Quote 0
      • D
        dmores @Sebastian Roth
        last edited by

        @Sebastian-Roth

        root@Fog:/var/log# dpkg -l | grep php
        ii  libapache2-mod-php7.0          7.0.33-0+deb9u7                     amd64        server-side, HTML-embedded scripting language (Apache 2 module)
        ii  libapache2-mod-php7.3          7.3.14-1~deb10u1                    amd64        server-side, HTML-embedded scripting language (Apache 2 module)
        ii  php-common                     2:69                                all          Common files for PHP packages
        ii  php-gettext                    1.0.12-0.1                          all          transitional dummy package for php-php-gettext
        ii  php-mbstring                   2:7.3+69                            all          MBSTRING module for PHP [default]
        ii  php-pear                       1:1.10.6+submodules+notgz-1.1       all          PEAR Base System
        ii  php-php-gettext                1.0.12-0.1                          all          read gettext MO files directly, without requiring anything other than PHP
        ii  php-xml                        2:7.3+69                            all          DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default]
        ii  php7.0                         7.0.33-0+deb9u7                     all          server-side, HTML-embedded scripting language (metapackage)
        ii  php7.0-bcmath                  7.0.33-0+deb9u7                     amd64        Bcmath module for PHP
        ii  php7.0-cli                     7.0.33-0+deb9u7                     amd64        command-line interpreter for the PHP scripting language
        ii  php7.0-common                  7.0.33-0+deb9u7                     amd64        documentation, examples and common module for PHP
        rc  php7.0-curl                    7.0.33-0+deb9u7                     amd64        CURL module for PHP
        ii  php7.0-fpm                     7.0.33-0+deb9u7                     amd64        server-side, HTML-embedded scripting language (FPM-CGI binary)
        ii  php7.0-gd                      7.0.33-0+deb9u7                     amd64        GD module for PHP
        ii  php7.0-json                    7.0.33-0+deb9u7                     amd64        JSON module for PHP
        ii  php7.0-mbstring                7.0.33-0+deb9u7                     amd64        MBSTRING module for PHP
        ii  php7.0-mysql                   7.0.33-0+deb9u7                     amd64        MySQL module for PHP
        ii  php7.0-opcache                 7.0.33-0+deb9u7                     amd64        Zend OpCache module for PHP
        ii  php7.0-readline                7.0.33-0+deb9u7                     amd64        readline module for PHP
        ii  php7.0-xml                     7.0.33-0+deb9u7                     amd64        DOM, SimpleXML, WDDX, XML, and XSL module for PHP
        ii  php7.3                         7.3.14-1~deb10u1                    all          server-side, HTML-embedded scripting language (metapackage)
        ii  php7.3-bcmath                  7.3.14-1~deb10u1                    amd64        Bcmath module for PHP
        ii  php7.3-cli                     7.3.14-1~deb10u1                    amd64        command-line interpreter for the PHP scripting language
        ii  php7.3-common                  7.3.14-1~deb10u1                    amd64        documentation, examples and common module for PHP
        ii  php7.3-curl                    7.3.14-1~deb10u1                    amd64        CURL module for PHP
        ii  php7.3-fpm                     7.3.14-1~deb10u1                    amd64        server-side, HTML-embedded scripting language FPM-CGI binary)
        ii  php7.3-gd                      7.3.14-1~deb10u1                    amd64        GD module for PHP
        ii  php7.3-json                    7.3.14-1~deb10u1                    amd64        JSON module for PHP
        ii  php7.3-ldap                    7.3.14-1~deb10u1                    amd64        LDAP module for PHP
        ii  php7.3-mbstring                7.3.14-1~deb10u1                    amd64        MBSTRING module for PHP
        ii  php7.3-mysql                   7.3.14-1~deb10u1                    amd64        MySQL module for PHP
        ii  php7.3-opcache                 7.3.14-1~deb10u1                    amd64        Zend OpCache module for PHP
        ii  php7.3-readline                7.3.14-1~deb10u1                    amd64        readline module for PHP
        ii  php7.3-xml                     7.3.14-1~deb10u1                    amd64        DOM, SimpleXML, WDDX, XML, and XSL module for PHP```
        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by

          @dmores said in Unable to log on web ui:

          I also upgraded to Debian 10

          Ok seems like this has messed up things on your system.

          First you need to edit /opt/fog/.fogsettings and make sure you have 7.3 (not 7.0) in those two lines:

          php_ver='7.3'
          php_verAdds='-7.3'
          

          Then shut down old php-fpm and remove PHP 7.0 packages:

          systemctl stop php7.0-fpm
          apt-get purge libapache2-mod-php7.0 php7.0 php7.0-bcmath php7.0-cli php7.0-common php7.0-curl php7.0-fpm php7.0-gd php7.0-json php7.0-mbstring php7.0-mysql php7.0-opcache php7.0-readline php7.0-xml
          

          Now finally re-run the FOG installer to set things up accordingly.

          I am working on this to have the FOG installer take care of this for you in the future.

          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

          D 1 Reply Last reply Reply Quote 0
          • D
            dmores @Sebastian Roth
            last edited by

            @Sebastian-Roth

            I’ve done both things, problem is still here, but i forgot to mention something that maybe is important.

            When i try to log on /fog/management it don’t really refresh the page it take me to fog/management/index.php?node=home first and then it’s always this url who came back

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

              @dmores Did you also re-run the installer as mentioned below??

              Do you still get the same messages about “Uncaught Error: Call to undefined function curl_multi_init()” in apache logs?

              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

              D 1 Reply Last reply Reply Quote 0
              • D
                dmores @Sebastian Roth
                last edited by

                @Sebastian-Roth

                Yes re-run the installer, but it was really fast this time, he asked me almost nothing (DHCP,DNS…)

                Last entry in apache logs

                [Fri Mar 06 00:00:03.791081 2020] [mpm_prefork:notice] [pid 17723] AH00163: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations
                [Fri Mar 06 00:00:03.791120 2020] [core:notice] [pid 17723] AH00094: Command line: '/usr/sbin/apache2'
                [Fri Mar 06 12:37:44.512576 2020] [mpm_prefork:notice] [pid 17723] AH00169: caught SIGTERM, shutting down
                [Fri Mar 06 12:37:44.587001 2020] [mpm_prefork:notice] [pid 24507] AH00163: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations
                [Fri Mar 06 12:37:44.587115 2020] [core:notice] [pid 24507] AH00094: Command line: '/usr/sbin/apache2'
                [Fri Mar 06 12:39:42.147990 2020] [mpm_prefork:notice] [pid 24507] AH00169: caught SIGTERM, shutting down
                [Fri Mar 06 12:39:54.726276 2020] [mpm_prefork:notice] [pid 3064] AH00163: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations
                [Fri Mar 06 12:39:54.726388 2020] [core:notice] [pid 3064] AH00094: Command line: '/usr/sbin/apache2'
                [Fri Mar 06 12:47:07.987026 2020] [mpm_prefork:notice] [pid 3064] AH00169: caught SIGTERM, shutting down
                [Fri Mar 06 12:47:23.227270 2020] [mpm_prefork:notice] [pid 321] AH00163: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations
                [Fri Mar 06 12:47:23.262647 2020] [core:notice] [pid 321] AH00094: Command line: '/usr/sbin/apache2'
                
                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by

                  @dmores said in Unable to log on web ui:

                  When i try to log on /fog/management it don’t really refresh the page it take me to fog/management/index.php?node=home first and then it’s always this url who came back

                  I am not sure if we just don’t get what you mean by that exactly. Can you take a screen cast of this?

                  Have you cleared the browser cache or used a different browser yet??

                  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

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    dmores @Sebastian Roth
                    last edited by

                    @Sebastian-Roth

                    Login capture

                    @Sebastian-Roth said in Unable to log on web ui:

                    Have you cleared the browser cache or used a different browser yet??

                    I tried with Firefox and Edge, and cleared the cache also.

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

                      @dmores Sorry for late response. This looks really weird. Can you please hit F12 in firefox to open the developers console, then switch to the “network” tab and try a login again. Do you see the request actually happening??

                      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
                      • F
                        Fernando Gietz Developer
                        last edited by

                        Please check if you have free space in /var.
                        I had this problem sometimes in the past.

                        1 Reply Last reply Reply Quote 1
                        • D
                          dmores
                          last edited by

                          Thanks for all the help but i finally decided to reinstall everything from scratch.

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

                          221

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project