I can not enter ispconfig after updating ubuntu

Discussion in 'Installation/Configuration' started by libarra, Jul 11, 2018.

  1. libarra

    libarra New Member

    Greetings to everyone
    Well as I comment in the title I consult them because I had perfectly working my ubuntu 16.04 with ispconfig, but when doing an upgrade to 18.04 ispconfig broke and now trying to enter the interface I'm error 500.
    Use ubuntu 18.04, apache 2, php 7.2 and of course Ispconfig 3.1.12
    This is the result of htf_report.txt:
    Code:
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] ISPConfig is installed.
    ##### ISPCONFIG #####
    ISPConfig version is 3.1.12
    ##### VERSION CHECK #####
    [INFO] php (cli) version is 7.2.7-0ubuntu***.***.***.***
    ##### PORT CHECK #####
    
    ##### MAIL SERVER CHECK #####
    
    ##### RUNNING SERVER PROCESSES #####
    [INFO] I found the following web server(s):
        Apache 2 (PID 32619)
    [INFO] I found the following mail server(s):
        Unknown process (smtpd) (PID 12149)
    [INFO] I found the following pop3 server(s):
        Dovecot (PID 32597)
    [INFO] I found the following imap server(s):
        Dovecot (PID 32597)
    [INFO] I found the following ftp server(s):
        PureFTP (PID 32652)
    ##### LISTENING PORTS #####
    (only        ()
    Local        (Address)
    [anywhere]:993        (32597/dovecot)
    [anywhere]:995        (32597/dovecot)
    [localhost]:10023        (3501/postgrey)
    [localhost]:10024        (32581/amavisd-new)
    [localhost]:10025        (32406/master)
    [localhost]:10026        (32581/amavisd-new)
    [localhost]:3306        (32101/mysqld)
    [localhost]:10027        (32406/master)
    [anywhere]:587        (32406/master)
    [localhost]:11211        (3237/memcached)
    [anywhere]:110        (32597/dovecot)
    [anywhere]:143        (32597/dovecot)
    [anywhere]:465        (32406/master)
    ***.***.***.***:53        (32659/named)
    [localhost]:53        (32659/named)
    [anywhere]:21        (32652/pure-ftpd)
    ***.***.***.***:53        (3101/systemd-resolv)
    [anywhere]:22        (3345/sshd)
    [localhost]:953        (32659/named)
    [anywhere]:25        (12149/smtpd)
    *:*:*:*::*:993        (32597/dovecot)
    *:*:*:*::*:995        (32597/dovecot)
    *:*:*:*::*:10023        (3501/postgrey)
    *:*:*:*::*:10024        (32581/amavisd-new)
    *:*:*:*::*:10026        (32581/amavisd-new)
    *:*:*:*::*:587        (32406/master)
    [localhost]10        (32597/dovecot)
    [localhost]43        (32597/dovecot)
    *:*:*:*::*:8080        (32619/apache2)
    *:*:*:*::*:80        (32619/apache2)
    *:*:*:*::*:8081        (32619/apache2)
    *:*:*:*::*:465        (32406/master)
    *:*:*:*::*:53        (32659/named)
    *:*:*:*::*:21        (32652/pure-ftpd)
    *:*:*:*::*:22        (3345/sshd)
    *:*:*:*::*:953        (32659/named)
    *:*:*:*::*:25        (12149/smtpd)
    *:*:*:*::*:443        (32619/apache2)
    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination         
    f2b-sshd   tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 22
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain f2b-sshd (1 references)
    target     prot opt source               destination         
    REJECT     all  --  ***.***.***.***         [anywhere]/0            reject-with icmp-port-unreachable
    RETURN     all  --  [anywhere]/0            [anywhere]/0  
    This is the result of error.log
    Code:
    [Wed Jul 11 00:06:45.461809 2018] [core:error] [pid 32634] [client 157.119.226.76:59271] End of script output before headers: index.php
    Argument ""-"" isn't numeric in numeric gt (>) at /usr/local/ispconfig/server/scripts/vlogger line 514, <STDIN> line 10.
    .php-fcgi-starter: line 6: /usr/bin/php-cgi: No such file or directory
    [Wed Jul 11 00:35:04.995013 2018] [fcgid:warn] [pid 32634] (104)Connection reset by peer: [client 103.46.237.218:52648] mod_fcgid: error reading data from FastCGI server
    [Wed Jul 11 00:35:04.995105 2018] [core:error] [pid 32634] [client 103.46.237.218:52648] End of script output before headers: index.php
    
    I appreciate your comments in advance.

    I hope someone is revealing himself as I am. :)
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Rerun all install steps from the apache and php install chapters from Ubuntu 18.04 perfect server tutorial to ensure that all required packages are there.
    2) Run an ispconfig update with reconfigure services = yes.
     
  3. libarra

    libarra New Member

    Thanks so I will do it and comment my results
     
  4. libarra

    libarra New Member

    Thanks for the response, I followed the instructions in the guide, which they recommended me and there were effectively unattended dependencies.

    I was able to enter the control panel.

    But now it happens that the php files are not executed are displayed as a code, any ideas that can give me?



    regards
     
  5. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Is ISPConfig Panel now working OK?
    Is PHP files showing as text happens on a website, is PHP enabled for that website?
     
  6. libarra

    libarra New Member

    Hello, thanks for answering.

    If php is enabled for this website, I can see it from ispconfig is enabled as suexec and phpfpm.

    But still I see the php files as text.

    I appreciate any guidance.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    1) adjust the php paths under system > server config to match the new locations from Ubuntu 18.04.
    2) then run Tools > resync on the websites to write out the new config.
     
  8. libarra

    libarra New Member

    Thanks, can you give me more directions on how to do what you tell me? regards
     
  9. libarra

    libarra New Member

    At last the .php files are displayed correctly
    It turns out that changing the php driver from the ispconfig control panel accomplishes this.
    The options that I had to select were:
    - CGI
    - SuEXEC
    - Fast CGI
    And with this the Joomla files were correctly displayed.
    To reach this conclusion, I registered a new client, a new website, upload an installer of the latest version of Joomla via ftp, and when it was executed, it did not work.

    Therefore change the PHP driver and ready to work.

    I leave this information here because someone else can be useful.

    Thanks for your contributions they were very useful !!
     

Share This Page