fecshop / yii2_fecshop_docker

使用docker compose 快速的安装fecshop的环境,包括mysql php(含扩展),mongodb,mysql,redis,xunsearch等
185 stars 119 forks source link

产品信息管理->描述部分->上传图片失败 #25

Closed sublime-whisky closed 4 years ago

sublime-whisky commented 4 years ago

版本2.4.6 环境aliyun ubuntu18.0 64位

root@iZuf67odp1teij228si5v5Z:/www/web/yii2_fecshop_docker-master/app/fecshop# docker-compose exec php bash

root@e702da482069:/www/web/fecshop/appimage/common/media/catalog/product# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  1.1 197212 23664 ?        Ss   Feb17   0:05 php-fpm: master process (/usr/local/etc/php-fpm.conf)
**www-data**     6  0.0  1.3 208392 27736 ?        S    Feb17   0:18 php-fpm: pool www
**www-data**     7  0.0  1.3 207700 26728 ?        S    Feb17   0:19 php-fpm: pool www
root        48  0.1  0.1  20264  3228 pts/0    Ss   19:25   0:00 bash
root        63  0.0  0.0  17504  2012 pts/0    R+   19:27   0:00 ps aux

root@e702da482069:/www/web/fecshop/appimage/common/media# ls -al
total 16
drwxr-xr-x  4 root root 4096 Feb 17 16:04 .
drwxr-xr-x 12 root root 4096 Feb 17 16:04 ..
drwxr-xr-x  4 root root 4096 Feb 17 16:04 catalog
drwxr-xr-x  4 root root 4096 Feb 17 16:04 upload

上传创建文件失败?www-data用户貌似没有upload目录的修改权限?

fancyecommerce commented 4 years ago

有问题,直接官网论坛发帖子:http://www.fecmall.com/topic