Closed sea72 closed 5 years ago
Thanks for your very detail information, I'm definitely going to find some time recently to dig more.
Thanks for your very detail information, I'm definitely going to find some time recently to dig more.
Thank you. Feeling sorry for troubling you. And i'm tring to solve it.
已进一步参照#44
1 设置uip gid=0 2 修改/php/etc/php-fpm.conf /etc/s6.d/php/run /nginx/conf/nginx.conf (不知是否需要重启php-fpm)
nextcloud 仍然502
ps `~ # ps -ef|grep php 50 root 0:01 s6-supervise php 2558 root 0:00 php-fpm: master process (/php/etc/php-fpm.conf) 2559 root 0:00 php-fpm: pool www 2560 root 0:00 php-fpm: pool www 2562 root 0:00 grep php
~ # exit root@curiosity:~/aria2-ariang-x-docker-compose/nextcloud# docker logs -f -t --tail=10 nextcloud_nextcloud_1 2019-01-16T15:35:16.739843391Z [16-Jan-2019 15:35:16] ERROR: [pool www] please specify user and group other than root 2019-01-16T15:35:16.739975077Z [16-Jan-2019 15:35:16] ERROR: FPM initialization failed 2019-01-16T15:35:17.741229541Z [16-Jan-2019 15:35:17] ERROR: [pool www] please specify user and group other than root 2019-01-16T15:35:17.741322478Z [16-Jan-2019 15:35:17] ERROR: FPM initialization failed 2019-01-16T15:35:18.743209550Z [16-Jan-2019 15:35:18] ERROR: [pool www] please specify user and group other than root 2019-01-16T15:35:18.743333969Z [16-Jan-2019 15:35:18] ERROR: FPM initialization failed 2019-01-16T15:35:19.743144449Z [16-Jan-2019 15:35:19] ERROR: [pool www] please specify user and group other than root 2019-01-16T15:35:19.743257329Z [16-Jan-2019 15:35:19] ERROR: FPM initialization failed 2019-01-16T15:35:20.743267087Z [16-Jan-2019 15:35:20] ERROR: [pool www] please specify user and group other than root 2019-01-16T15:35:20.743366007Z [16-Jan-2019 15:35:20] ERROR: FPM initialization failed `
Thank you.
if you have some time, please also jsut try to run the Nextcloud docker image wonderfall/nextcloud
alone to see if you still have this permission issue or not. This docker image is the same image with what I used in the docker compose file.
To be fair, I tried and I got the same issue.
Today, I tried to modify the permisson of "user-files" to 777 , change the owner to 991 . Unluckily still not work. I think it's beyond my capability for the moment. I'd like to use some alternative scheme. Sorry for this.
That's alright, I don't like the nextcloud docker image either. It's really a plain. By the way, if you don't need a Dropbox thing rather than a file manager you can just try the aria2 + file manager one, it's just a single container. Please see the bootom of the readme for the link. Cheers. On Thu, 17 Jan 2019 at 9:24 pm, oceanwave72 notifications@github.com wrote:
Today, I tried to modify the permisson of "user-files" to 777 , change the owner to 991 . Unluckily still not work. I think it's beyond my capability for the moment. I'd like to use some alternative scheme. Sorry for this.
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/wahyd4/aria2-ariang-x-docker-compose/issues/58#issuecomment-455120570, or mute the thread https://github.com/notifications/unsubscribe-auth/AAzD4HGmwzo-cG6wfONngt8nw_rTr3LYks5vEE9PgaJpZM4aCaPL .
Nice suggestion. Thank you.
I would like to reopen it and will try to solve this issue. Maybe I'll try to make a custom Nextcloud docker image.
@oceanwave72 I think this bug has been fixed from latest commits, would you like a give an another go? The only thing also the most vital command to run on your host(not inside the docker container) is:
chown -R www-data <folder> #The folder you'd like share to the container
Also do not forget to pull the latest docker images by:
docker-compose pull
oh, yesterday I installed it again and found that no permissions to mount external storage. I am just wondering what happened. I'll reinstall it following your instructions tomorrow. I'll keep you updated.
You must run the chown -R command to grant read and write access to www-data user oh your host. On Sat, 19 Jan 2019 at 10:11 pm, oceanwave72 notifications@github.com wrote:
oh, yesterday I installed it again and found that no permissions to mount external storage. I am just wondering what happened. I'll reinstall it following your instructions tomorrow. I'll keep you updated.
— You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/wahyd4/aria2-ariang-x-docker-compose/issues/58#issuecomment-455770976, or mute the thread https://github.com/notifications/unsubscribe-auth/AAzD4JzugIBP5s70egv86pv7XsX1UYJtks5vEv1YgaJpZM4aCaPL .
@wahyd4 I delete the file and reinstall it . However problem still remain. On the website , show the following warning.
1. the owner of the file
the waring on the website
i am the admin of the nextcloud
Thanks for your efforts. Wait for your reply.
So this is not an issue it's just because you didn't find the correct menu. On the settings pages there are two external storage links. I think you clicked the wrong one, please click the one at the bottom. That's the global link for configuring he storage. On Sun, 20 Jan 2019 at 8:59 pm, oceanwave72 notifications@github.com wrote:
@wahyd4 https://github.com/wahyd4 I delete the file and reinstall it . However problem still remain. On the website , show the following warning.
1. the owner of the file [image: default] https://user-images.githubusercontent.com/24682001/51437689-8cac5d80-1cdc-11e9-9e72-300e9f073d29.PNG
- the waring on the website
[image: 1] https://user-images.githubusercontent.com/24682001/51437718-ddbc5180-1cdc-11e9-89e9-c08c513b9bd0.PNG
- i am the admin of the nextcloud
[image: 2] https://user-images.githubusercontent.com/24682001/51437721-f88ec600-1cdc-11e9-9217-3313152ed0c8.PNG
Thanks for your efforts. Wait for your reply.
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/wahyd4/aria2-ariang-x-docker-compose/issues/58#issuecomment-455852583, or mute the thread https://github.com/notifications/unsubscribe-auth/AAzD4MMwKIamexXRQvtjr_FVTJM5RUPkks5vFD4EgaJpZM4aCaPL .
@wahyd4 Many thanks for your patient help. I've solve this finally.
@wahyd4 By the way , i found the readme.md in nextcoud is a little different with the one of main page.
- /data/nextcloud:/data
VERSUS - ./data/nextcloud:/data
A symbol "." seems to be lost. I am not sure if this represent the absolute path and relative path.
Thank you again. The appreciation is beyond my words.
I'll double check, thank you. On Sun, 20 Jan 2019 at 9:55 pm, oceanwave72 notifications@github.com wrote:
@wahyd4 https://github.com/wahyd4 By the way , i found the readme.md in nextcoud is a little different with the one of main page.
- /data/nextcloud:/data TO - ./data/nextcloud:/data A symbol "." seems to be lost. I am not sure if this represent the absolute path and relative path. Thank you again.
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/wahyd4/aria2-ariang-x-docker-compose/issues/58#issuecomment-455856006, or mute the thread https://github.com/notifications/unsubscribe-auth/AAzD4GXJN2Zf1vYR2epViuSBsbPP6Znsks5vFEsMgaJpZM4aCaPL .
@oceanwave72 whether to have .
doesn't matter, it means different folder, as long as you can access those folders, then that's all good
I found that the command needs to be executed after downloading new files. So I set a crontab task.
That shouldn't be the case. Maybe because the chown has been applied to the sub folders. On Mon, 21 Jan 2019 at 1:08 pm, oceanwave72 notifications@github.com wrote:
I found that the command needs to be executed after downloading new files. So I set a crontab task.
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/wahyd4/aria2-ariang-x-docker-compose/issues/58#issuecomment-455927284, or mute the thread https://github.com/notifications/unsubscribe-auth/AAzD4ExiPiXej-qehjFGw_7iUUuA6mPsks5vFSEdgaJpZM4aCaPL .
纯小白一个, 参考了以前的几个issue,问题还是没有解决,迫不得已提个issue。配置都是原始配置。
已做了的尝试: 1,更新代码,获取最近镜像 2,nextcloud下创建envrioment, 更改uid gid=0,nextcloud无法访问,错误502,已等待数分钟 3,root运行docker sudo docker-compose up 4,参照#44 ,修改文件 (1)修改/php/etc/php-fpm.conf (2)修改/etc/s6.d/php/run (3)修改/nginx/conf/nginx.conf
ps/yml文件
version: '2'
services: nextcloud: image: wonderfall/nextcloud volumes:
volumes:
- /some_folder:/root/conf/key
- ~/test/aria2.conf:/root/conf/aria2.conf
environment:
- SSL=true
- RPC_SECRET=Hello
- ARIA2_USER=admin
- ARIA2_PWD=password
- ENABLE_AUTH=true
links: