• 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 500 error due to upgrade failure

Nick

New Pleskian
CentOS 6
Plesk 12.5 MU 45

I guess there was some problem during an upgrade the customer performed and now I get a 500 error instead of a login screen.

This thread https://talk.plesk.com/threads/blank-screen-after-upgrade-update.335117/ didn't help.

I've done the bootstapper repair, which also failed with the same error:

PHP Fatal error: Cannot redeclare set_locale() (previously declared in /usr/local/psa/admin/plib/common_func.php3:535) in /usr/local/psa/admin/plib/functions.php on line 639

There really isn't any information about this error and what should be done to correct the issue out there. Any ideas?
 

Attachments

  • repairlog.txt
    9.9 KB · Views: 1
Hi Nick,

I think the following KB - article could help you to solve your issue:


Unfortunately that did not work and everything else looks correct.

[root@plesk]# /usr/local/psa/bin/server_pref --set-default -locale en-US
PHP Fatal error: Cannot redeclare set_locale() (previously declared in /usr/local/psa/admin/plib/common_func.php3:535) in /usr/local/psa/admin/plib/functions.php on line 639
[root@plesk]# /usr/local/psa/bin/admin -u -locale en-US
PHP Fatal error: Cannot redeclare set_locale() (previously declared in /usr/local/psa/admin/plib/common_func.php3:535) in /usr/local/psa/admin/plib/functions.php on line 639

[root@plesk]# ls -ld /usr/local/psa/admin/plib/locales/ /usr/local/psa/admin/plib/locales/en-US
drwxr-xr-x 28 root root 4096 May 5 2015 /usr/local/psa/admin/plib/locales/
drwxr-xr-x 2 root root 4096 Aug 8 01:04 /usr/local/psa/admin/plib/locales/en-US

[root@kbcnetworks-web plesk]# ls -al /usr/local/psa/admin/plib/locales/en-US/
total 1280
drwxr-xr-x 2 root root 4096 Aug 8 01:04 .
drwxr-xr-x 28 root root 4096 May 5 2015 ..
-rw-r--r-- 1 root root 258253 Aug 26 2015 common_cli_messages_en-US.php
-rw-r--r-- 1 root root 128 Aug 26 2015 common_cli_messages_en-US.php.signature
-rw-r--r-- 1 root root 448313 Aug 8 01:04 common_messages_en-US.php
-rw-r--r-- 1 root root 128 Aug 26 2015 common_messages_en-US.php.signature
-rw-r--r-- 1 root root 125348 Aug 26 2015 conhelp_en-US.php
-rw-r--r-- 1 root root 128 Aug 26 2015 conhelp_en-US.php.signature
-rw-r--r-- 1 root root 2772 Aug 26 2015 devmessages_en-US.php
-rw-r--r-- 1 root root 128 Aug 26 2015 devmessages_en-US.php.signature
-rw-r--r-- 1 root root 59367 Aug 26 2015 license.html
-rw-r--r-- 1 root root 375833 Aug 26 2015 messages_en-US.php
-rw-r--r-- 1 root root 128 Aug 26 2015 messages_en-US.php.signature
 
Thank you for your reply. We may be getting somewhere. When I attempt to run those commands I get:

PHP Notice: Undefined index: all in /usr/sbin/plesk on line 57
Usage: plesk [command]
Commands:
help - Show help and exit
version - Show product version information
db - Database related commands. Open MySQL console by default.
bin - Run the specified Plesk command-line utility (e.g., domain, client)
sbin - Run the specified Plesk internal utility
php - Run a PHP script using the proper PHP interpreter
conf - Open the specified Plesk configuration file in the editor
log - Display the specified Plesk log file
installer - Parallels Installer shortcuts and command completion.

Does it seem that the upgrade to 12.5 did not complete? What steps should I take next? The autoinstaller only shows 12.5 as installed and fails as well.
 
Hi Nick,

the provided commands
plesk repair installation -v -y

plesk repair all -v -y
are used as they are. Consider to avoid "copy&paste" - issues, by TYPING the commands on the command line, because forum-formats can be copied as well ( or consider to copy the commands FIRST into a text-based editor, before copying it again from there to paste them at the command line ).
 
Hi Nick,

well, as you can see, the string "repair installation -v -y" after the binary "plesk", is not being taken to your command - otherwise you wouldn't see the additional command - instructions and the repair process would start. ;)
 
UFHH01 -

I'm not sure I understand what you are saying. I am not copying & pasting. I am typing the commands out. I'm even using the full path to the "plesk" binary. Still no luck.

[root@plesk]# /usr/sbin/plesk repair installation -v -y
PHP Notice: Undefined index: installation in /usr/sbin/plesk on line 57
Usage: plesk [command]
Commands:
help - Show help and exit
version - Show product version information
db - Database related commands. Open MySQL console by default.
bin - Run the specified Plesk command-line utility (e.g., domain, client)
sbin - Run the specified Plesk internal utility
php - Run a PHP script using the proper PHP interpreter
conf - Open the specified Plesk configuration file in the editor
log - Display the specified Plesk log file
installer - Parallels Installer shortcuts and command completion.
[root@plesk]# /usr/sbin/plesk repair all -v -y
PHP Notice: Undefined index: all in /usr/sbin/plesk on line 57
Usage: plesk [command]
Commands:
help - Show help and exit
version - Show product version information
db - Database related commands. Open MySQL console by default.
bin - Run the specified Plesk command-line utility (e.g., domain, client)
sbin - Run the specified Plesk internal utility
php - Run a PHP script using the proper PHP interpreter
conf - Open the specified Plesk configuration file in the editor
log - Display the specified Plesk log file
installer - Parallels Installer shortcuts and command completion.


Thank you again.
 
Hi Nick,

due to the fact, that your upgrade wasn't really finished/interrupted ( and due to the fact, that you seem to have MORE issues on your server, when you can not use additional command strings ) it is really recommended to get in contact with some experienced linux administrators and therefore I repeat myself here with my suggestion:
or/and consider to contact the Plesk support at: => https://www.plesk.com/contact-us/support/ <=
 
Back
Top