On my yunohost server I have done:
- “migrate to stretch”,
- “php5 to php7 pools”
Since then I can’t connect to Nextcloud. The others app 'Graphana", Rainloop" or “phpmyadmin” work well.
In the log file /var/log/nginx/myservername.nohost.me-error.log, I have the error message :
… *71 FastCGI sent in stderr: “Access to the script ‘/var/www/nextcloud//index.php/nextcloud/’ has been denied (see security.limit_extensions)” while reading response header from upstream, …
is the “//” in the path normal ? If not how I can fix that ?
Have you tried to update your nextcloud apps ?
I don’t know what to do with the problem you exposed
I think // is normal
I find anything about security.limit_extensions inside issues on nextcloud app https://github.com/YunoHost-Apps/nextcloud_ynh/issues
It’s like if your nginx/php-fpm configuration is not correct.
May be we could help your if you can give us
cat /etc/nginx/conf.d/*.d/nexcloud.conf | yunopaste
cat /etc/php/7.0/fpm/pool.d/nexcloud.conf | yunopaste
Thank for your help,
I didn’t try to update nextcloud since the error appear. And I have updated it few month ago, and it worked well since I have migrated ph5 to php7
The content of /etc/nginx/conf.d/*.d/nexcloud.conf is available here : https://paste.yunohost.org/jivulacipu
and /etc/php/7.0/fpm/pool.d/nexcloud.conf here : https://paste.yunohost.org/apirakamer
I have noticed that if I try to display debug information for this application via “https://myservername /yunohost/admin/#/apps/nextcloud/debug” I have the error message : “Unknown service 'php5-fpm”
Let me know if you need more information.
I don’t understand why you had this error message “Access to the script ‘/var/www/nextcloud//index.php/nextcloud/’ has been denied (see security.limit_extensions)”
I suspect a bad interaction with a manual change or an other app…
What I can do to find which app or manual change can cause the issue ?
This is an old topic. But two years later I have same problem.
I have an error log in php7.3:
has been denied (see security.limit_extensions)" while reading response header from upstream