• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Upgrade problems

Bobby_Atlas

New Pleskian
Hello all,
i was upgraded my plesk on centos 6.4 from 11.5 to 12 version. After that i'm trying to access this by https://xxx:8443 and getting error 404 not found.


What should i do to fix this issue? During upgrade was no errors so i have no idea whats going on.
 
A lot of people are seeing this and it is usually resolved by rebooting the server. It seems to be caused by some processes hanging during the upgrade.
 
Hi Scott
I already rebooted server few times and restarted plesk processes also
It doesn't help. What i can dig else to fix it?
 
Hi Igor, yes, i did it, it show me that repair is finished, but no luck - it still doesn't work: 404 not found (nginx)
 
I see strange things there, but have no idea what is it:


Code:
[root@LU1 pp12.0.18-bootstrapper]# ./bootstrapper.sh repair
Started bootstrapper repair procedure. This may take a while.
Certain actions may be skipped if not applicable.

-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.
 Finishing up upgrade procedures and rerunning previously failed upgrade actions...
===> Cumulative APS controller database (apsc) upgrade and repair has been started.
===> Cumulative upgrade and repair of APS controller database has been completed.
===> Cumulative APS controller upgrade and repair (final stage) has been started.
===> Cumulative upgrade and repair of APS controller (final stage) has been completed.
PHP Notice:  Use of undefined constant APP_LIB - assumed 'APP_LIB' in /opt/plesk-billing/lib/lib-pkg/parsefunction.php on line 65
PHP Notice:  Use of undefined constant APP_LIB - assumed 'APP_LIB' in /opt/plesk-billing/lib/lib-pkg/parsefunction.php on line 65
PHP Notice:  Use of undefined constant APP_LIB - assumed 'APP_LIB' in /opt/plesk-billing/lib/lib-pkg/parsefunction.php on line 68
PHP Notice:  Use of undefined constant APP_LIB - assumed 'APP_LIB' in /opt/plesk-billing/lib/lib-pkg/parsefunction.php on line 68
PHP Notice:  Use of undefined constant APP_LIB - assumed 'APP_LIB' in /opt/plesk-billing/lib/lib-pkg/parsefunction.php on line 69
PHP Notice:  Use of undefined constant APP_LIB - assumed 'APP_LIB' in /opt/plesk-billing/lib/lib-pkg/parsefunction.php on line 69
PHP Notice:  Use of undefined constant APP_LIB - assumed 'APP_LIB' in /opt/plesk-billing/lib/lib-pkg/parsefunction.php on line 70
PHP Notice:  Use of undefined constant APP_LIB - assumed 'APP_LIB' in /opt/plesk-billing/lib/lib-pkg/parsefunction.php on line 70
PHP Notice:  Use of undefined constant APP_LIB - assumed 'APP_LIB' in /opt/plesk-billing/lib/lib-pkg/parsefunction.php on line 97
PHP Notice:  Undefined index: REMOTE_ADDR in /opt/plesk-billing/lib/lib-tk/include/include.php on line 7
PHP Notice:  Use of undefined constant APP_LIB - assumed 'APP_LIB' in /opt/plesk-billing/lib/lib-pkg/parsefunction.php on line 65
PHP Notice:  Use of undefined constant APP_LIB - assumed 'APP_LIB' in /opt/plesk-billing/lib/lib-pkg/parsefunction.php on line 65
PHP Notice:  Use of undefined constant APP_LIB - assumed 'APP_LIB' in /opt/plesk-billing/lib/lib-pkg/parsefunction.php on line 68
PHP Notice:  Use of undefined constant APP_LIB - assumed 'APP_LIB' in /opt/plesk-billing/lib/lib-pkg/parsefunction.php on line 68
PHP Notice:  Use of undefined constant APP_LIB - assumed 'APP_LIB' in /opt/plesk-billing/lib/lib-pkg/parsefunction.php on line 69
PHP Notice:  Use of undefined constant APP_LIB - assumed 'APP_LIB' in /opt/plesk-billing/lib/lib-pkg/parsefunction.php on line 69
PHP Notice:  Use of undefined constant APP_LIB - assumed 'APP_LIB' in /opt/plesk-billing/lib/lib-pkg/parsefunction.php on line 70
PHP Notice:  Use of undefined constant APP_LIB - assumed 'APP_LIB' in /opt/plesk-billing/lib/lib-pkg/parsefunction.php on line 70
PHP Notice:  Use of undefined constant APP_LIB - assumed 'APP_LIB' in /opt/plesk-billing/lib/lib-pkg/parsefunction.php on line 97
PHP Notice:  Undefined index: REMOTE_ADDR in /opt/plesk-billing/lib/lib-tk/include/include.php on line 7
PHP Notice:  Use of undefined constant APP_LIB - assumed 'APP_LIB' in /opt/plesk-billing/lib/lib-pkg/parsefunction.php on line 65
PHP Notice:  Use of undefined constant APP_LIB - assumed 'APP_LIB' in /opt/plesk-billing/lib/lib-pkg/parsefunction.php on line 65
PHP Notice:  Use of undefined constant APP_LIB - assumed 'APP_LIB' in /opt/plesk-billing/lib/lib-pkg/parsefunction.php on line 68
PHP Notice:  Use of undefined constant APP_LIB - assumed 'APP_LIB' in /opt/plesk-billing/lib/lib-pkg/parsefunction.php on line 68
PHP Notice:  Use of undefined constant APP_LIB - assumed 'APP_LIB' in /opt/plesk-billing/lib/lib-pkg/parsefunction.php on line 69
PHP Notice:  Use of undefined constant APP_LIB - assumed 'APP_LIB' in /opt/plesk-billing/lib/lib-pkg/parsefunction.php on line 69
PHP Notice:  Use of undefined constant APP_LIB - assumed 'APP_LIB' in /opt/plesk-billing/lib/lib-pkg/parsefunction.php on line 70
PHP Notice:  Use of undefined constant APP_LIB - assumed 'APP_LIB' in /opt/plesk-billing/lib/lib-pkg/parsefunction.php on line 70
PHP Notice:  Use of undefined constant APP_LIB - assumed 'APP_LIB' in /opt/plesk-billing/lib/lib-pkg/parsefunction.php on line 97
PHP Notice:  Undefined index: REMOTE_ADDR in /opt/plesk-billing/lib/lib-tk/include/include.php on line 7
===> Cumulative Plesk database upgrade and repair (revertable stage) has been started.
===> Preparing Plesk database upgrade (revertable stage).
===> Cumulative upgrade and repair of Plesk database (revertable stage) has been completed.
===> Cumulative Plesk upgrade and repair (final stage) has been started.
===> Preparing Plesk upgrade (final stage).
===> Cumulative upgrade and repair of Plesk (final stage) has been completed.
 Reconfiguring mail subsystem...
 Reconfiguring Apache web server...
 Reconfiguring ProFTPD FTP server...
 Reconfiguring AWStats web statistics...
 Reconfiguring WatchDog...
 Restoring SELinux contexts...
  Restoring SELinux context on '/usr/local/psa'
 Restoring SELinux context on '/var/log/psa-horde'
  Restoring SELinux context on '/var/named/chroot'
  Restoring SELinux context on '/var/qmail/popuser'
  Restoring SELinux context on '/var/lib/plesk'
  Restoring SELinux context on '/usr/libexec/postfix'
  Restoring SELinux context on '/var/drweb'
  Restoring SELinux context on '/opt/drweb'
  Restoring SELinux context on '/usr/lib64/plesk-9.0'
  Restoring SELinux context on '/etc/nginx'
  Restoring SELinux context on '/var/lib/nginx'
  Restoring SELinux context on '/var/log/nginx'
  Restoring SELinux context on '/var/lib/plesk/mail'
  Restoring SELinux context on '/opt/kav'
  Restoring SELinux context on '/usr/lib64/php/modules'
  Restoring SELinux context on '/var/run'
  Restoring SELinux context on '/var/www/vhosts'
  Restoring SELinux context on '/var/qmail/mailnames'
 Regenerating web servers' configuration files...
 Cleaning active Panel sessions...

