Do actually do the change in SQL mentioned by @massin, run these commands:
To access SQL and the PSA database:
MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin psa
And then you can run the update query, like this:
update ServiceNodeEnvironment set value='/newpath' where name =...
Hello!
I had the same issue, with Plesk 18.0.51 running on Ubuntu 22.04.02.
The fix for me was to change MPM mode to Prefork, hit apply. And then change back to MPM mode Event while enabling cgi.
Best regards
Marius