• 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.

Configuration variable not found: PRODUCT_ROOT_D

daanse

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