Bootstrapper repair finished.
If problems persist, please check installer logs ('/var/log/plesk/install/plesk_12.0.18_repair.log' and '/var/log/plesk/install/plesk_12.0.18_repair_problems.log') for errors.
If you can't resolve the issue on your own, please address Parallels support.
 
Here is attached logs.


NGINX

error.log:
Code:
2014/06/23 03:45:23 [emerg] 1242#0: open() "/var/www/vhosts/system/fiber-way.ru/logs/proxy_access_ssl_log" failed (13: Permission denied)
2014/06/23 03:45:23 [emerg] 1242#0: open() "/var/www/vhosts/system/fiber-way.ru/logs/proxy_error_log" failed (13: Permission denied)
2014/06/23 03:45:23 [emerg] 1242#0: open() "/var/www/vhosts/system/fiber-way.ru/logs/proxy_access_log" failed (13: Permission denied)
2014/06/23 03:45:23 [emerg] 1242#0: open() "/var/www/vhosts/system/sbmetals.ru/logs/proxy_access_ssl_log" failed (13: Permission denied)
2014/06/23 03:45:23 [emerg] 1242#0: open() "/var/www/vhosts/system/sbmetals.ru/logs/proxy_error_log" failed (13: Permission denied)
2014/06/23 03:45:23 [emerg] 1242#0: open() "/var/www/vhosts/system/sbmetals.ru/logs/proxy_access_log" failed (13: Permission denied)

