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

Wordpress Update fails - but why?

onycro

Basic Pleskian
This question has its origin at stackexchange - superuser, but they've told me to rather ask this here in the support forum. So here it goes...


I am currently using wordpress 4.4 I set up background updates but when I execute them it says 'Something went wrong. Unable to locate WordPress Root directory.'

I set my FTP details like that:

PHP:
define('FTP_HOST', 'mydomain.com');
define('FTP_USER', 'user');
define('FTP_PASS', 'passwort');

When I connect to this server using this login details in a normal ftp client, it works fine. I am able to locate the wordpress directory then.

I also was unable to enable debug logs. I set

PHP:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', true );

But in wp-content the logfile is missing debug.log. I thought it would depend on the file permissions:

Code:
drwxrwxr--  6 myuser www-data   4096 Feb 27 16:13 wp-content
But those are set correctly, as I can see that the webserver which runs wordpress is in the group www-data.

Code:
> ps auxww|grep http
www-data  3657  0.0  1.2 458240 52088 ?        Sl   06:03   0:03 /usr/sbin/apache2 -k start
root      4999  0.0  0.0  15800   912 pts/2    S+   10:53   0:00 grep --color=auto apache
root      7396  0.0  1.0 451200 40304 ?        Ss   Jan27   1:25 /usr/sbin/apache2 -k start
www-data 21645  0.0  1.4 465896 56320 ?        Sl   Feb26   0:36 /usr/sbin/apache2 -k start   
> id -a www-data
uid=33(www-data) gid=33(www-data) groups=33(www-data),1002(psaserv),1005(horde_sysgroup),1007(psasb)
So I have two questions:

  1. Why is wordpress unable to locate the root directory?
  2. Why does wordpress not create the logfile?

Additional info:
- my plesk version: 12.0.18
- I did not use the automatic plesk installer to install wordpress and it is a new (manually-)installed version
 
Back
Top