I have issues installing HubHub. I keep getting this error
Invalid Configuration – yii\base\InvalidConfigException
The directory is not writable by the Web process: /var/www/html/humhub/assets
Although the folder is writable by apache
:
$ ls -la /var/www/html/humhub/assets
total 0
drwxrwsrwx. 2 francesco apache 6 Jun 26 14:13 .
drwxrwsrwx. 7 francesco apache 197 Jun 26 14:13 ..
My setting:
- Server: Red Hat Enterprise Linux release 8.0 (Ootpa) on AWS
- HumHub: 1.3.14 (and Yii Framework/2.0.15)
- Web server: Apache/2.4.37 (Red Hat Enterprise Linux)
What I tried:
- I made sure the folder was writable by following this answer and this similar answer
- I even try to set the entire folder
humhub
as writable withchmod -R 777 humhub
- I made sure that all the PHP requirements were satisfied.
Is it possible that the web process is actually not run by apache
with this result?
> ps -ef | grep httpd | grep -v grep
root 20227 1 0 05:30 ? 00:00:02 /usr/sbin/httpd -DFOREGROUND
apache 20229 20227 0 05:30 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 20230 20227 0 05:30 ? 00:00:12 /usr/sbin/httpd -DFOREGROUND
apache 20231 20227 0 05:30 ? 00:00:12 /usr/sbin/httpd -DFOREGROUND
apache 20232 20227 0 05:30 ? 00:00:11 /usr/sbin/httpd -DFOREGROUND
apache 20449 20227 0 05:31 ? 00:00:13 /usr/sbin/httpd -DFOREGROUND