• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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 Error 500 Plesk

Now when I'm trying to access to Plesk, i have:

[[controllers.error.error.title]]
500
PleskFatalException
Can not to read /usr/local/psa/admin/htdocs/locales/default file.

Type PleskFatalException
Message Can not to read /usr/local/psa/admin/htdocs/locales/default file.
File common_func.php
Line 508


--------------------------------


It's not the same error than yesterday:
[[controllers.error.error.title]]
500
Plesk\Exception\Database
DB query failed: SQLSTATE[HY000] [1049] Unknown database 'psa'

Type Plesk\Exception\Database
Message DB query failed: SQLSTATE[HY000] [1049] Unknown database 'psa'
File Mysql.php
Line 60
 
After service sw-cp-server restart.
[[controllers.error.error.title]]
500
PleskFatalException
Can not to read /usr/local/psa/admin/htdocs/locales/default file.

Type PleskFatalException
Message Can not to read /usr/local/psa/admin/htdocs/locales/default file.
File common_func.php
Line 508
 
And

ls -l /usr/local/psa/admin/htdocs/locales/default ?
If don't exist, try copy what we have :
echo "en-US:ENGLISH:GERMANIC:UNITED STATES;" > /usr/local/psa/admin/htdocs/locales/default and review the new error.
 
Last edited:
echo "en-US:ENGLISH:GERMANIC:UNITED STATES;" > /usr/local/psa/admin/htdocs/locales/default
-bash: /usr/local/psa/admin/htdocs/locales/default: No such file or directory
 
Try to create it in this case :

echo "en-US:ENGLISH:GERMANIC:UNITED STATES;" > /usr/local/psa/admin/htdocs/locales/default

and then review the error that you have
 
ls -l /usr/local/psa/admin/htdocs/
total 620
-rw-r--r-- 1 root root 338 Nov 15 17:18 activate.php
-rw-r--r-- 1 root root 578 Nov 15 17:18 application.php
-rw-r--r-- 1 root root 318 May 8 2015 bu_pubkey.txt
-rw-r--r-- 1 root root 10482 Nov 15 17:18 check-plesk.php
-rw-r--r-- 1 root root 6377 Nov 15 17:18 ch_pass_by_secret.php
-rw-r--r-- 1 root root 8617 Nov 15 17:18 cligate.php
drwxr-xr-x 2 root root 4096 Nov 21 10:54 creation_templates
drwxr-xr-x 3 root root 4096 Jan 13 15:43 domains
drwxr-xr-x 3 root root 4096 Nov 21 10:54 enterprise
drwxr-xr-x 2 root root 4096 Nov 21 10:54 error_docs
-rw-r--r-- 1 root root 113459 Nov 15 17:18 favicon.ico
-rw-r--r-- 1 root root 11432 Nov 15 17:18 get_password.php
drwxr-xr-x 3 root root 4096 May 8 2015 health
-rw-r--r-- 1 root root 6138 Nov 15 17:18 help.php
drwxr-xr-x 6 root root 4096 Nov 21 10:54 images
-rw-r--r-- 1 root root 1890 Nov 15 17:18 index.php
drwxr-xr-x 3 root root 4096 Nov 4 16:37 javascript
-rw-r--r-- 1 root root 714 Nov 15 17:18 login.php
-rw-r--r-- 1 root root 5722 Nov 15 17:18 login_up.php
-rw-r--r-- 1 root root 1914 Nov 15 17:18 logout.php
drwxr-xr-x 2 root root 4096 Nov 21 10:54 mailconfig
drwxr-xr-x 33 root root 4096 Dec 28 03:37 modules
-rw-r--r-- 1 root root 349978 Nov 15 17:18 msrdp.cab
-rwxr-xr-x 1 root root 4584 Nov 15 17:18 outdated.html
-rw-r--r-- 1 root root 1234 Nov 15 17:18 plesk.php
-rw-r--r-- 1 root root 26 Nov 15 17:18 robots.txt
drwxr-xr-x 3 root root 4096 Nov 15 17:18 schemas
drwxr-xr-x 2 root root 4096 Nov 21 10:54 server
drwxr-xr-x 12 root root 4096 Nov 21 10:54 spaw
drwxr-xr-x 12 psaadm psaadm 4096 Nov 15 17:18 theme-skins
-rw-r--r-- 1 root root 1401 Nov 15 17:18 vzcp_redirect.php
 
ls -l /usr/local/psa/admin/
total 156
drwxr-xr-x 5 root root 4096 Nov 14 19:34 application
drwxr-x--- 2 root psaadm 4096 Sep 1 2018 archives
drwxr-xr-x 3 root root 4096 Jan 13 15:43 bin
drwxr-xr-x 4 root root 4096 Jan 13 15:43 conf
drwxr-xr-x 3 root root 4096 Nov 15 04:19 cp
drwxr-xr-x 2 root root 4096 Nov 21 10:54 db
drwxr-xr-x 2 root root 4096 Jan 13 15:43 externals
drwxr-xr-x 15 root root 4096 Jan 13 15:43 htdocs
drwxr-xr-x 2 root root 4096 Nov 4 16:37 lib
drwxr-x--- 2 psaadm root 4096 Nov 15 17:18 logs
-rw-r--r-- 1 root root 71616 Jan 1 01:36 migration.log
drwxr-xr-x 106 root root 20480 Jan 13 15:43 plib
drwxr-xr-x 3 root root 4096 Jan 13 15:43 sbin
drwxrwx--- 2 psaadm psaadm 4096 Nov 15 17:18 sessions
drwxr-xr-x 6 root root 4096 Nov 15 06:51 share
drwxr-xr-x 3 root root 4096 Aug 26 2015 smb
drwxr-xr-x 4 root root 4096 Nov 21 10:54 ui-library
 
try to create folder :
mkdir /usr/local/psa/admin/htdocs/locales

and then create the file

echo "en-US:ENGLISH:GERMANIC:UNITED STATES;" > /usr/local/psa/admin/htdocs/locales/default
 
ls -l /usr/local/psa/
total 48
drwxr-xr-x 20 root root 4096 Jan 13 15:42 admin
drwxr-xr-x 3 root root 4096 Jan 13 15:43 bin
drwxr-xr-x 4 root root 4096 Jan 16 14:07 bootstrapper
drwxr-xr-x 7 root root 4096 Jan 13 15:43 etc
drwxr-xr-x 3 root root 4096 Mar 17 2017 lib
drwxr-xr-x 3 root root 4096 Nov 15 17:18 libexec
drwxr-xr-x 6 root root 4096 Jan 13 15:43 PMM
drwxrwxrwt 11 root root 12288 Jan 13 15:43 tmp
drwxr-xr-x 14 psaadm psaadm 4096 Jan 13 15:43 var
-rw-r--r-- 1 root root 31 Nov 15 17:17 version
 
Error has changed:

[[controllers.error.error.title]]
500
Session_Exception
Unable to set up default locale: default locale does not exist or undefined.

Type Session_Exception
Message Unable to set up default locale: default locale does not exist or undefined.
File Panel.php
Line 60
 
At this point, it seem dificult to resolve the problem...
Try to update your plesk with the objective to restore deleted files :

/usr/local/psa/admin/bin/autoinstaller
 
Back
Top