500 Internal server Error in Ispconfig web panel after upgrade from 3.1 to 3.2

Discussion in 'Server Operation' started by Daniel Gil, Dec 9, 2020.

  1. Daniel Gil

    Daniel Gil New Member

    Hi there.
    I've upgrade from ISPconfig3.1 to 3.2 in a Debian 9. During the upgrading I get this messages:

    PHP Deprecated: Function get_magic_quotes_runtime() is deprecated in /usr/local/ispconfig/server/lib/config.inc.php on line 48
    Operating System: Debian 9.0 (Stretch) or compatible

    This application will update ISPConfig 3 on your server.

    Shall the script create a ISPConfig backup in /var/backup/ now? (yes,no) [yes]:

    Creating backup of "/usr/local/ispconfig" directory...
    Creating backup of "/etc" directory...
    Checking ISPConfig database .. OK
    Starting incremental database update.
    Loading SQL patch file: /tmp/update_stable.sh.4ciJVntWr2/ispconfig3_install/install/sql/incremental/upd_0089.sql
    Loading SQL patch file: /tmp/update_stable.sh.4ciJVntWr2/ispconfig3_install/install/sql/incremental/upd_0090.sql
    Loading SQL patch file: /tmp/update_stable.sh.4ciJVntWr2/ispconfig3_install/install/sql/incremental/upd_0091.sql
    Loading SQL patch file: /tmp/update_stable.sh.4ciJVntWr2/ispconfig3_install/install/sql/incremental/upd_dev_collection.sql
    Reconfigure Permissions in master database? (yes,no) [no]:

    Service 'firewall_server' has been detected (currently disabled) do you want to enable and configure it? (yes,no) [no]:

    Reconfigure Services? (yes,no,selected) [yes]:

    Configuring Postfix
    Configuring Dovecot
    Configuring Mailman
    Configuring Spamassassin
    Configuring Amavisd
    Configuring Rspamd
    2020-12-09 19:54:01 #0(main) cfg; rspamd_config_post_load: CPU doesn't have SSSE3 instructions set required for hyperscan, disable it
    Configuring Getmail
    Configuring BIND
    Configuring Pureftpd
    Configuring Apache
    Configuring vlogger
    Configuring Apps vhost
    Configuring Jailkit
    Configuring Database
    Updating ISPConfig
    ISPConfig Port [8080]:

    Create new ISPConfig SSL certificate (yes,no) [no]:

    Reconfigure Crontab? (yes,no) [yes]:

    Updating Crontab
    Restarting services ...
    PHP Warning: Packets out of order. Expected 1 received 0. Packet size=30 in /tmp/update_stable.sh.4ciJVntWr2/ispconfig3_install/install/lib/mysql
    .lib.php on line 207
    Update finished.


    After the upgrade I cannot access to the admin web panel of ISPConfig. I get a blank screen with message:

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

    More information about this error may be available in the server error log.


    But the web server is still working because I can access to the hosted websites
    The default PHP version is 7.4

    This is the output of apache error log:

    tail /var/log/apache2/error.log
    [Wed Dec 09 19:54:52.651160 2020] [core:notice] [pid 11769] AH00094: Command line: '/usr/sbin/apache2'
    .php-fcgi-starter: line 6: /usr/bin/php-cgi7.0: No such file or directory
    [Wed Dec 09 19:54:54.721973 2020] [fcgid:warn] [pid 11834] (104)Connection reset by peer: [client 83.44.105.191:39384] mod_fcgid: error reading da
    ta from FastCGI server, referer: https://panel.minahost.net:8080/index.php
    [Wed Dec 09 19:54:54.722011 2020] [core:error] [pid 11834] [client 83.44.105.191:39384] End of script output before headers: datalogstatus.php, re
    ferer: https://panel.minahost.net:8080/index.php
    .php-fcgi-starter: line 6: /usr/bin/php-cgi7.0: No such file or directory
    [Wed Dec 09 19:55:15.707326 2020] [fcgid:warn] [pid 11836] (104)Connection reset by peer: [client 83.44.105.191:39386] mod_fcgid: error reading da
    ta from FastCGI server, referer: https://panel.minahost.net:8080/login/
    [Wed Dec 09 19:55:15.707359 2020] [core:error] [pid 11836] [client 83.44.105.191:39386] End of script output before headers: index.php, referer: h
    ttps://panel.minahost.net:8080/login/
    .php-fcgi-starter: line 6: /usr/bin/php-cgi7.0: No such file or directory
    [Wed Dec 09 20:00:27.154763 2020] [fcgid:warn] [pid 11982] (104)Connection reset by peer: [client 83.44.105.191:39526] mod_fcgid: error reading da
    ta from FastCGI server
    [Wed Dec 09 20:00:27.154798 2020] [core:error] [pid 11982] [client 83.44.105.191:39526] End of script output before headers: index.php

    Any ideas about what can i do to solve this?
    Thanks in advance for reading this post.
    Daniel.
     
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    That's wrong for debian 9, try setting it back to 7.0 and re-run the installer to reconfigure services. You should also answer yes to 'Reconfigure Permissions in master database?' as I believe there's at least one new table.
     
  3. Daniel Gil

    Daniel Gil New Member

    Hello. Thak you very much for your answer.
    I set the php 7.0 version but i get the same error after finishing the update process. Maybe it works if I set the 5.4 php version?
    I set the php version with update-alternativrs --config php.
     
  4. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Is PHP 7.0 installed according to the Perfect Server guide for Debian 9?
     

Share This Page