Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker compose setup fails due to clickhouse #4239

Closed
nitin302 opened this issue Dec 15, 2023 · 6 comments
Closed

docker compose setup fails due to clickhouse #4239

nitin302 opened this issue Dec 15, 2023 · 6 comments

Comments

@nitin302
Copy link

Bug description

Please describe.
Tried to install signoz with docker compose - https://signoz.io/docs/install/docker/#install-signoz-using-docker-compose. It throws an error as below for Container signoz-clickhouse.

If this affects the front-end, screenshots would be of great help.

Expected behavior

How to reproduce

Version information

  • Signoz version: 0.35.1
  • Browser version: Version 120.0.6099.109 Google Chrome
  • Your OS and version: MacOS 12.6.5
  • Your CPU Architecture(ARM/Intel): ARM Apple Silicon

Additional context

chown: /var/lib/clickhouse/.gitkeep: Permission denied
chown: /var/lib/clickhouse/user_scripts/histogramQuantile.go: Permission denied
chown: /var/lib/clickhouse/user_scripts/histogramQuantile: Permission denied
chown: /var/lib/clickhouse/user_scripts: Permission denied
chown: /var/lib/clickhouse/user_scripts: Permission denied
chown: /var/lib/clickhouse/: Permission denied
chown: /var/lib/clickhouse/: Permission denied
chown: /var/lib/clickhouse/.gitkeep: Permission denied
chown: /var/lib/clickhouse/user_scripts/histogramQuantile.go: Permission denied
chown: /var/lib/clickhouse/user_scripts/histogramQuantile: Permission denied
chown: /var/lib/clickhouse/user_scripts: Permission denied
chown: /var/lib/clickhouse/user_scripts: Permission denied
chown: /var/lib/clickhouse/: Permission denied
chown: /var/lib/clickhouse/: Permission denied
chown: /var/lib/clickhouse/.gitkeep: Permission denied
chown: /var/lib/clickhouse/user_scripts/histogramQuantile.go: Permission denied
chown: /var/lib/clickhouse/user_scripts/histogramQuantile: Permission denied
chown: /var/lib/clickhouse/user_scripts: Permission denied
chown: /var/lib/clickhouse/user_scripts: Permission denied
chown: /var/lib/clickhouse/: Permission denied
chown: /var/lib/clickhouse/: Permission denied
chown: /var/lib/clickhouse/.gitkeep: Permission denied
chown: /var/lib/clickhouse/user_scripts/histogramQuantile.go: Permission denied
chown: /var/lib/clickhouse/user_scripts/histogramQuantile: Permission denied
chown: /var/lib/clickhouse/user_scripts: Permission denied
chown: /var/lib/clickhouse/user_scripts: Permission denied
chown: /var/lib/clickhouse/: Permission denied
chown: /var/lib/clickhouse/: Permission denied
chown: /var/lib/clickhouse/.gitkeep: Permission denied
chown: /var/lib/clickhouse/user_scripts/histogramQuantile.go: Permission denied
chown: /var/lib/clickhouse/user_scripts/histogramQuantile: Permission denied
chown: /var/lib/clickhouse/user_scripts: Permission denied
chown: /var/lib/clickhouse/user_scripts: Permission denied
chown: /var/lib/clickhouse/: Permission denied
chown: /var/lib/clickhouse/: Permission denied
chown: /var/lib/clickhouse/.gitkeep: Permission denied
chown: /var/lib/clickhouse/user_scripts/histogramQuantile.go: Permission denied
chown: /var/lib/clickhouse/user_scripts/histogramQuantile: Permission denied
chown: /var/lib/clickhouse/user_scripts: Permission denied
chown: /var/lib/clickhouse/user_scripts: Permission denied
chown: /var/lib/clickhouse/: Permission denied
chown: /var/lib/clickhouse/: Permission denied
chown: /var/lib/clickhouse/.gitkeep: Permission denied
chown: /var/lib/clickhouse/user_scripts/histogramQuantile.go: Permission denied
chown: /var/lib/clickhouse/user_scripts/histogramQuantile: Permission denied
chown: /var/lib/clickhouse/user_scripts: Permission denied
chown: /var/lib/clickhouse/user_scripts: Permission denied
chown: /var/lib/clickhouse/: Permission denied
chown: /var/lib/clickhouse/: Permission denied
chown: /var/lib/clickhouse/.gitkeep: Permission denied
chown: /var/lib/clickhouse/user_scripts/histogramQuantile.go: Permission denied
chown: /var/lib/clickhouse/user_scripts/histogramQuantile: Permission denied
chown: /var/lib/clickhouse/user_scripts: Permission denied
chown: /var/lib/clickhouse/user_scripts: Permission denied
chown: /var/lib/clickhouse/: Permission denied
chown: /var/lib/clickhouse/: Permission denied
chown: /var/lib/clickhouse/.gitkeep: Permission denied
chown: /var/lib/clickhouse/user_scripts/histogramQuantile.go: Permission denied
chown: /var/lib/clickhouse/user_scripts/histogramQuantile: Permission denied
chown: /var/lib/clickhouse/user_scripts: Permission denied
chown: /var/lib/clickhouse/user_scripts: Permission denied
chown: /var/lib/clickhouse/: Permission denied
chown: /var/lib/clickhouse/: Permission denied
chown: /var/lib/clickhouse/.gitkeep: Permission denied
chown: /var/lib/clickhouse/user_scripts/histogramQuantile.go: Permission denied
chown: /var/lib/clickhouse/user_scripts/histogramQuantile: Permission denied
chown: /var/lib/clickhouse/user_scripts: Permission denied
chown: /var/lib/clickhouse/user_scripts: Permission denied
chown: /var/lib/clickhouse/: Permission denied
chown: /var/lib/clickhouse/: Permission denied
chown: /var/lib/clickhouse/.gitkeep: Permission denied
chown: /var/lib/clickhouse/user_scripts/histogramQuantile.go: Permission denied
chown: /var/lib/clickhouse/user_scripts/histogramQuantile: Permission denied
chown: /var/lib/clickhouse/user_scripts: Permission denied
chown: /var/lib/clickhouse/user_scripts: Permission denied
chown: /var/lib/clickhouse/: Permission denied
chown: /var/lib/clickhouse/: Permission denied
chown: /var/lib/clickhouse/.gitkeep: Permission denied
chown: /var/lib/clickhouse/user_scripts/histogramQuantile.go: Permission denied
chown: /var/lib/clickhouse/user_scripts/histogramQuantile: Permission denied
chown: /var/lib/clickhouse/user_scripts: Permission denied
chown: /var/lib/clickhouse/user_scripts: Permission denied
chown: /var/lib/clickhouse/: Permission denied
chown: /var/lib/clickhouse/: Permission denied

Thank you for your bug report – we love squashing them!

Copy link

welcome bot commented Dec 15, 2023

Thanks for opening this issue. A team member should give feedback soon. In the meantime, feel free to check out the contributing guidelines.

@nitin302
Copy link
Author

any help please?

@prashant-shahi
Copy link
Member

This usually happens when the permissions of ClickHouse data files are changed.

Can you make sure file permissions for deploy/docker/clickhouse-setup/data are permissive?

@nitin302
Copy link
Author

I have given full permission.

cd docker/clickhouse-setup/data
ls -ls
total 0
0 drwxrwxrwx  2 user  staff  64 Dec 15 17:19 clickhouse
0 drwxrwxrwx  2 user  staff  64 Dec 15 17:21 zookeeper-1

Is there any command you'd like me to run?

@nitin302
Copy link
Author

any more help @prashant-shahi ?

@nitin302
Copy link
Author

I was able to resolve the issue. it was due to rancher-desktop:
rancher-sandbox/rancher-desktop#1209 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants