Admin panel gone after upgrade 3.2

Discussion in 'Installation/Configuration' started by kodmanyagha, Feb 4, 2021.

  1. kodmanyagha

    kodmanyagha New Member

    I upgraded from 3.1 to 3.2 today but I can't able to connect to 8080 port with SSL.

    I looked to ispconfig.vhost and ispconfig.conf files but I can't able to solve.

    I'm getting these error messages while upgrading:

    Code:
    Reconfigure Services? (yes,no,selected) [yes]: 
    
    Configuring Postfix
    Configuring Dovecot
    Configuring Spamassassin
    Configuring Amavisd
    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]: yes
    
    Checking / creating certificate for s4.nixarsoft.com
    Using certificate path /etc/letsencrypt/live/s4.nixarsoft.com
    PHP Warning:  symlink(): No such file or directory in /tmp/update_runner.sh.xRA9NsmKqW/install/lib/installer_base.lib.php on line 2880
    PHP Warning:  chown(): No such file or directory in /tmp/update_runner.sh.xRA9NsmKqW/install/lib/installer_base.lib.php on line 2881
    PHP Warning:  chmod(): No such file or directory in /tmp/update_runner.sh.xRA9NsmKqW/install/lib/installer_base.lib.php on line 2882
    PHP Warning:  symlink(): No such file or directory in /tmp/update_runner.sh.xRA9NsmKqW/install/lib/installer_base.lib.php on line 2885
    PHP Warning:  chown(): No such file or directory in /tmp/update_runner.sh.xRA9NsmKqW/install/lib/installer_base.lib.php on line 2886
    PHP Warning:  chmod(): No such file or directory in /tmp/update_runner.sh.xRA9NsmKqW/install/lib/installer_base.lib.php on line 2887
    PHP Warning:  symlink(): No such file or directory in /tmp/update_runner.sh.xRA9NsmKqW/install/lib/installer_base.lib.php on line 2890
    PHP Warning:  chown(): No such file or directory in /tmp/update_runner.sh.xRA9NsmKqW/install/lib/installer_base.lib.php on line 2891
    PHP Warning:  chmod(): No such file or directory in /tmp/update_runner.sh.xRA9NsmKqW/install/lib/installer_base.lib.php on line 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 /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/var/lib/snapd/snap/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
    ........................................................................................................................................................++
    
    
    Some results about 8080 port:

    Code:
    [root@s4 ~]# curl localhost:8080
    curl: (52) Empty reply from server
    [root@s4 ~]# netstat -tulpn |grep 8080
    tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      28307/httpd         
    
    
    
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Restart apache and see if there is anything in your error.log. What does 'apachectl -S' show?
     
  3. kodmanyagha

    kodmanyagha New Member

    Code:
    
    [root@s4 ~]# systemctl restart httpd
    [root@s4 ~]# apachectl -S
    [Fri Feb 05 01:29:20.801978 2021] [so:warn] [pid 7097] AH01574: module php7_module is already loaded, skipping
    AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/httpd/conf/sites-enabled/000-ispconfig.vhost:7
    VirtualHost configuration:
    173.212.201.243:80     is a NameVirtualHost
             default server cms.nixarsoft.com (/etc/httpd/conf/sites-enabled/100-cms.nixarsoft.com.vhost:7)
             port 80 namevhost cms.nixarsoft.com (/etc/httpd/conf/sites-enabled/100-cms.nixarsoft.com.vhost:7)
             port 80 namevhost korhanreklam.com (/etc/httpd/conf/sites-enabled/100-korhanreklam.com.vhost:7)
                     alias www.korhanreklam.com
             port 80 namevhost s4.nixarsoft.com (/etc/httpd/conf/sites-enabled/100-s4.nixarsoft.com.vhost:7)
             port 80 namevhost testnet.payb.tc (/etc/httpd/conf/sites-enabled/100-testnet.payb.tc.vhost:7)
    173.212.201.243:443    is a NameVirtualHost
             default server cms.nixarsoft.com (/etc/httpd/conf/sites-enabled/100-cms.nixarsoft.com.vhost:125)
             port 443 namevhost cms.nixarsoft.com (/etc/httpd/conf/sites-enabled/100-cms.nixarsoft.com.vhost:125)
             port 443 namevhost testnet.payb.tc (/etc/httpd/conf/sites-enabled/100-testnet.payb.tc.vhost:130)
    *:443                  s4.nixarsoft.com (/etc/httpd/conf.d/ssl.conf:56)
    *:8081                 s4.nixarsoft.com (/etc/httpd/conf/sites-enabled/000-apps.vhost:9)
    *:8080                 s4.nixarsoft.com (/etc/httpd/conf/sites-enabled/000-ispconfig.vhost:9)
    ServerRoot: "/etc/httpd"
    Main DocumentRoot: "/var/www/html"
    Main ErrorLog: "/etc/httpd/logs/error_log"
    Mutex mpm-accept: using_defaults
    Mutex fcgid-pipe: using_defaults
    Mutex authdigest-opaque: using_defaults
    Mutex proxy-balancer-shm: using_defaults
    Mutex rewrite-map: using_defaults
    Mutex authdigest-client: using_defaults
    Mutex fcgid-proctbl: using_defaults
    Mutex ssl-stapling: using_defaults
    Mutex proxy: using_defaults
    Mutex authn-socache: using_defaults
    Mutex ssl-cache: using_defaults
    Mutex default: dir="/run/httpd/" mechanism=default 
    PidFile: "/run/httpd/httpd.pid"
    Define: _RH_HAS_HTTPPROTOCOLOPTIONS
    Define: DUMP_VHOSTS
    Define: DUMP_RUN_CFG
    User: name="apache" id=48
    Group: name="apache" id=48
    
    
     
  4. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    So port 8080 is setup and listening. You said you couldn't connect, but curl appears to have in your output. You get a connection refused or some other error? Maybe a firewall problem? I take it the was nothing in the error log indicating a problem?
     
  5. kodmanyagha

    kodmanyagha New Member

    curl can connect but it is returning empty result. I didn't find any other error. also firewall is closed.
     
    Last edited: Feb 5, 2021
  6. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    I expect curl got an empty result because port 8080 should use https, but you used the default http.

    The firewall is closed - meaning you need to open that port? Or meaning it is not running? Is there a network level firewall it NAT involved?

    Surely you get an error in your browser at least? If you post the actual server name, it can be examined by others here and sometimes finds the issue with less guessing.
     
  7. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    I forgot you did post your IP address, sorry - connecting to https://173.212.201.243:8080/ opens the login page for me, so no troubles there, other than using the self signed certificate as your first post shows. If you're having a problem, maybe it's a dns issue with the hostname you're using? Or you simply need to type "https" in the url?
     
  8. kodmanyagha

    kodmanyagha New Member

    Thanks for your reply.

    firewall is not running. there isnt network level firewall.

    It's so interesting. I changed curl request with this and I can receive html document:

    Code:
    [root@s4 ~]# curl https://localhost:8080/login/ -v -k
    * About to connect() to localhost port 8080 (#0)
    *   Trying 127.0.0.1...
    * Connected to localhost (127.0.0.1) port 8080 (#0)
    * Initializing NSS with certpath: sql:/etc/pki/nssdb
    * skipping SSL peer certificate verification
    * SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
    * Server certificate:
    * 	subject: O=Default Company Ltd,L=Default City,C=TR
    * 	start date: Feb 04 21:05:36 2021 GMT
    * 	expire date: Feb 02 21:05:36 2031 GMT
    * 	common name: (nil)
    * 	issuer: O=Default Company Ltd,L=Default City,C=TR
    > GET /login/ HTTP/1.1
    > User-Agent: curl/7.29.0
    > Host: localhost:8080
    > Accept: */*
    > 
    < HTTP/1.1 200 OK
    < Date: Fri, 05 Feb 2021 14:58:40 GMT
    < Server: Apache
    < X-Powered-By: PHP/7.2.34
    < Expires: Thu, 19 Nov 1981 08:52:00 GMT
    < Cache-Control: no-store, no-cache, must-revalidate
    < Pragma: no-cache
    < Vary: Accept-Encoding
    < Set-Cookie: ISPCSESS=k7781gltc5q031sgudqlpmp963; path=/; secure; HttpOnly; HTTPOnly; Secure
    < Content-Security-Policy: default-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src 'self' data:; object-src 'none'; upgrade-insecure-requests
    < X-Content-Type-Options: nosniff
    < X-Frame-Options: SAMEORIGIN
    < X-XSS-Protection: 1; mode=block
    < Strict-Transport-Security: max-age=15768000
    < Transfer-Encoding: chunked
    < Content-Type: text/html; charset=utf-8
    < 
    <!DOCTYPE html>
    <html lang='en'>
    <head>
      <meta charset='utf-8' />
    
      <title>ISPConfig</title>
    
      <meta name='viewport' content='width=device-width, user-scalable=yes'>
      <meta name='description' lang='en' content='' />
      <meta name='keywords' lang='en' content='' />
    
     <link rel='apple-touch-icon' sizes='180x180' href='/themes/default/assets/favicon/apple-touch-icon.png'>
     <link rel='icon' type='image/png' sizes='32x32' href='/themes/default/assets/favicon/favicon-32x32.png'>
     <link rel='icon' type='image/png' sizes='16x16' href='/themes/default/assets/favicon/favicon-16x16.png'>
     <link rel='manifest' href='/themes/default/assets/favicon/site.webmanifest'>
     <link rel='mask-icon' href='/themes/default/assets/favicon/safari-pinned-tab.svg' color='#cc151c'>
     <link rel='shortcut icon' href='/themes/default/assets/favicon/favicon.ico'>
     <meta name='msapplication-TileColor' content='#cc151c'>
     <meta name='msapplication-config' content='/themes/default/assets/favicon/browserconfig.xml'>
     <meta name='theme-color' content='#cc151c'>
    
      <link rel='stylesheet' href='../themes/default/assets/stylesheets/bootstrap.min.css' />
      <link rel='stylesheet' href='../themes/default/assets/stylesheets/fonts.min.css' />
      <link rel='stylesheet' href='../themes/default/assets/stylesheets/ispconfig.css?ver=3.2' />
      <link rel='stylesheet' href='../themes/default/assets/stylesheets/pushy.min.css' />
      <link rel='stylesheet' href='../themes/default/assets/stylesheets/bootstrap-datetimepicker.min.css' />
      <link rel='stylesheet' href='../themes/default/assets/stylesheets/responsive.min.css' />
      <link rel='stylesheet' href='../themes/default/assets/stylesheets/themes/default/theme.min.css' />
      <link rel='stylesheet' href='../themes/default/assets/stylesheets/select2.css' />
      <link rel='stylesheet' href='../themes/default/assets/stylesheets/select2-bootstrap.css' />
      <link rel='stylesheet' href='../themes/default/assets/stylesheets/login.css' />
    </head>
    
    <body>
    <div class="container" style="min-height: 100%; min-height: 100vh; display: flex;">
      <div class="row" style="margin: auto; width:100%;">
        	<div class="col-md-4 col-md-offset-4">
        		<div class="panel panel-default">
    			  	<div class="panel-heading" style="background: linear-gradient(to bottom, white, #eef0f2);text-align:center;">
    					<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAABBCAYAAACU5+uOAAAItUlEQVR42u1dCWwVVRStUJZCK6HsFNAgWpaCJkKICZKApKUFhURQpEnZF4EEUJZYEEpBIamgkQpUQBZRW7YCBqQsggsQEAgKLbIGCYsSCNqyQ8D76h18Hd/MvJk/n/bXc5KT+TNz79vPzNv+/2FhAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAe++s0akTsRZxMnE6cGkKcxkwhPofaBPwWRzxxB/EO8UGI8xhxEGoV8EscY8qBKFRcgdoFAhXHC+VUHAbHo5aBQASyrZwL5DoxEjUNeBXI9XIuEMEE1DTgVSA3FA3qIDEtBLnTQiBDUNOAV4EUKhpURojmZQQEAjwKgSwK0bykWQgEU74ABAKBABAIBOIJffoNrkRsS0whDiMO5uNw4gBiSxvfGOJrbDtMOgr2JNa18HmZmETsopnGp4h9xdF0TcQRb8NEPkawTzv2qaWIoybnZYRUBoJD+difGAuBlCy0qsRM4mfERcTFfGygsBUF/xFxE/EQ8RixwIbi/j7il8R3iE8qwuxAXMJxuuFiTvNMYleb/E0gXiI+cOBaISTJrzLxcw2/+8Q5pjjfNNkM0RDILLadpbimw+bsc4DPkxRpuqkZ1orisoBAiguuhkUhPSvZRBA3u6gsK94g9jDFP9aHcAV3EKNNYX8i3RcNJ4M4nTiROJCYykIzbGZKvouk68vYbyS/cUbz+RrJZpzkO5Sv3eajaJhRDvUwg21nKK4VcF5WKPgFH6PZZw/7dJXC6S6lczunfbIQLpeDkZ+lJcoCAikuvChioaLBtfD4JHPiXSFKKexBPoa9Wwr3ael6skMZDGO7K3z+uOSb5OA7mu2KiOGmPH3ADVh8/sohnDS2S1NcG+uiO/kd+8RL146YRWzj359tb0Eg+gIpsHkjFNrQqiF3DZJABDtyuCP5/FuNRlHN8Ofz9nx+XLNR3jR1c4w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Yvipszd0FJcfxzHspdrMctGnGcZNPTZ4F0VszqyPSlPHm8JG9f2SDtgF3Nq/rnJZssyXeUdP0CN64c9l/FDfGyZNNNkaeVGmnMM+Vdtd19los8/2e7Ow/E70lxiG7pRmkn8AaeULlcoo4sBDLfKvL0nLUxablfX0hfmfuQ01avI65fUQYEkupRIJHcAMwbDWNNdmLgupV4zeMO3stcIZ1M4aYo4vZt0oO7Locd0ndGTEQofN+QxiZ22+y7W+RpgUb66vOU7232SZXupZqvaYT3Dfu8ZLrejtc47mvkJ9FoVEWKBmW7dyc7ZXD1Nb2TH3JVn5Tqa3r1repzY6/gwWeqhUCGO/XjWSTmjYYVLOzFoP0Z/qJTks033brxrtjmxCbGtK4ivEqKuH2fNuc0tDatIYgna4yGbz2eeTL8WhJbic2aDnmqqpm2KlLeK5vWn0pc0wirGvtUtBkzNdPKDzWe24oGdZX4CzGfWCD4U93GBQdqNSw4Uiny8K9h4buOhlU2scq+Q1G1i233k63hFwBPEfcS04l1FGJoynbH+fgz8ZKFQJLDAMDjk/psCPzw20XxE6mmdLd24d8KNQ14FciUEPl1xHvEhlK6W2j65aOWgUAEUpV4NEREstyDQNqjloFARVKL/xukrAvkGjGC09zGwfYKsQdqF/BTKMnEJcTtxC3EPAU3iic5cRkfjc/ZFvZuuZm4gXjOouG35LQ2Yfutkq/4pfpN/E9TDVCjQGkJqQExho+CjYlRPseRiQE3EIriaMZTw4K3mOJv23J8jme23RsEAMqqQJrb9PnnEbPEVpUAuJD4Mf/PoCqeONQCUJYFElGKf7ojpnqjUQtAWRdJaf1t2w8ofSAUBNKulATSEaUPhIpIRj9icbyFUgdCTSRTeR0i2HwfpQ0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQBnG392D9QU+JXhxAAAAAElFTkSuQmCC">
    			 	</div>
    			  	<div class="panel-body">
    			    														<form accept-charset="UTF-8" role="form" method="post" action="index.php">
                        <fieldset>
    			    	  	<div class="form-group">
    			    		    <input class="form-control" placeholder="Username" name="username" id="username" type="text" autofocus>
    			    		</div>
    			    		<div class="form-group">
    			    			<input class="form-control" placeholder="Password" name="password" id="password" type="password" value="">
    			    		</div>
    												<input type="hidden" name="s_mod" value="login" />
    						<input type="hidden" name="s_pg" value="index" />
    						<div class="right">
    			    		<input class="btn btn-default formbutton-default" type="submit" value="Login">
    						<button class="btn btn-default formbutton-default" type="button" value="Password lost" onClick="document.location.href='password_reset.php';">Password lost</button>						</div>
    			    	</fieldset>
    			      	</form>
    					<br><center><small></small></center>
    			    </div>
    			</div>
    		</div>
    	</div>
    </div>
      <script type="text/javascript" src="../js/jquery.min.js"></script>
      <script src='../themes/default/assets/javascripts/bootstrap.min.js'></script>
      <script src='../themes/default/assets/javascripts/bootstrap-datetimepicker.min.js'></script>
      <script src='../themes/default/assets/javascripts/ispconfig.js'></script>
      <script src='../themes/default/assets/javascripts/modernizr.custom.min.js'></script>
      <script src='../themes/default/assets/javascripts/pushy.min.js'></script>
      <script src='../themes/default/assets/javascripts/responsive.min.js'></script>
      <script src='../js/select2/select2.min.js'></script>
      <script src='../js/scrigo.js.php'></script>
      <script type="text/javascript" src="../js/jquery.ispconfigsearch.js"></script>
      <script type="text/javascript" src="../js/jquery.tipsy.js"></script>
      </body>
    
    </html>
    * Connection #0 to host localhost left intact
    [root@s4 ~]# 
    
    
    This is really interesting for me. My local machine is MAcos Big Sur, running valet in my machine (and also dnsmasq). May be dnsmasq or valet causing some problem or macos is. I can opened this url (https://173.212.201.243:8080/) in my android phone. This is so interesting for me. Probably server is working but my machine has some problem.

    Thanks a lot for your help.
     

Share This Page