ThatAMan
Member
Posted 4 months ago #
Problem: On Macbook Pro using WP via MAMP. Attempting auto-upgrade from WP 3.3 to 3.3.1 via FTP. Get error message "Unable to locate WordPress Root directory. Installation Failed".
Goal: to determine the precise point when execution of auto-upgrade generates the above error message.
Questions:
What files does an auto-upgrade run, and in what order?
What log(s) does an auto-upgrade add to?
How to run an auto-upgrade step by step?
Many thanks.
ThatAMan
Member
Posted 4 months ago #
The problem: the owner of my WordPress files did not match the users under which Apache and MySQL were executing. The owner of my WordPress files was "ThatMan"; Apache and MySQL were executing under the users "www" and "mysql", respectively.
The solution: In MAMP, change the setting entitled "Run Apache/MySQL server as user". Under MAMP Version 2.0.5., find this setting in the Main Window / Server button / General button.