error.log-20140622:
Code:
2014/06/20 14:00:27 [error] 28429#0: *253 upstream prematurely closed connection while reading response header from upstream, client: 185.11.132.3, server: fiber-way.ru, request: "GET /wp-admin/ HTTP/1.1", upstream: "http://94.242.222.199:7080/wp-admin/", host: "www.fiber-way.ru"
2014/06/20 14:01:29 [error] 28429#0: *258 upstream prematurely closed connection while reading response header from upstream, client: 83.220.238.182, server: fiber-way.ru, request: "GET / HTTP/1.1", upstream: "http://94.242.222.199:7080/", host: "www.fiber-way.ru"
2014/06/20 14:21:38 [error] 3017#0: *304 directory index of "/var/www/vhosts/fiber-way.ru/httpdocs/" is forbidden, client: 185.11.132.3, server: fiber-way.ru, request: "GET / HTTP/1.1", host: "www.fiber-way.ru"
2014/06/20 14:21:40 [error] 3017#0: *304 directory index of "/var/www/vhosts/fiber-way.ru/httpdocs/" is forbidden, client: 185.11.132.3, server: fiber-way.ru, request: "GET / HTTP/1.1", host: "www.fiber-way.ru"
2014/06/20 14:21:53 [error] 3017#0: *305 directory index of "/var/www/vhosts/fiber-way.ru/httpdocs/" is forbidden, client: 185.11.132.3, server: fiber-way.ru, request: "GET / HTTP/1.1", host: "www.fiber-way.ru"
2014/06/20 14:23:10 [error] 3017#0: *307 directory index of "/var/www/vhosts/fiber-way.ru/httpdocs/" is forbidden, client: 185.11.132.3, server: fiber-way.ru, request: "GET /?page_id=14 HTTP/1.1", host: "www.fiber-way.ru", referrer: "http://www.google.ru/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CBsQFjAA&url=http%3A%2F%2Fwww.fiber-way.ru%2F%3Fpage_id%3D14&ei=3yakU6qzNannywPzlYDoAw&usg=AFQjCNGh1aCb4XmkzNKBYxwJc2bWNAFSLg&sig2=bsWsFv2yPMeOjj0gFHZOHA&bvm=bv.69411363,d.bGQ&cad=rjt"
2014/06/20 14:23:21 [error] 3017#0: *308 directory index of "/var/www/vhosts/fiber-way.ru/httpdocs/" is forbidden, client: 185.11.132.3, server: fiber-way.ru, request: "GET /?page_id=14 HTTP/1.1", host: "www.fiber-way.ru"
2014/06/20 14:23:21 [error] 3017#0: *309 directory index of "/var/www/vhosts/fiber-way.ru/httpdocs/" is forbidden, client: 185.11.132.3, server: fiber-way.ru, request: "GET / HTTP/1.1", host: "www.fiber-way.ru"
2014/06/20 14:23:22 [error] 3017#0: *307 directory index of "/var/www/vhosts/fiber-way.ru/httpdocs/" is forbidden, client: 185.11.132.3, server: fiber-way.ru, request: "GET / HTTP/1.1", host: "www.fiber-way.ru"
2014/06/20 14:39:25 [error] 3017#0: *318 directory index of "/var/www/vhosts/fiber-way.ru/httpdocs/" is forbidden, client: 95.108.129.207, server: fiber-way.ru, request: "GET / HTTP/1.1", host: "www.fiber-way.ru"
2014/06/20 14:41:11 [error] 3017#0: *319 directory index of "/var/www/vhosts/fiber-way.ru/httpdocs/" is forbidden, client: 64.233.172.6, server: fiber-way.ru, request: "GET / HTTP/1.1", host: "www.fiber-way.ru", referrer: "http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=4&ved=0CDEQFjAA&url=http%3A%2F%2Fwww.fiber-way.ru%2F&ei=8CqkU4uqBMaW5wOhTQ&usg=AFQjCNGvVP7DHCVA-6dYJ8NTSO9vUmwVDA"
2014/06/20 14:42:42 [error] 3017#0: *321 directory index of "/var/www/vhosts/fiber-way.ru/httpdocs/" is forbidden, client: 213.180.206.197, server: fiber-way.ru, request: "GET / HTTP/1.1", host: "www.fiber-way.ru"
2014/06/20 15:55:24 [notice] 17733#0: using inherited sockets from "10;11;12;13;"
2014/06/22 03:19:32 [emerg] 1242#0: open() "/var/www/vhosts/system/fiber-way.ru/logs/proxy_access_ssl_log" failed (13: Permission denied)
2014/06/22 03:19:32 [emerg] 1242#0: open() "/var/www/vhosts/system/fiber-way.ru/logs/proxy_error_log" failed (13: Permission denied)
2014/06/22 03:19:32 [emerg] 1242#0: open() "/var/www/vhosts/system/fiber-way.ru/logs/proxy_access_log" failed (13: Permission denied)
2014/06/22 03:19:32 [emerg] 1242#0: open() "/var/www/vhosts/system/sbmetals.ru/logs/proxy_access_ssl_log" failed (13: Permission denied)
2014/06/22 03:19:32 [emerg] 1242#0: open() "/var/www/vhosts/system/sbmetals.ru/logs/proxy_error_log" failed (13: Permission denied)
2014/06/22 03:19:32 [emerg] 1242#0: open() "/var/www/vhosts/system/sbmetals.ru/logs/proxy_access_log" failed (13: Permission denied)


