Panel not showing after login

Discussion in 'General' started by cpasqualini, Jun 8, 2023.

  1. cpasqualini

    cpasqualini New Member

    Hi!

    Yes, I had read https://forum.howtoforge.com/threads/please-read-before-posting.58408/ and followed suggestions. but my panel is still not showing up and don't know what else to look for

    Debian server, two days ago upgraded from Stretch to Buster, and from ISPConfig 3 to latest version, using Nginx and PHP-FPM with multiple versions, and trying to change from php7.0 (stretch) to php7.3(buster). Yesterday we saw the failure for the first time.

    Code:
    root@hostname:~# cat /etc/debian_version
    10.13
    
    Code:
    root@hostname:~# update-alternatives --config php
    There are 7 choices for the alternative php (providing /usr/bin/php).
    
      Selection    Path             Priority   Status
    ------------------------------------------------------------
      0            /usr/bin/php8.2   82        auto mode
      1            /usr/bin/php5.6   56        manual mode
      2            /usr/bin/php7.0   70        manual mode
    * 3            /usr/bin/php7.3   73        manual mode
      4            /usr/bin/php7.4   74        manual mode
      5            /usr/bin/php8.0   80        manual mode
      6            /usr/bin/php8.1   81        manual mode
      7            /usr/bin/php8.2   82        manual mode
    
    Press <enter> to keep the current choice[*], or type selection number:
    
    Code:
    root@hostname:~# update-alternatives --config php-cgi
    There are 5 choices for the alternative php-cgi (providing /usr/bin/php-cgi).
    
      Selection    Path                 Priority   Status
    ------------------------------------------------------------
      0            /usr/bin/php-cgi8.0   80        auto mode
      1            /usr/bin/php-cgi5.6   56        manual mode
      2            /usr/bin/php-cgi7.0   70        manual mode
    * 3            /usr/bin/php-cgi7.3   73        manual mode
      4            /usr/bin/php-cgi7.4   74        manual mode
      5            /usr/bin/php-cgi8.0   80        manual mode
    
    Press <enter> to keep the current choice[*], or type selection number:
    
    Code:
    root@hostname:~# update-alternatives --config php-fpm.sock
    There are 4 choices for the alternative php-fpm.sock (providing /run/php/php-fpm.sock).
    
      Selection    Path                      Priority   Status
    ------------------------------------------------------------
      0            /run/php/php8.2-fpm.sock   82        auto mode
      1            /run/php/php5.6-fpm.sock   56        manual mode
    * 2            /run/php/php7.3-fpm.sock   73        manual mode
      3            /run/php/php7.4-fpm.sock   74        manual mode
      4            /run/php/php8.2-fpm.sock   82        manual mode
    
    Press <enter> to keep the current choice[*], or type selection number:
    
    Code:
    root@hostname:~# update-alternatives --config phpdbg
    There are 4 choices for the alternative phpdbg (providing /usr/bin/phpdbg).
    
      Selection    Path                Priority   Status
    ------------------------------------------------------------
      0            /usr/bin/phpdbg8.2   82        auto mode
    * 1            /usr/bin/phpdbg7.3   73        manual mode
      2            /usr/bin/phpdbg7.4   74        manual mode
      3            /usr/bin/phpdbg8.1   81        manual mode
      4            /usr/bin/phpdbg8.2   82        manual mode
    
    Press <enter> to keep the current choice[*], or type selection number:
    
    The default selected PHP versions where indeed different at the moment of running ispconfig_update.sh but corrected afterwards.

    Tried to run again ispconfig_update.sh --force without succeeds

    Something weird: Some of our staff's laptops, without a full refresh, are still being able to work with the panel, but those which made F5 or using a browser for the first time, can reproduce the issue.

    Tried removing REJECT on firewall without luck

    Code:
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] OS version is Debian GNU/Linux 10 (buster)
    [INFO] uptime:  08:58:49 up 11:32,  3 users,  load average: 0.33, 0.49, 0.84
    [INFO] memory:
                  total        used        free      shared  buff/cache   available
    Mem:           11Gi       7.4Gi       555Mi       329Mi       3.5Gi       3.4Gi
    Swap:            0B          0B          0B
    [INFO] ISPConfig is installed.
    
    ##### ISPCONFIG #####
    ISPConfig version is 3.2.10
    
    
    ##### VERSION CHECK #####
    
    [INFO] php (cli) version is 7.3.33-10+0~20230409.104+debian10~1.gbp88ff76
    [INFO] php-cgi (used for cgi php in default vhost!) is version 7.3.33
    
    ##### PORT CHECK #####
    
    [WARN] Port 8080 (ISPConfig) seems NOT to be listening
    ### (this is OK, is listening on 9443) ###
    
    ##### MAIL SERVER CHECK #####
    
    
    ##### RUNNING SERVER PROCESSES #####
    
    [INFO] I found the following web server(s):
        Unknown process (nginx:) (PID 24678)
    [INFO] I found the following mail server(s):
        Unknown process (smtpd) (PID 6582)
    [INFO] I found the following pop3 server(s):
        Dovecot (PID 21474)
    [INFO] I found the following imap server(s):
        Dovecot (PID 21474)
    [INFO] I found the following ftp server(s):
        PureFTP (PID 21923)
    
    ##### LISTENING PORTS #####
    (only        ()
    Local        (Address)
    [anywhere]:8000        (1111/icecast2)
    [anywhere]:993        (21474/dovecot)
    [anywhere]:9443        (24678/nginx:)
    [anywhere]:995        (21474/dovecot)
    [localhost]:10023        (1309/postgrey)
    [localhost]:10024        (8499/amavisd-new)
    [localhost]:10025        (14012/smtpd)
    [localhost]:10026        (8499/amavisd-new)
    [localhost]:10027        (15426/smtpd)
    [anywhere]:587        (1610/smtpd)
    [localhost]:11211        (827/memcached)
    [anywhere]:110        (21474/dovecot)
    [anywhere]:143        (21474/dovecot)
    [anywhere]:111        (1/init)
    [anywhere]:80        (24678/nginx:)
    [anywhere]:8081        (24678/nginx:)
    [anywhere]:465        (3081/smtpd)
    ***.***.***.***:53        (21930/named)
    ***.***.***.***:53        (21930/named)
    [localhost]:53        (21930/named)
    [anywhere]:21        (21923/pure-ftpd)
    [anywhere]:22        (863/sshd)
    [localhost]:953        (21930/named)
    [anywhere]:25        (6582/smtpd)
    [anywhere]:443        (24678/nginx:)
    *:*:*:*::*:993        (21474/dovecot)
    *:*:*:*::*:9443        (24678/nginx:)
    *:*:*:*::*:995        (21474/dovecot)
    *:*:*:*::*:10023        (1309/postgrey)
    *:*:*:*::*:10024        (8499/amavisd-new)
    *:*:*:*::*:10026        (8499/amavisd-new)
    *:*:*:*::*:3306        (21056/mysqld)
    *:*:*:*::*:587        (1610/smtpd)
    [localhost]10        (21474/dovecot)
    [localhost]43        (21474/dovecot)
    [localhost]11        (1/init)
    *:*:*:*::*:80        (24678/nginx:)
    *:*:*:*::*:8081        (24678/nginx:)
    *:*:*:*::*:465        (3081/smtpd)
    *:*:*:*::*:53        (21930/named)
    *:*:*:*::*:21        (21923/pure-ftpd)
    *:*:*:*::*:4949        (1017/perl)
    *:*:*:*::*:22        (863/sshd)
    *:*:*:*::*:953        (21930/named)
    *:*:*:*::*:25        (6582/smtpd)
    *:*:*:*::*:443        (24678/nginx:)
    
    
    
    
    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination        
    f2b-wordpress-hard  tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 80,443
    f2b-wordpress-soft  tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 80,443
    f2b-postfix-sasl  tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 25
    f2b-dovecot  tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 110,995,143,993,587,465,4190
    f2b-sshd   tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 22
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0            state RELATED,ESTABLISHED
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:22
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:25
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:53
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:80
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:110
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:143
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:443
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:465
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:587
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:993
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:995
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:8000
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:53
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:123
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:53
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:123
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:3306
    ACCEPT     tcp  --  ***.***.***.***        [anywhere]/0            tcp dpt:3306
    REJECT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:3306 reject-with icmp-port-unreachable
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0          
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0          
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination        
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination        
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0            state RELATED,ESTABLISHED
    ACCEPT     all  --  [anywhere]/0            [localhost]          
    ACCEPT     tcp  --  [anywhere]/0            ***.***.***.***         tcp dpt:25
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:25 owner UID match 108
    LOG        tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:25 LOG flags 0 level 4 prefix "IPT SMTP Saliente "
    REJECT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:25 reject-with icmp-port-unreachable
    
    Chain f2b-sshd (1 references)
    target     prot opt source               destination        
    RETURN     all  --  [anywhere]/0            [anywhere]/0          
    
    Chain f2b-dovecot (1 references)
    target     prot opt source               destination        
    RETURN     all  --  [anywhere]/0            [anywhere]/0          
    
    Chain f2b-postfix-sasl (1 references)
    target     prot opt source               destination        
    RETURN     all  --  [anywhere]/0            [anywhere]/0          
    
    Chain f2b-wordpress-soft (1 references)
    target     prot opt source               destination        
    RETURN     all  --  [anywhere]/0            [anywhere]/0          
    
    Chain f2b-wordpress-hard (1 references)
    target     prot opt source               destination        
    RETURN     all  --  [anywhere]/0            [anywhere]/0          
    
    
    
    
    ##### LET'S ENCRYPT #####
    Certbot is installed in /usr/local/bin/certbot
    
    
    Everything else seems to be working ok.

    Our idea was to upgrade again to Debian 11, but I don't think it will be a good idea in the current state.
    Spend all day (yesterday) looking for things to test in this forum, nothing seems to match exactly.

    I'm sure this is a stupid thing, but I am not seeing it

    Thanks in advance
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    What happens when trying to access ISPConfig Panel?
    Are you using http:// or httpS:// URL?
    What is on web server logs and other logs when trying to access panel?
    Is the server working otherwise, just accessing panel fails?
    What shows command
    Code:
    systemctl --state=failed
     
  3. cpasqualini

    cpasqualini New Member

    https, nginx seems to be working good, as I have login and can see the logo, search bar and logout
    Something strange: I cna search for something and load it from search, but it's like never ends to load

    Nothing relevant:

    Added access_log and error_log and tried again:
    Code:
    root@x20:/var/log/nginx# ls -l panel_*
    -rw-r--r-- 1 root root 0 jun  8 10:17 panel_access.log
    -rw-r--r-- 1 root root 0 jun  8 10:17 panel_error.log
    root@x20:/var/log/nginx# ls -l panel_*
    -rw-r--r-- 1 root root 642 jun  8 10:18 panel_access.log
    -rw-r--r-- 1 root root   0 jun  8 10:17 panel_error.log
    content of panel_access.log
    Code:
    *.*.*.* - - [08/Jun/2023:10:18:15 -0300] "GET /index.php HTTP/2.0" 200 12939 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
    *.*.*.* - - [08/Jun/2023:10:18:15 -0300] "GET /js/scrigo.js.php HTTP/2.0" 200 1687 "https://panel.example.com/index.php" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
    *.*.*.* - - [08/Jun/2023:10:18:16 -0300] "GET /themes/default/assets/fonts/ispconfig.woff?-drlkxz HTTP/2.0" 200 9656 "https://panel.example.com/themes/default/assets/stylesheets/fonts.min.css" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
    
    (yes, I have a host defined on standard 443 port, checked the config with standard ISPConfig generated panel too)

    Code:
    root@hostname:/var/log/nginx# systemctl --state failed
      UNIT                     LOAD   ACTIVE SUB    DESCRIPTION                       
    ● php7.0-fpm.service       loaded failed failed The PHP 7.0 FastCGI Process Manager
    ● systemd-sysusers.service loaded failed failed Create System Users               
    
    LOAD   = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB    = The low-level unit activation state, values depend on unit type.
    
    2 loaded units listed. Pass --all to see loaded but inactive units, too.
    To show all installed unit files use 'systemctl list-unit-files'.
    
    php7.0 had no pool defined on /etc/php/7.0/fpm/pool.d, copied default www.conf and removed the error
    Code:
    root@hostname:~# systemctl --state failed
      UNIT                     LOAD   ACTIVE SUB    DESCRIPTION                                                                                         
    ● systemd-sysusers.service loaded failed failed Create System Users                                                                                 
    
    LOAD   = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB    = The low-level unit activation state, values depend on unit type.
    
    1 loaded units listed. Pass --all to see loaded but inactive units, too.
    To show all installed unit files use 'systemctl list-unit-files'.
    
     
  4. cpasqualini

    cpasqualini New Member

    This is what I see when login:
    [​IMG]

    This is what I see when search for anything:
    [​IMG]

    Hangs on it


    Thanks!
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    So basically, the server did not answer. and really o other errors in global web server error.log file?
     
  6. cpasqualini

    cpasqualini New Member

    Yes Till, That's it

    No clue where to look for

    Thanks
     
  7. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    This does not help you solve the issue, so sorry to bother, but I am wondering why the common issues report did not show the systemctl command output. Did you edit it out when you posted the report? If not, could you show output of this command:
    Code:
    ls -lhi /bin/systemctl  /usr/bin/systemctl
    because only way I can see output goes missing is if there is no file /usr/bin/systemctl.
     
  8. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    I noticed in the report:
    Code:
    [WARN] Port 8080 (ISPConfig) seems NOT to be listening
    ### (this is OK, is listening on 9443) ###
    So, have you remembered to use that port when accessing Panel?
     
  9. cpasqualini

    cpasqualini New Member

    This is ok, I have a vhost defined on a specific domain for accessing the panel on https://panel.example.com which is what We use on a Daily basis.

    Because of the issue, yesterday Tried Accessing the panel on default ports and set up on 9443 for testing (in normal operations I have some ports forwarded to an internal VM which colides with 8080, but its just a DNAT and had been removed for theese tests)

    Same results sadly.
     
  10. cpasqualini

    cpasqualini New Member

    I'm on the road, will test this in about One hour wen get to my laptop.

    Thanks
     
  11. cpasqualini

    cpasqualini New Member

    Can't see much of a difference

    Code:
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] OS version is Debian GNU/Linux 10 (buster)
     
    [INFO] uptime:  15:47:38 up 18:21,  1 user,  load average: 0,63, 0,45, 0,42
     
    [INFO] memory:
                  total        used        free      shared  buff/cache   available
    Mem:           11Gi       7,5Gi       948Mi       321Mi       2,9Gi       3,2Gi
    Swap:            0B          0B          0B
     
    [INFO] systemd failed services status:
      UNIT                     LOAD   ACTIVE SUB    DESCRIPTION       
    ● systemd-sysusers.service loaded failed failed Create System Users
    
    LOAD   = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB    = The low-level unit activation state, values depend on unit type.
    
    1 loaded units listed. Pass --all to see loaded but inactive units, too.
    To show all installed unit files use 'systemctl list-unit-files'.
    
    [INFO] ISPConfig is installed.
    
    ##### ISPCONFIG #####
    ISPConfig version is 3.2.10
    
    
    ##### VERSION CHECK #####
    
    [INFO] php (cli) version is 7.3.33-10+0~20230409.104+debian10~1.gbp88ff76
    [INFO] php-cgi (used for cgi php in default vhost!) is version 7.3.33
    
    ##### PORT CHECK #####
    
    [WARN] Port 8080 (ISPConfig) seems NOT to be listening
    
    ##### MAIL SERVER CHECK #####
    
    
    ##### RUNNING SERVER PROCESSES #####
    
    [INFO] I found the following web server(s):
        Unknown process (nginx:) (PID 7784)
    [INFO] I found the following mail server(s):
        Unknown process (smtpd) (PID 6582)
    [INFO] I found the following pop3 server(s):
        Dovecot (PID 31436)
    [INFO] I found the following imap server(s):
        Dovecot (PID 31436)
    [INFO] I found the following ftp server(s):
        PureFTP (PID 21923)
    
    ##### LISTENING PORTS #####
    (only        ()
    Local        (Address)
    [anywhere]:8000        (1111/icecast2)
    [anywhere]:993        (31436/dovecot)
    [anywhere]:995        (31436/dovecot)
    [anywhere]:9443        (7784/nginx:)
    [localhost]:10023        (1309/postgrey)
    [localhost]:10024        (1715/amavisd-new)
    [localhost]:10025        (7343/smtpd)
    [localhost]:10026        (1715/amavisd-new)
    [localhost]:10027        (21310/master)
    [anywhere]:587        (1346/smtpd)
    [localhost]:11211        (827/memcached)
    [anywhere]:110        (31436/dovecot)
    [anywhere]:143        (31436/dovecot)
    [anywhere]:111        (1/init)
    [anywhere]:80        (7784/nginx:)
    [anywhere]:8081        (7784/nginx:)
    [anywhere]:465        (1476/smtpd)
    ***.***.***.***:53        (21930/named)
    ***.***.***.***:53        (21930/named)
    [localhost]:53        (21930/named)
    [anywhere]:21        (21923/pure-ftpd)
    [anywhere]:22        (863/sshd)
    [localhost]:953        (21930/named)
    [anywhere]:25        (6582/smtpd)
    [anywhere]:443        (7784/nginx:)
    *:*:*:*::*:993        (31436/dovecot)
    *:*:*:*::*:995        (31436/dovecot)
    *:*:*:*::*:9443        (7784/nginx:)
    *:*:*:*::*:10023        (1309/postgrey)
    *:*:*:*::*:10024        (1715/amavisd-new)
    *:*:*:*::*:10026        (1715/amavisd-new)
    *:*:*:*::*:3306        (21056/mysqld)
    *:*:*:*::*:587        (1346/smtpd)
    [localhost]10        (31436/dovecot)
    [localhost]43        (31436/dovecot)
    [localhost]11        (1/init)
    *:*:*:*::*:80        (7784/nginx:)
    *:*:*:*::*:8081        (7784/nginx:)
    *:*:*:*::*:465        (1476/smtpd)
    *:*:*:*::*:53        (21930/named)
    *:*:*:*::*:21        (21923/pure-ftpd)
    *:*:*:*::*:4949        (1017/perl)
    *:*:*:*::*:22        (863/sshd)
    *:*:*:*::*:953        (21930/named)
    *:*:*:*::*:25        (6582/smtpd)
    *:*:*:*::*:443        (7784/nginx:)
    
    
    
    
    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination         
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0            state RELATED,ESTABLISHED
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:22
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:25
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:53
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:80
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:110
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:143
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:443
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:465
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:587
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:993
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:995
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:8000
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:53
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:123
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:53
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:123
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:3306
    ACCEPT     tcp  --  ***.***.***.***        [anywhere]/0            tcp dpt:3306
    REJECT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:3306 reject-with icmp-port-unreachable
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0           
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0           
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0           
    LOG        all  --  [anywhere]/0            [anywhere]/0            LOG flags 0 level 4 prefix "REJECT INPUT "
    REJECT     all  --  [anywhere]/0            [anywhere]/0            reject-with icmp-port-unreachable
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination         
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0            state RELATED,ESTABLISHED
    ACCEPT     all  --  [anywhere]/0            [localhost]           
    ACCEPT     tcp  --  [anywhere]/0            ***.***.***.***         tcp dpt:25
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:25 owner UID match 108
    LOG        tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:25 LOG flags 0 level 4 prefix "IPT SMTP Saliente "
    REJECT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:25 reject-with icmp-port-unreachable
    
    Chain f2b-sshd (0 references)
    target     prot opt source               destination         
    RETURN     all  --  [anywhere]/0            [anywhere]/0           
    
    Chain f2b-dovecot (0 references)
    target     prot opt source               destination         
    RETURN     all  --  [anywhere]/0            [anywhere]/0           
    
    Chain f2b-postfix-sasl (0 references)
    target     prot opt source               destination         
    RETURN     all  --  [anywhere]/0            [anywhere]/0           
    
    Chain f2b-wordpress-soft (0 references)
    target     prot opt source               destination         
    RETURN     all  --  [anywhere]/0            [anywhere]/0           
    
    Chain f2b-wordpress-hard (0 references)
    target     prot opt source               destination         
    RETURN     all  --  [anywhere]/0            [anywhere]/0           
    
    
    
    
    ##### LET'S ENCRYPT #####
    Certbot is installed in /usr/local/bin/certbot
    
    
    I feel less dumb with this tread, it seems that is something not that common.

    What if we start from the beginning?

    Would be grateful if someone can explain why the panel usually fails when the PHP versions are not the system's default?
    which part of the web uses the FPM version and which the CLI, I mean that affects the rendering of the frontend panel.

    May be understanding the root cause will help me to dig deeper.

    Thanks
     
  12. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    ISPConfig only supports the default PHP version of the OS. You would need to ask PHP experts or ISPConfig developers for the exact cause, my guess is ISPConfig when installing sets itself up so it works on this particular Linux distribution with its default PHP, and any change in this environment causes failures. PHP is notorious in code failing when interpreter version changes. PHP 7.3 code may not run on PHP 7.4, for example.
     
    ahrasis likes this.
  13. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Do create the swap file too.
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    We recommend using the default PHP version of the OS as @Taleman explained, but in general, it will work with other PHP versions as well unless that version is not supported by ISPConfig yet, like PHP 8.2. So it's not the case that the panel must fail when you use a different PHP version. Generally, all versions between PHP 5.6 and 8.1 should be ok. You might have to adjust some paths under System > server config > web, but these affect only the default PHP of websites and not the one of the UI.

    If your problem is a PHP version failure, you should see an error in the global web server error.log. As you don't have an error message there, it's more likely that something else blocks the request so that it does not even reach the server like a firewall rule or some kind of ddos protection that kicks in or similar. You should also check access.log if something gets logged for the denied request or not.
    Besides that, you should consider contacting @Th0m from ISPConfig business support to look at the issue by remote login: https://www.ispconfig.org/get-support/?type=ispconfig
     
  15. cpasqualini

    cpasqualini New Member

    Thanks Till, that was the kind of answer I was looking for: "search for denied queries"...
    I will search for them, look into source code, and if everything else fails, contact support.

    Thanks @till @Taleman for your time
     
  16. till

    till Super Moderator Staff Member ISPConfig Developer

    Using the developer tools of your browser might help as well to get and idea why the web request fails.
     
  17. cpasqualini

    cpasqualini New Member

    Was my first attempt, but every HTTP query returns 200/OK ....

    Indeed, when looking for rendered HTML source code:

    [​IMG]
    The HTML tags that should contain the things that are missing, are empty.
    It's like if there is no execution of some initial AJAX event, but cannot see anything on the browser's console

    I can access to dashboard/dashboard.php on the browser and get the contents without issues at all. (The content that should be rendered inside <div id="pageContent"></div>

    way to strange for me...

    On the console runs:
    Code:
    ISPConfig.loadInitContent();
    And the panel starts working as expected

    But for some reason it is not executed automatically on startup
     
    Last edited: Jun 9, 2023
  18. cpasqualini

    cpasqualini New Member

    Workaround by calling on the bottom of the main template:

    Code:
      <script type='text/javascript'>
        ISPConfig.loadInitContent();
      </script>
    </body>
     
  19. till

    till Super Moderator Staff Member ISPConfig Developer

    Hmm, ok. You probably run a custom theme, and maybe that's not compatible with the current ISPConfig versions anymore? We did not change anything recently though, but maybe yo did not update ISPConfig for quite a while?
     
  20. cpasqualini

    cpasqualini New Member

    Well, this server was installed a few years back, with ISPConfig 3.0.2 or something like, was updated to Stretch some years back, and this week upgraded from 3.1.15p2 to 3.2.10 and from Stretch to Buster

    My custom theme only modifies some CSS colors (our brand is Blue) and Logo

    I checked with the ispconfig theme that I had after all upgrades, the only differences where the originals I made, and setting the ISPconfig original theme didn't fix the issue either.

    I will grab the suppossed latest version from https://git.ispconfig.org/ispconfig/ispconfig3/-/tree/develop/interface/web/themes/default/templates and compare to deployed files
     

Share This Page