我们已从此图片创建了一个容器:https://github.com/bytepark/alpine-drupal8并连接了我们的drupal 8网站。它似乎加载得很好,但是当我们向内容类型添加新字段时,它会失败并且页面中没有错误。检查/var/log/nginx/error.log我看到了:
2016/09/16 20:58:11 [暴击] 13685#13685:* 26 open() “/ var / lib / nginx / tmp / fastcgi / 7/00 / 0000000007”失败(13:许可 在读取上游时,client:x.x.x.x,server:_,request: “POST /管理/结构/视图/ AJAX /添加处理程序/内容/ PAGE_1 /场?_wrapper_format = drupal_ajax HTTP / 1.1“,上游:”fastcgi:// unix:/var/run/php-fpm.sock:“,主持人: “x.x.x.x:8080”,推荐人: “http://x.x.x.x:8080/admin/structure/views/view/content”
我尝试在/ var / lib / nginx和子文件夹上设置777的权限,但这没有效果:
root@:/usr/share/nginx/html# ls -l /var/lib/nginx/
total 8
drwxrwxrwx 2 root root 4096 Sep 16 20:11 html
lrwxrwxrwx 1 root root 14 Aug 24 13:27 logs -> /var/log/nginx
lrwxrwxrwx 1 root root 22 Aug 24 13:27 modules -> /usr/lib/nginx/modules
lrwxrwxrwx 1 root root 10 Aug 24 13:27 run -> /run/nginx
drwxrwxrwx 6 nginx nginx 4096 Sep 16 20:04 tmp
root@:/usr/share/nginx/html# ls -l /var/lib/nginx/tmp
total 16
drwxrwxrwx 2 nginx nginx 4096 Sep 16 20:04 fastcgi
drwxrwxrwx 2 nginx nginx 4096 Sep 16 20:04 proxy
drwxrwxrwx 2 nginx nginx 4096 Sep 16 20:04 scgi
drwxrwxrwx 2 nginx nginx 4096 Sep 16 20:04 uwsgi
我尝试过谷歌的许多不同的解决方案,但似乎没有任何区别,我在这里缺少什么?