Closed lukebayesian closed 9 months ago
Restart and Run everthing as the root user.
I cloned the repo and have tried both these commands with the same error:
docker compose up
docker compose down
to clear everythingsudo docker compose up
Is this supposed to just work?
This should just work - however, the permissions can be a pain depending on the configuration. I'll commit the changes based on the above command for strict-perms and see if that is helpful.
strict-perms appears to fix this.
Hello.
Most of all, thank you for your post https://www.elastic.co/kr/blog/getting-started-with-the-elastic-stack-and-docker-compose It was very helpful. However, I've got error as bellow.
filebeat
elastic-stack-docker-part-one-filebeat01-1 | Exiting: error loading config file: config file ("filebeat.yml") can only be writable by the owner but the permissions are "-rwxrwxrwx" (to fix the permissions use: 'chmod go-w /usr/share/filebeat/filebeat.yml') elastic-stack-docker-part-one-filebeat01-1 exited with code 1
metricbeat
2023-06-23 14:26:48 Exiting: error loading config file: config file ("metricbeat.yml") can only be writable by the owner but the permissions are "-rwxrwxrwx" (to fix the permissions use: 'chmod go-w /usr/share/metricbeat/metricbeat.yml')
It gave me suffer because i'm not pro user for docker. Anyway, I figured out to solve it with giving command like bellow.
filebeat
metricbeat
I am issueing for anybody who suffers like me :)