Here's the only real solution that doesn't involve chown everything.
Place the following inside your <virtualhost></virtualhost> in your website.conf. May also work in apache2.conf
```
PassengerUserSwitching off
PassengerDefaultUser "your-user-name"
```
Now check your error log. There should be no more error.
I don't understand why. [Passenger docs refer to this as sandboxing](https://www.phusionpassenger.com/library/config/apache/reference/#passengeruserswitching). Not sure what other consequences there will be.
Solution obtained from:
https://sun-blog.site/passenger%E3%81%AE%E5%AE%9F%E8%A1%8C%E6%A8%A9%E9%99%90%E3%81%AE%E8%AD%A6%E5%91%8A/
<br>
https://blog.masterka.net/archives/1828
<br>
via google
Here's the only real solution that doesn't involve chown everything.
Place the following inside your <virtualhost></virtualhost> in your website.conf. May also work in apache2.conf
```
PassengerUserSwitching off
PassengerDefaultUser "your-user-name"
```
Now check your error log. There should be no more error.
I don't understand why. [Passenger docs refer to this as sandboxing](https://www.phusionpassenger.com/library/config/apache/reference/#passengeruserswitching). Not sure what other consequences there will be.
Solution obtained from:
https://sun-blog.site/passenger%E3%81%AE%E5%AE%9F%E8%A1%8C%E6%A8%A9%E9%99%90%E3%81%AE%E8%AD%A6%E5%91%8A/
<br>
https://blog.masterka.net/archives/1828
<br>
via google