• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue upgrade to onyx

Hi UFHH01

I ran
plesk installer --select-product-id plesk --select-release-current --reinstall-patch --install-component base

and it ended with
Patches were installed successfully.

The changes were applied successfully.

It did many PSA_17.0.17 micro updates

However I can't load Plesk as its giving a 500 error. I have tried stopping and starting psa but that didn't work
so i tried following this https://support.plesk.com/hc/en-us/articles/213955585--HUB-500-Internal-Server-Error#plesk_linux_500

but the tail command only output this:

# tail -fn0 /var/log/sw-cp-server/error_log
2017/03/20 07:15:04 [error] 12637#0: *21361 [lua] access_by_lua(plesk_site_preview.conf:15):7: Forbidden for IP: <MY SERVER IP>, client: 127.0.0.1, server: plesk-site-preview.local, request: "GET /plesk-site-preview/ffk.couk/<MY SERVER IP>/ HTTP/1.0", host: "plesk-site-preview.local"

When opening the error_log from SFTP I get this: (i removed duplicated errors)

2017/03/19 08:52:58 [error] 12637#0: *19629 [lua] access_by_lua(plesk_site_preview.conf:15):7: Forbidden for IP: <MY SERVER IP>, client: 127.0.0.1, server: plesk-site-preview.local, request: "GET /plesk-site-preview/domain_subscription.com/<MY SERVER IP>/ HTTP/1.0", host: "plesk-site-preview.local"
2017/03/19 10:03:00 [error] 12637#0: *19713 open() "/usr/local/psa/admin/htdocs/robots.txt" failed (2: No such file or directory), client: 178.154.149.5, server: , request: "GET /robots.txt HTTP/1.1", host: "surgems.co.uk:8443"

2017/03/20 00:03:02 [error] 12637#0: *20715 [lua] access_by_lua(plesk_site_preview.conf:15):7: Forbidden for IP: <MY SERVER IP>, client: 127.0.0.1, server: plesk-site-preview.local, request: "POST /plesk-site-preview/domain_subscription.co.uk/<MY SERVER IP>/wordpress/wp-cron.php?doing_wp_cron=1489968182.3722479343414306640625 HTTP/1.0", host: "plesk-site-preview.local"

2017/03/20 06:56:24 [error] 12637#0: *21220 FastCGI sent in stderr: "PHP message: PHP Warning: psasem_rinit(): failed to open semaphore file: /usr/local/psa/var/psasem.sem: Permission denied in Unknown on line 0" while reading response header from upstream, client: 82.26.243.170, server: , request: "POST /relay HTTP/1.1", upstream: "fastcgi://127.0.0.1:19001", host: "server.pleskserver.co.uk:8443", referrer: "https://server.pleskserver.co.uk:84...b842-160d-e2ca-20f6-2f467bdafcf3&return_host="3"

2017/03/20 06:56:35 [error] 12637#0: *21247 open() "/usr/local/psa/admin/htdocs/modules/website-virus-check/images/home-promo.png" failed (2: No such file or directory), client: 82.26.243.170, server: , request: "GET /modules/website-virus-check//images/home-promo.png HTTP/1.1", host: "server.pleskserver.co.uk:8443", referrer: "https://server.pleskserver.co.uk:8443/admin/home/admin"

2017/03/20 07:01:46 [error] 12637#0: *21283 access forbidden by rule, client: 82.26.243.170, server: , request: "GET /theme-skins/heavy-metal/fonts/open-sans-regular.woff2 HTTP/1.1", host: "server.pleskserver.co.uk:8443", referrer: "https://server.pleskserver.co.uk:8443/theme-skins/heavy-metal/css/main.css?1471927183"

2017/03/20 07:15:04 [error] 12637#0: *21361 [lua] access_by_lua(plesk_site_preview.conf:15):7: Forbidden for IP: <MY SERVER IP>, client: 127.0.0.1, server: plesk-site-preview.local, request: "GET /plesk-site-preview/ffk.couk/<MY SERVER IP>/ HTTP/1.0", host: "plesk-site-preview.local"

It seems my server ip is coming up as forbidden
# service fail2ban status
fail2ban-server dead but pid file exists

/etc/init.d/fail2ban stop
Stopping fail2ban: ERROR Unable to contact server. Is it running?
[FAILED]

# for pid in $(ps -ef | awk '/fail2ban/ {print $2}'); do kill -9 $pid; done
-bash: kill: (12802) - No such process


Not sure what else to try. Please can you suggest what to do?
Thanks.
 
I just tried to run Plesk repair


# plesk repair installation -n
exit status 255

and then tried a second time

# plesk repair installation -n
PHP Fatal error: Call to undefined function demo_version() in /usr/local/psa/admin/plib/FileManager.php on line 192
PHP Fatal error: Call to undefined function demo_version() in /usr/local/psa/admin/plib/common_func.php3 on line 92
exit status 255
 
Hi helpchrisplz,

pls. consider to re-install the Plesk package: "psa-fileserver"

For CentOS, you would use for example:

rpm -e --nodeps psa-fileserver
plesk installer --select-release-current --install-component psa-fileserver


For Ubuntu/Debian, you would use for example:

aptitude purge psa-fileserver
plesk installer --select-release-current --install-component psa-fileserver



For your Fail2Ban - issue, pls. don't forget to whitelist localhost ( 127.0.0.1/8 ) AND your server - IP(s), before you start it!
 
Back
Top