• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Configuration variable not found: PRODUCT_ROOT_D

mdde

Regular Pleskian
Hi,

got this Message after Updating Plesk Tonight.

Code:
root@web:~# ls -al /etc/psa
total 52
drwxr-xr-x   5 root   root    4096 Mar  4 01:08 .
drwxr-xr-x 116 root   root   12288 Mar  4 03:28 ..
drwxr-xr-x   2 root   root    4096 Aug 26  2015 key.d
drwxr-xr-x   2 root   root    4096 Feb 22 06:57 php_versions.d
-rw-r--r--   1 root   root    4023 Mar  1 08:57 php_versions.json
drwx------   2 psaadm root    4096 Feb  6 16:20 private
-rw-r--r--   1 root   root      39 Mar  4 01:08 psa.conf
-rw-r--r--   1 root   root    2487 Feb 22 06:57 psa.conf.default
-rw-r--r--   1 root   root    2498 Feb 21 06:27 psa.conf.old
-rw-------   1 psaadm psaadm    82 Feb  6 16:23 .psa.shadow
-rw-r--r--   1 root   root     319 Aug 26  2015 README.psa.shadow

is this Problem caused by Rights from psa.conf?
Which command should i run?
 
Make sure that you have the same output

# cat /etc/psa/psa.conf | grep PRODUCT_ROOT_D
PRODUCT_ROOT_D /usr/local/psa
 
Okay, i just run # chmod a+x /etc/psa/psa.conf
i think this was bad?

Then i run: # cat /etc/psa/psa.conf
Output: PGSQL_CONF_D /etc/postgresql/9.4/main

If i run: # cat /etc/psa/psa.conf | grep PRODUCT_ROOT_D
Theres nothing.
 
You have broken Plesk main config file /etc/psa/psa.conf
Try to restore it from /etc/psa/psa.conf.default
 
uhm okay. Please - which commands do i have to run?
i searched hours for solutions and didn't find a clear one.
 
Create copy of current config file just it case with

# cp /etc/psa/psa.conf /etc/psa/psa.conf.backup

Then restore config with

# cp /etc/psa/psa.conf.default /etc/psa/psa.conf
 
This completely made it.
What about the chmod? Should i undo this?

i now hit # chmod 644 /etc/psa/psa.conf and its fine.

THANK YOU!
 
Last edited:
Hi IgorG, i have the same problem after installing Plesk Mobile Center 1.7, my Plesk installation is a 12.4.30 on Ubuntu Server 14.04.
I tried to restore the Plesk main config file without success!! I am desperate!
What I can do now to restore the access to panel?
Thanx in advance for any help!

Boris
 
i have the same problem after installing Plesk Mobile Center 1.7
What exact problem do you have? Missing PRODUCT_ROOT_D variable or what? Do you have specified it in /etc/psa/psa.conf ? If no - why you can't add it?
 
Hi IgorG, it was a long night tonight but I found the solution restoring the file from another identical Plesk installation. The problem is exactly what you described previously but, I do not know why, but the default file was compromised just like the one in use and therefore could not recover it. Now the access to the panel is completely restored and my palpitations have calmed down! Hahahaha! :-D Thank you very much for your answers. The posts above were fundamental to understand the problem.
 
Back
Top