Panel not working after upgrade to 3.2

Discussion in 'Installation/Configuration' started by kodmanyagha, Dec 28, 2020.

  1. kodmanyagha

    kodmanyagha New Member

    Hello, I'm so glad to use ispconfig, I'm using it about 5 years. Thank you for this project.

    I upgraded 3.2 yesterday. I received some error messages and after that I can't able to open the panel login page. Please help me. Thanks.

    Error messages here:

    Code:
    ISPConfig Port [8080]:
    
    Create new ISPConfig SSL certificate (yes,no) [no]: yes
    
    Checking / creating certificate for s2.myserver.com
    Using certificate path /etc/letsencrypt/live/s2.myserver.com
    PHP Warning:  symlink(): No such file or directory in /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php on line 2880
    PHP Stack trace:
    PHP   1. {main}() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:0
    PHP   2. installer_base->make_ispconfig_ssl_cert() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:547
    PHP   3. symlink() /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php:2880
    
    Warning: symlink(): No such file or directory in /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php on line 2880
    
    Call Stack:
        0.0014     408360   1. {main}() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:0
       39.0899    3120208   2. installer_base->make_ispconfig_ssl_cert() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:547
       44.3942    3123672   3. symlink() /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php:2880
    
    PHP Warning:  chown(): No such file or directory in /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php on line 2881
    PHP Stack trace:
    PHP   1. {main}() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:0
    PHP   2. installer_base->make_ispconfig_ssl_cert() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:547
    PHP   3. chown() /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php:2881
    PHP Warning:  chmod(): No such file or directory in /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php on line 2882
    PHP Stack trace:
    
    Warning: chown(): No such file or directory in /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php on line 2881
    
    Call Stack:
        0.0014     408360   1. {main}() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:0
       39.0899    3120208   2. installer_base->make_ispconfig_ssl_cert() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:547
       44.3944    3123584   3. chown() /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php:2881
    
    PHP   1. {main}() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:0
    PHP   2. installer_base->make_ispconfig_ssl_cert() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:547
    PHP   3. chmod() /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php:2882
    
    Warning: chmod(): No such file or directory in /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php on line 2882
    
    Call Stack:
        0.0014     408360   1. {main}() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:0
       39.0899    3120208   2. installer_base->make_ispconfig_ssl_cert() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:547
       44.3945    3123584   3. chmod() /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php:2882
    
    PHP Warning:  symlink(): No such file or directory in /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php on line 2885
    PHP Stack trace:
    PHP   1. {main}() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:0
    PHP   2. installer_base->make_ispconfig_ssl_cert() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:547
    PHP   3. symlink() /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php:2885
    
    Warning: symlink(): No such file or directory in /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php on line 2885
    
    Call Stack:
        0.0014     408360   1. {main}() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:0
       39.0899    3120208   2. installer_base->make_ispconfig_ssl_cert() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:547
       44.3947    3123680   3. symlink() /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php:2885
    
    PHP Warning:  chown(): No such file or directory in /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php on line 2886
    PHP Stack trace:
    PHP   1. {main}() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:0
    PHP   2. installer_base->make_ispconfig_ssl_cert() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:547
    PHP   3. chown() /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php:2886
    
    Warning: chown(): No such file or directory in /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php on line 2886
    
    Call Stack:
        0.0014     408360   1. {main}() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:0
       39.0899    3120208   2. installer_base->make_ispconfig_ssl_cert() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:547
       44.3958    3123584   3. chown() /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php:2886
    
    PHP Warning:  chmod(): No such file or directory in /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php on line 2887
    PHP Stack trace:
    PHP   1. {main}() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:0
    PHP   2. installer_base->make_ispconfig_ssl_cert() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:547
    PHP   3. chmod() /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php:2887
    
    Warning: chmod(): No such file or directory in /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php on line 2887
    
    Call Stack:
        0.0014     408360   1. {main}() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:0
       39.0899    3120208   2. installer_base->make_ispconfig_ssl_cert() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:547
       44.3960    3123584   3. chmod() /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php:2887
    
    PHP Warning:  symlink(): No such file or directory in /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php on line 2890
    PHP Stack trace:
    PHP   1. {main}() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:0
    PHP   2. installer_base->make_ispconfig_ssl_cert() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:547
    PHP   3. symlink() /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php:2890
    
    Warning: symlink(): No such file or directory in /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php on line 2890
    
    Call Stack:
        0.0014     408360   1. {main}() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:0
       39.0899    3120208   2. installer_base->make_ispconfig_ssl_cert() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:547
       44.3961    3123680   3. symlink() /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php:2890
    
    PHP Warning:  chown(): No such file or directory in /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php on line 2891
    PHP Stack trace:
    PHP   1. {main}() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:0
    PHP   2. installer_base->make_ispconfig_ssl_cert() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:547
    PHP   3. chown() /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php:2891
    PHP Warning:  chmod(): No such file or directory in /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php on line 2892
    
    Warning: chown(): No such file or directory in /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php on line 2891
    
    Call Stack:
        0.0014     408360   1. {main}() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:0
       39.0899    3120208   2. installer_base->make_ispconfig_ssl_cert() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:547
       44.3962    3123584   3. chown() /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php:2891
    
    PHP Stack trace:
    PHP   1. {main}() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:0
    PHP   2. installer_base->make_ispconfig_ssl_cert() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:547
    PHP   3. chmod() /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php:2892
    
    Warning: chmod(): No such file or directory in /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php on line 2892
    
    Call Stack:
        0.0014     408360   1. {main}() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:0
       39.0899    3120208   2. installer_base->make_ispconfig_ssl_cert() /tmp/update_runner.sh.dCIkLQCQUG/install/update.php:547
       44.3963    3123584   3. chmod() /tmp/update_runner.sh.dCIkLQCQUG/install/lib/installer_base.lib.php:2892
    
    which: no acme.sh in (/usr/local/ispconfig/server/scripts)
    which: no acme.sh in (/root/.acme.sh)
    Using apache for certificate validation
    Unable to find renew-hook command letsencrypt_renew_hook.sh in the PATH.
    (PATH is /root/.nvm/versions/node/v12.10.0/bin:/usr/local/bin:/opt/bin:$PATH:/usr/local/sbin:/usr/sbin:/usr/bin:/bin:/usr/src/bin:/opt/jdk1.8.0_144/bin:/opt/jdk1.8.0_144/jre/bin:/root/bin:/opt/go/bin:/root/bin:.)
    Issuing certificate via certbot failed. Please check log files and make sure that your hostname can be verified by letsencrypt
    Could not issue letsencrypt certificate, falling back to self-signed.
    Generating RSA private key, 4096 bit long modulus
    
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Is your webserver running? Did you try running the update again?
     
  3. kodmanyagha

    kodmanyagha New Member

    yes server running, websites running. only ispconfig admin panel not opening.
     
  4. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    On a server installed that long ago you should go through the perfect server tutorial for your OS and run the commands to ensure required packages are installed.

    Ensure you don't have any conf-custom templates, especially for the ISPConfig vhost.

    Also ensure you're installing 3.2.1, not 3.2.

    Do you have certbot installed?

    What does 'ls -l /usr/local/ispconfig/interface/ssl/' show?

    Does 'apachectl -S' show the port 8080 vhost for your panel? (or whatever port you're using)
     
  5. kodmanyagha

    kodmanyagha New Member

    Result of ls -l /usr/local/ispconfig/interface/ssl/
     

    Attached Files:

  6. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

     
  7. kodmanyagha

    kodmanyagha New Member

    Thanks for your replies. I found the problem. The problem is about "hostname ssl". I was make that last year: https://www.howtoforge.com/tutorial/securing-ispconfig-3-with-a-free-lets-encrypt-ssl-certificate/

    When upgrading to 3.2.1 probably upgarde script can't create ssl becouse there are"symlinks" in /usr/local/ispconfig/interface/ssl/ folder. I deleted all symlinks and recreated ssl's myself. Then I executed update script "php -q update.php" and I didn't recreate ssl when it ask:

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

    After that everything is fine.

    I want to ask a question. Why don't you add an option for create valid ssl for 8080 port in panel? Everybody needs this. Thanks.
     
    Last edited: Jan 1, 2021
  8. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    To me that is a wrong approach.

    The right one is by undoing that tutorial setup (there is script to undo LE4ISPC at its github), delete existing LE SSL for your server and recreate them during the update by choosing "yes" when asked to create SSL.

    That already cover your port 8080 and all other major services in any ISPConfig server whether single or multi server setup, and that will also automate the recreation of ispserver.pem using default ISPConfig built in yet customizable scripts.
     

Share This Page