You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/07/01 12:05:29 UTC

[GitHub] [apisix-docker] duandao1950 opened a new issue #192: etcdmain: cannot access data directory: mkdir /bitnami/etcd/data: permission denied

duandao1950 opened a new issue #192:
URL: https://github.com/apache/apisix-docker/issues/192


   [root@localhost example]# docker version
   Client: Docker Engine - Community
   Version: 20.10.7
   API version: 1.41
   Go version: go1.13.15
   Git commit: f0df350
   Built: Wed Jun 2 11:58:10 2021
   OS/Arch: linux/amd64
   Context: default
   Experimental: true
   
   Server: Docker Engine - Community
   Engine:
   Version: 20.10.7
   API version: 1.41 (minimum version 1.12)
   Go version: go1.13.15
   Git commit: b0f5bc3
   Built: Wed Jun 2 11:56:35 2021
   OS/Arch: linux/amd64
   Experimental: false
   containerd:
   Version: 1.4.6
   GitCommit: d71fcd7d8303cbf684402823e425e9dd2e99285d
   runc:
   Version: 1.0.0-rc95
   GitCommit: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7
   docker-init:
   Version: 0.19.0
   GitCommit: de40ad0
   
   etcd_1 | 2021-07-01 11:57:38.007837 I | embed: advertise client URLs = http://0.0.0.0:2379
   etcd_1 | 2021-07-01 11:57:38.007935 C | etcdmain: cannot access data directory: mkdir /bitnami/etcd/data: permission denied
   
   etcd:
   image: bitnami/etcd:3.4.15
   user: root
   restart: always
   privileged: true
   volumes:
   - ./etcd_data:/bitnami/etcd
   environment:
   ETCD_ENABLE_V2: "true"
   ALLOW_NONE_AUTHENTICATION: "yes"
   ETCD_ADVERTISE_CLIENT_URLS: "http://0.0.0.0:2379"
   ETCD_LISTEN_CLIENT_URLS: "http://0.0.0.0:2379"
   ports:
   - "2379:2379/tcp"
   networks:
   apisix:
   
   please help!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-docker] github-actions[bot] commented on issue #192: etcdmain: cannot access data directory: mkdir /bitnami/etcd/data: permission denied

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #192:
URL: https://github.com/apache/apisix-docker/issues/192#issuecomment-958807565


   This issue has been marked as stale due to 30 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-docker] Yiyiyimu commented on issue #192: etcdmain: cannot access data directory: mkdir /bitnami/etcd/data: permission denied

Posted by GitBox <gi...@apache.org>.
Yiyiyimu commented on issue #192:
URL: https://github.com/apache/apisix-docker/issues/192#issuecomment-872510478


   Change the permission of `/etcd_data` to 777 could fix the problem on my side. You could give it a try.
   
   Since the original permission is already 775, do you have some other suggestions on the permission issue @tokers 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-docker] github-actions[bot] commented on issue #192: etcdmain: cannot access data directory: mkdir /bitnami/etcd/data: permission denied

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #192:
URL: https://github.com/apache/apisix-docker/issues/192#issuecomment-971426442


   This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-docker] github-actions[bot] commented on issue #192: etcdmain: cannot access data directory: mkdir /bitnami/etcd/data: permission denied

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #192:
URL: https://github.com/apache/apisix-docker/issues/192#issuecomment-958807565


   This issue has been marked as stale due to 30 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-docker] github-actions[bot] closed issue #192: etcdmain: cannot access data directory: mkdir /bitnami/etcd/data: permission denied

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #192:
URL: https://github.com/apache/apisix-docker/issues/192


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-docker] github-actions[bot] commented on issue #192: etcdmain: cannot access data directory: mkdir /bitnami/etcd/data: permission denied

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #192:
URL: https://github.com/apache/apisix-docker/issues/192#issuecomment-958807565


   This issue has been marked as stale due to 30 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-docker] github-actions[bot] commented on issue #192: etcdmain: cannot access data directory: mkdir /bitnami/etcd/data: permission denied

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #192:
URL: https://github.com/apache/apisix-docker/issues/192#issuecomment-958807565


   This issue has been marked as stale due to 30 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-docker] sofire commented on issue #192: etcdmain: cannot access data directory: mkdir /bitnami/etcd/data: permission denied

Posted by GitBox <gi...@apache.org>.
sofire commented on issue #192:
URL: https://github.com/apache/apisix-docker/issues/192#issuecomment-888235729


   cd apisix-docker/example/
   chown -R 1000:1000 etcd_data/ 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-docker] lingsamuel commented on issue #192: etcdmain: cannot access data directory: mkdir /bitnami/etcd/data: permission denied

Posted by GitBox <gi...@apache.org>.
lingsamuel commented on issue #192:
URL: https://github.com/apache/apisix-docker/issues/192#issuecomment-872680638


   Data directory should be owned by user `etcd` by default because the `bitnami/etcd` runs etcd as `ETCD_DAEMON_USER` which default value is `etcd`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-docker] tokers commented on issue #192: etcdmain: cannot access data directory: mkdir /bitnami/etcd/data: permission denied

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #192:
URL: https://github.com/apache/apisix-docker/issues/192#issuecomment-872677279


   @duandao1950 What is the owner and group and the permission for `./etcd_data`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-docker] duandao1950 commented on issue #192: etcdmain: cannot access data directory: mkdir /bitnami/etcd/data: permission denied

Posted by GitBox <gi...@apache.org>.
duandao1950 commented on issue #192:
URL: https://github.com/apache/apisix-docker/issues/192#issuecomment-872656180


   fixed! thx.
   
   step:
   cd  apisix-docker/example/
   this directory: chmod 777 etcd_data 
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org