Wordpress "Unable to locate WordPress root directory" error

Enes

New member
Joined
Jun 20, 2024
Messages
4
When I want to update WordPress, it's not automatic. I think it's DirectAdmin's fault but I don't know how to solve.

1719352541905.png


1719352486239.png
 
you need to create FTP login credential and set working directory to your WP site.
 
Man, seriously.... "Server Admins" these days are jokes.......

Have you even filled in the FTP details? Just create a separate FTP login pointing to the /public_html/ and it should update minor fixes...


Edit: I'm sorry if this sounded harsh but
 
You don't need FTP for this. I think your permissions are not correct. That is why wordpress cannot update.

Login via ssh and do a set_permissions.

Code:
cd /usr/local/directadmin/scripts
./set_permissions.sh domaindir example.com

(replace example.com with real domain)

Or set the user home

cd /usr/local/directadmin/scripts
./set_permissions.sh set_user_home $USER

(replace $USER with real username)
 
Edit: I'm sorry if this sounded harsh but
For some this will be the case.
But don't forget we all had to learn. Next to that, remember that DA also provides the personal and lite licenses for hobbyists and beginners. So it might not even be a hosting company. ;)
And even they have to start learning things at some point and since he's newly registered....
 
Back
Top