Concrete5 in my_webapp

,

Hi !

I’m trying to migrate a concrete5 website in a custom webapp, I tried with the concrete5 app but I run into an issue probably because some php thingy…

Now the error seems to be nginx related, here is the error-log :

Stack trace:
#0 /var/www/my_webapp__2/www/concrete/bootstrap/autoload.php(19): require()
#1 /var/www/my_webapp__2/www/concrete/dispatcher.php(20): require('/var/www/my_web...')
#2 /var/www/my_webapp__2/www/index.php(7): require('/var/www/my_web...')
#3 {main}
  thrown in /var/www/my_webapp__2/www/concrete/src/Foundation/Psr4ClassLoader.php on line 6" while reading response header from upstream, client: 2a01:cb14:986:9c00:11db:e52a:319c:11d8, server: nomystempar.fr, request: "GET /site/ HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm-my_webapp__2.sock:", host: "mysite.fr"
2021/06/01 13:42:29 [error] 15641#15641: *789 directory index of "/var/www/my_webapp__2/www/" is forbidden, client: 2a01:cb14:986:9c00:11db:e52a:319c:11d8, server: mysite.fr, request: "GET /site/ HTTP/2.0", host: "mysite.fr"
2021/06/01 13:47:01 [error] 15641#15641: *797 directory index of "/var/www/my_webapp__2/www/" is forbidden, client: 2a01:cb14:986:9c00:11db:e52a:319c:11d8, server: mysite.fr, request: "GET /site/ HTTP/2.0", host: "mysite.fr"
2021/06/01 13:48:41 [error] 15641#15641: *817 directory index of "/var/www/my_webapp__2/www/" is forbidden, client: 2a01:cb14:986:9c00:f87a:33fc:689e:2c2e, server: mysite.fr, request: "GET /site/ HTTP/2.0", host: "mysite.fr"
2021/06/01 13:48:58 [error] 15641#15641: *817 directory index of "/var/www/my_webapp__2/www/" is forbidden, client: 2a01:cb14:986:9c00:f87a:33fc:689e:2c2e, server: mysite.fr, request: "GET /site/ HTTP/2.0", host: "mysite.fr"
2021/06/01 13:49:15 [error] 15641#15641: *797 directory index of "/var/www/my_webapp__2/www/" is forbidden, client: 2a01:cb14:986:9c00:11db:e52a:319c:11d8, server: mysite.fr, request: "GET /site/ HTTP/2.0", host: "mysite.fr"

As you can see, I tried to put my files into /www (error 500) or into /www/mysite (error 403).
I use the same way (custom webapp) to setup a wordpress and it works fine…

It’s a permission issue. Change the permission to webapp2.

I tried to put everything in 777 for testing, no change.

I also have chown my_webapp__2 to www-data user.

Ok so my backup files were corrupted, a new backup fix these problems.

(I now have another problem but not related to issues in this thread.)

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.