wahyd4 / aria2-ariang-x-docker-compose

Docker compose files for Aria2+ AriaNg+ filerun/ Nextcloud/ h5ai + Plex. 图形化BT,磁力,离线下载,文件管理,播放,投屏
1.79k stars 281 forks source link

无法创建或写入数据目录/data #6

Closed 462428632 closed 7 years ago

462428632 commented 7 years ago

NextCloud第一次登陆设置密码和数据库时,提示无法创建或写入数据目录/data

wahyd4 commented 7 years ago

这个是因为你没有权限创建/data目录,请手动创建,使用chmod让你自己有读和写的权限哦。如果你是在windows下运行,请自行修改docker-compose.yml文件里面volumns节点下面的属性,将/data目录,换成你自己想要使用的目录。 462428632 notifications@github.com于2017年8月26日 周六上午11:07写道:

NextCloud第一次登陆设置密码和数据库时,提示无法创建或写入数据目录/data

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wahyd4/aria2-ariang-x-docker-compose/issues/6, or mute the thread https://github.com/notifications/unsubscribe-auth/AAzD4Ppbo7t_KzGnNe-XFSng_BfcFgCoks5sb4v8gaJpZM4PDVM- .

462428632 commented 7 years ago

你好, 我是刚接触centos,逛vex时候,看到你的文章,家里有台服务器想试着假设个私有云。 根据yml文件配置 /data/nextcloud目录创建成功了,并且给/data目录加了777权限:

但是依旧会有权限提示:

大神,是不是还有其他需要注意的地方呢

462428632 commented 7 years ago

解决这个问题了,是服务器selinux的问题