And by the way - hosted sites working fine at this moment and they are also served by ngnix.
 
I also checked ngnix conf:

server.conf:
Code:
include "/etc/nginx/plesk.conf.d/ip_default/*.conf";

server {
    listen 94.242.222.199:80;

    location / {
        proxy_pass http://94.242.222.199:7080;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    }
}

server {
    listen 94.242.222.200:80;

    location / {
        proxy_pass http://94.242.222.200:7080;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    }
}

server {
    listen 94.242.222.199:443 ssl;

    ssl_certificate             /usr/local/psa/var/certificates/cert2lgRRWf;
    ssl_certificate_key         /usr/local/psa/var/certificates/cert2lgRRWf;
    ssl_session_timeout         5m;

    ssl_protocols               SSLv2 SSLv3 TLSv1;
    ssl_ciphers                 HIGH:!aNULL:!MD5;
    ssl_prefer_server_ciphers   on;

    location / {
        proxy_pass https://94.242.222.199:7081;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    }
}

and here is listing:

Code:
[root@LU1 plesk.conf.d]# pwd
/etc/nginx/plesk.conf.d
[root@LU1 plesk.conf.d]# ls -l
total 36
drwxr-xr-x. 2 root root  4096 Jun  6 10:40 forwarding
drwxr-xr-x. 2 root root  4096 Jun 23 11:20 ip_default
-rw-------. 1 root nginx 1945 Jun 23 11:20 server.conf
-rw-------. 1 root nginx 1945 Jun 23 11:20 server.conf.bak
drwxr-xr-x. 2 root root  4096 Jun 23 11:20 vhosts
-rw-------. 1 root nginx 2815 Jun 23 11:20 webmail.conf
-rw-------. 1 root nginx 2815 Jun 23 11:20 webmail.conf.bak
drwxr-xr-x. 2 root root  4096 Jun 23 11:20 webmails
drwxr-xr-x. 2 root root  4096 Jun  6 10:40 wildcards
[root@LU1 plesk.conf.d]# cd vhosts/
[root@LU1 vhosts]# ls -l
total 0
lrwxrwxrwx. 1 root root 51 Jun 23 11:20 fiber-way.ru.conf -> /var/www/vhosts/system/fiber-way.ru/conf/nginx.conf
lrwxrwxrwx. 1 root root 50 Jun 23 11:20 sbmetals.ru.conf -> /var/www/vhosts/system/sbmetals.ru/conf/nginx.conf
 
+1, I have also the same errors

2014/07/24 04:45:51 [emerg] 53311#0: open() "/var/www/vhosts/system/domain.com/logs/proxy_access_log" failed (13: Permission denied)
2014/07/24 04:45:51 [emerg] 53311#0: open() "/var/www/vhosts/system/domain1.com/logs/proxy_access_ssl_log" failed (13: Permission denied)
2014/07/24 04:45:51 [emerg] 53311#0: open() "/var/www/vhosts/system/domain2.com/logs/proxy_access_log" failed (13: Permission denied)

And would love to know how to fix it.
 
Back
Top