self-hosted icon indicating copy to clipboard operation
self-hosted copied to clipboard

Install failure: Access to file denied

Open avegancafe opened this issue 1 year ago • 13 comments

Self-Hosted Version

22.8.0

CPU Architecture

aarch64

Docker Version

20.10.13

Docker Compose Version

1.29.2

Steps to Reproduce

  • Download zip file from release
  • cd to directory
  • run install.sh

Expected Result

Installs without error

Actual Result

It appears as if during boot of the clickhouse container, it's trying to mount to like /etc or something and it does not have permission to do that. Not entirely sure though. Here are all of the logs from clickhouse once it starts erroring. Let me know if you want the full log output.

Docker logs...
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Processing configuration file '/etc/clickhouse-server/config.xml'.
sentry-self-hosted-clickhouse-1  | Merging configuration file '/etc/clickhouse-server/config.d/docker_related_config.xml'.
sentry-self-hosted-clickhouse-1  | Merging configuration file '/etc/clickhouse-server/config.d/sentry.xml'.
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml, Stack trace (when copying this message, always include the lines below):
sentry-self-hosted-clickhouse-1  | 
sentry-self-hosted-clickhouse-1  | 0. /build/build_docker/../contrib/poco/Foundation/src/Exception.cpp:28: Poco::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0xd1ad5d4 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 1. /build/build_docker/../src/Common/Config/ConfigProcessor.cpp:498: DB::ConfigProcessor::processConfig(bool*, zkutil::ZooKeeperNodeCache*, std::__1::shared_ptr<Poco::Event> const&) @ 0xcd867a0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 2. /build/build_docker/../contrib/libcxx/include/memory:3211: DB::ConfigProcessor::loadConfig(bool) @ 0xcd86a58 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 3. /build/build_docker/../base/daemon/BaseDaemon.cpp:474: BaseDaemon::reloadConfiguration() @ 0x72068dc in /usr/bin/clickhouse
sentry-self-hosted-kafka-1       | [2022-09-09 15:55:38,071] INFO [kafka-log-cleaner-thread-0]: Starting (kafka.log.LogCleaner)
sentry-self-hosted-kafka-1       | [2022-09-09 15:55:39,637] INFO Awaiting socket connections on 0.0.0.0:9092. (kafka.network.Acceptor)
sentry-self-hosted-kafka-1       | [2022-09-09 15:55:39,836] INFO [SocketServer brokerId=1001] Created data-plane acceptor and processors for endpoint : EndPoint(0.0.0.0,9092,ListenerName(PLAINTEXT),PLAINTEXT) (kafka.network.SocketServer)
sentry-self-hosted-kafka-1       | [2022-09-09 15:55:39,842] INFO [SocketServer brokerId=1001] Started 1 acceptor threads for data-plane (kafka.network.SocketServer)
sentry-self-hosted-kafka-1       | [2022-09-09 15:55:40,587] INFO Creating /brokers/ids/1001 (is it secure? false) (kafka.zk.KafkaZkClient)
sentry-self-hosted-kafka-1       | [2022-09-09 15:55:40,677] ERROR [KafkaServer id=1001] Fatal error during KafkaServer shutdown. (kafka.server.KafkaServer)
sentry-self-hosted-kafka-1       | java.lang.IllegalStateException: Kafka server is still starting up, cannot shut down!
sentry-self-hosted-kafka-1       | 	at kafka.server.KafkaServer.shutdown(KafkaServer.scala:623)
sentry-self-hosted-kafka-1       | 	at io.confluent.support.metrics.SupportedServerStartable.shutdown(SupportedServerStartable.java:147)
sentry-self-hosted-kafka-1       | 	at io.confluent.support.metrics.SupportedKafka$1.run(SupportedKafka.java:62)
sentry-self-hosted-kafka-1       | [2022-09-09 15:55:40,703] ERROR Caught exception when trying to shut down KafkaServer. Exiting forcefully. (io.confluent.support.metrics.SupportedServerStartable)
sentry-self-hosted-kafka-1       | java.lang.IllegalStateException: Kafka server is still starting up, cannot shut down!
sentry-self-hosted-kafka-1       | 	at kafka.server.KafkaServer.shutdown(KafkaServer.scala:623)
sentry-self-hosted-kafka-1       | 	at io.confluent.support.metrics.SupportedServerStartable.shutdown(SupportedServerStartable.java:147)
sentry-self-hosted-kafka-1       | 	at io.confluent.support.metrics.SupportedKafka$1.run(SupportedKafka.java:62)
sentry-self-hosted-clickhouse-1  | 4. /build/build_docker/../base/daemon/BaseDaemon.cpp:0: BaseDaemon::initialize(Poco::Util::Application&) @ 0x72074b0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 5. /build/build_docker/../programs/server/Server.cpp:387: DB::Server::initialize(Poco::Util::Application&) @ 0x7120958 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 6. /build/build_docker/../contrib/poco/Util/src/Application.cpp:334: Poco::Util::Application::run() @ 0xd08abc8 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 7. /build/build_docker/../programs/server/Server.cpp:382: DB::Server::run() @ 0x712089c in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 8. /build/build_docker/../contrib/poco/Util/src/ServerApplication.cpp:612: Poco::Util::ServerApplication::run(int, char**) @ 0xd0a07d0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 9. /build/build_docker/../programs/server/Server.cpp:0: mainEntryClickHouseServer(int, char**) @ 0x711f760 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 10. /build/build_docker/../programs/main.cpp:0: main @ 0x70c355c in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 11. __libc_start_main @ 0x24090 in /usr/lib/aarch64-linux-gnu/libc-2.31.so
sentry-self-hosted-clickhouse-1  |  (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Processing configuration file '/etc/clickhouse-server/config.xml'.
sentry-self-hosted-clickhouse-1  | Merging configuration file '/etc/clickhouse-server/config.d/docker_related_config.xml'.
sentry-self-hosted-clickhouse-1  | Merging configuration file '/etc/clickhouse-server/config.d/sentry.xml'.
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml, Stack trace (when copying this message, always include the lines below):
sentry-self-hosted-clickhouse-1  | 
sentry-self-hosted-clickhouse-1  | 0. /build/build_docker/../contrib/poco/Foundation/src/Exception.cpp:28: Poco::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0xd1ad5d4 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 1. /build/build_docker/../src/Common/Config/ConfigProcessor.cpp:498: DB::ConfigProcessor::processConfig(bool*, zkutil::ZooKeeperNodeCache*, std::__1::shared_ptr<Poco::Event> const&) @ 0xcd867a0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 2. /build/build_docker/../contrib/libcxx/include/memory:3211: DB::ConfigProcessor::loadConfig(bool) @ 0xcd86a58 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 3. /build/build_docker/../base/daemon/BaseDaemon.cpp:474: BaseDaemon::reloadConfiguration() @ 0x72068dc in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 4. /build/build_docker/../base/daemon/BaseDaemon.cpp:0: BaseDaemon::initialize(Poco::Util::Application&) @ 0x72074b0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 5. /build/build_docker/../programs/server/Server.cpp:387: DB::Server::initialize(Poco::Util::Application&) @ 0x7120958 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 6. /build/build_docker/../contrib/poco/Util/src/Application.cpp:334: Poco::Util::Application::run() @ 0xd08abc8 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 7. /build/build_docker/../programs/server/Server.cpp:382: DB::Server::run() @ 0x712089c in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 8. /build/build_docker/../contrib/poco/Util/src/ServerApplication.cpp:612: Poco::Util::ServerApplication::run(int, char**) @ 0xd0a07d0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 9. /build/build_docker/../programs/server/Server.cpp:0: mainEntryClickHouseServer(int, char**) @ 0x711f760 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 10. /build/build_docker/../programs/main.cpp:0: main @ 0x70c355c in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 11. __libc_start_main @ 0x24090 in /usr/lib/aarch64-linux-gnu/libc-2.31.so
sentry-self-hosted-clickhouse-1  |  (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Processing configuration file '/etc/clickhouse-server/config.xml'.
sentry-self-hosted-clickhouse-1  | Merging configuration file '/etc/clickhouse-server/config.d/docker_related_config.xml'.
sentry-self-hosted-clickhouse-1  | Merging configuration file '/etc/clickhouse-server/config.d/sentry.xml'.
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml, Stack trace (when copying this message, always include the lines below):
sentry-self-hosted-clickhouse-1  | 
sentry-self-hosted-clickhouse-1  | 0. /build/build_docker/../contrib/poco/Foundation/src/Exception.cpp:28: Poco::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0xd1ad5d4 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 1. /build/build_docker/../src/Common/Config/ConfigProcessor.cpp:498: DB::ConfigProcessor::processConfig(bool*, zkutil::ZooKeeperNodeCache*, std::__1::shared_ptr<Poco::Event> const&) @ 0xcd867a0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 2. /build/build_docker/../contrib/libcxx/include/memory:3211: DB::ConfigProcessor::loadConfig(bool) @ 0xcd86a58 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 3. /build/build_docker/../base/daemon/BaseDaemon.cpp:474: BaseDaemon::reloadConfiguration() @ 0x72068dc in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 4. /build/build_docker/../base/daemon/BaseDaemon.cpp:0: BaseDaemon::initialize(Poco::Util::Application&) @ 0x72074b0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 5. /build/build_docker/../programs/server/Server.cpp:387: DB::Server::initialize(Poco::Util::Application&) @ 0x7120958 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 6. /build/build_docker/../contrib/poco/Util/src/Application.cpp:334: Poco::Util::Application::run() @ 0xd08abc8 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 7. /build/build_docker/../programs/server/Server.cpp:382: DB::Server::run() @ 0x712089c in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 8. /build/build_docker/../contrib/poco/Util/src/ServerApplication.cpp:612: Poco::Util::ServerApplication::run(int, char**) @ 0xd0a07d0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 9. /build/build_docker/../programs/server/Server.cpp:0: mainEntryClickHouseServer(int, char**) @ 0x711f760 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 10. /build/build_docker/../programs/main.cpp:0: main @ 0x70c355c in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 11. __libc_start_main @ 0x24090 in /usr/lib/aarch64-linux-gnu/libc-2.31.so
sentry-self-hosted-clickhouse-1  |  (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Processing configuration file '/etc/clickhouse-server/config.xml'.
sentry-self-hosted-clickhouse-1  | Merging configuration file '/etc/clickhouse-server/config.d/docker_related_config.xml'.
sentry-self-hosted-clickhouse-1  | Merging configuration file '/etc/clickhouse-server/config.d/sentry.xml'.
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml, Stack trace (when copying this message, always include the lines below):
sentry-self-hosted-clickhouse-1  | 
sentry-self-hosted-clickhouse-1  | 0. /build/build_docker/../contrib/poco/Foundation/src/Exception.cpp:28: Poco::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0xd1ad5d4 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 1. /build/build_docker/../src/Common/Config/ConfigProcessor.cpp:498: DB::ConfigProcessor::processConfig(bool*, zkutil::ZooKeeperNodeCache*, std::__1::shared_ptr<Poco::Event> const&) @ 0xcd867a0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 2. /build/build_docker/../contrib/libcxx/include/memory:3211: DB::ConfigProcessor::loadConfig(bool) @ 0xcd86a58 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 3. /build/build_docker/../base/daemon/BaseDaemon.cpp:474: BaseDaemon::reloadConfiguration() @ 0x72068dc in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 4. /build/build_docker/../base/daemon/BaseDaemon.cpp:0: BaseDaemon::initialize(Poco::Util::Application&) @ 0x72074b0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 5. /build/build_docker/../programs/server/Server.cpp:387: DB::Server::initialize(Poco::Util::Application&) @ 0x7120958 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 6. /build/build_docker/../contrib/poco/Util/src/Application.cpp:334: Poco::Util::Application::run() @ 0xd08abc8 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 7. /build/build_docker/../programs/server/Server.cpp:382: DB::Server::run() @ 0x712089c in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 8. /build/build_docker/../contrib/poco/Util/src/ServerApplication.cpp:612: Poco::Util::ServerApplication::run(int, char**) @ 0xd0a07d0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 9. /build/build_docker/../programs/server/Server.cpp:0: mainEntryClickHouseServer(int, char**) @ 0x711f760 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 10. /build/build_docker/../programs/main.cpp:0: main @ 0x70c355c in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 11. __libc_start_main @ 0x24090 in /usr/lib/aarch64-linux-gnu/libc-2.31.so
sentry-self-hosted-clickhouse-1  |  (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Processing configuration file '/etc/clickhouse-server/config.xml'.
sentry-self-hosted-clickhouse-1  | Merging configuration file '/etc/clickhouse-server/config.d/docker_related_config.xml'.
sentry-self-hosted-clickhouse-1  | Merging configuration file '/etc/clickhouse-server/config.d/sentry.xml'.
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml, Stack trace (when copying this message, always include the lines below):
sentry-self-hosted-clickhouse-1  | 
sentry-self-hosted-clickhouse-1  | 0. /build/build_docker/../contrib/poco/Foundation/src/Exception.cpp:28: Poco::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0xd1ad5d4 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 1. /build/build_docker/../src/Common/Config/ConfigProcessor.cpp:498: DB::ConfigProcessor::processConfig(bool*, zkutil::ZooKeeperNodeCache*, std::__1::shared_ptr<Poco::Event> const&) @ 0xcd867a0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 2. /build/build_docker/../contrib/libcxx/include/memory:3211: DB::ConfigProcessor::loadConfig(bool) @ 0xcd86a58 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 3. /build/build_docker/../base/daemon/BaseDaemon.cpp:474: BaseDaemon::reloadConfiguration() @ 0x72068dc in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 4. /build/build_docker/../base/daemon/BaseDaemon.cpp:0: BaseDaemon::initialize(Poco::Util::Application&) @ 0x72074b0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 5. /build/build_docker/../programs/server/Server.cpp:387: DB::Server::initialize(Poco::Util::Application&) @ 0x7120958 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 6. /build/build_docker/../contrib/poco/Util/src/Application.cpp:334: Poco::Util::Application::run() @ 0xd08abc8 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 7. /build/build_docker/../programs/server/Server.cpp:382: DB::Server::run() @ 0x712089c in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 8. /build/build_docker/../contrib/poco/Util/src/ServerApplication.cpp:612: Poco::Util::ServerApplication::run(int, char**) @ 0xd0a07d0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 9. /build/build_docker/../programs/server/Server.cpp:0: mainEntryClickHouseServer(int, char**) @ 0x711f760 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 10. /build/build_docker/../programs/main.cpp:0: main @ 0x70c355c in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 11. __libc_start_main @ 0x24090 in /usr/lib/aarch64-linux-gnu/libc-2.31.so
sentry-self-hosted-clickhouse-1  |  (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Processing configuration file '/etc/clickhouse-server/config.xml'.
sentry-self-hosted-clickhouse-1  | Merging configuration file '/etc/clickhouse-server/config.d/docker_related_config.xml'.
sentry-self-hosted-clickhouse-1  | Merging configuration file '/etc/clickhouse-server/config.d/sentry.xml'.
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml, Stack trace (when copying this message, always include the lines below):
sentry-self-hosted-clickhouse-1  | 
sentry-self-hosted-clickhouse-1  | 0. /build/build_docker/../contrib/poco/Foundation/src/Exception.cpp:28: Poco::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0xd1ad5d4 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 1. /build/build_docker/../src/Common/Config/ConfigProcessor.cpp:498: DB::ConfigProcessor::processConfig(bool*, zkutil::ZooKeeperNodeCache*, std::__1::shared_ptr<Poco::Event> const&) @ 0xcd867a0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 2. /build/build_docker/../contrib/libcxx/include/memory:3211: DB::ConfigProcessor::loadConfig(bool) @ 0xcd86a58 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 3. /build/build_docker/../base/daemon/BaseDaemon.cpp:474: BaseDaemon::reloadConfiguration() @ 0x72068dc in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 4. /build/build_docker/../base/daemon/BaseDaemon.cpp:0: BaseDaemon::initialize(Poco::Util::Application&) @ 0x72074b0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 5. /build/build_docker/../programs/server/Server.cpp:387: DB::Server::initialize(Poco::Util::Application&) @ 0x7120958 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 6. /build/build_docker/../contrib/poco/Util/src/Application.cpp:334: Poco::Util::Application::run() @ 0xd08abc8 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 7. /build/build_docker/../programs/server/Server.cpp:382: DB::Server::run() @ 0x712089c in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 8. /build/build_docker/../contrib/poco/Util/src/ServerApplication.cpp:612: Poco::Util::ServerApplication::run(int, char**) @ 0xd0a07d0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 9. /build/build_docker/../programs/server/Server.cpp:0: mainEntryClickHouseServer(int, char**) @ 0x711f760 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 10. /build/build_docker/../programs/main.cpp:0: main @ 0x70c355c in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 11. __libc_start_main @ 0x24090 in /usr/lib/aarch64-linux-gnu/libc-2.31.so
sentry-self-hosted-clickhouse-1  |  (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Processing configuration file '/etc/clickhouse-server/config.xml'.
sentry-self-hosted-clickhouse-1  | Merging configuration file '/etc/clickhouse-server/config.d/docker_related_config.xml'.
sentry-self-hosted-clickhouse-1  | Merging configuration file '/etc/clickhouse-server/config.d/sentry.xml'.
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml, Stack trace (when copying this message, always include the lines below):
sentry-self-hosted-clickhouse-1  | 
sentry-self-hosted-clickhouse-1  | 0. /build/build_docker/../contrib/poco/Foundation/src/Exception.cpp:28: Poco::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0xd1ad5d4 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 1. /build/build_docker/../src/Common/Config/ConfigProcessor.cpp:498: DB::ConfigProcessor::processConfig(bool*, zkutil::ZooKeeperNodeCache*, std::__1::shared_ptr<Poco::Event> const&) @ 0xcd867a0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 2. /build/build_docker/../contrib/libcxx/include/memory:3211: DB::ConfigProcessor::loadConfig(bool) @ 0xcd86a58 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 3. /build/build_docker/../base/daemon/BaseDaemon.cpp:474: BaseDaemon::reloadConfiguration() @ 0x72068dc in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 4. /build/build_docker/../base/daemon/BaseDaemon.cpp:0: BaseDaemon::initialize(Poco::Util::Application&) @ 0x72074b0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 5. /build/build_docker/../programs/server/Server.cpp:387: DB::Server::initialize(Poco::Util::Application&) @ 0x7120958 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 6. /build/build_docker/../contrib/poco/Util/src/Application.cpp:334: Poco::Util::Application::run() @ 0xd08abc8 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 7. /build/build_docker/../programs/server/Server.cpp:382: DB::Server::run() @ 0x712089c in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 8. /build/build_docker/../contrib/poco/Util/src/ServerApplication.cpp:612: Poco::Util::ServerApplication::run(int, char**) @ 0xd0a07d0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 9. /build/build_docker/../programs/server/Server.cpp:0: mainEntryClickHouseServer(int, char**) @ 0x711f760 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 10. /build/build_docker/../programs/main.cpp:0: main @ 0x70c355c in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 11. __libc_start_main @ 0x24090 in /usr/lib/aarch64-linux-gnu/libc-2.31.so
sentry-self-hosted-clickhouse-1  |  (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Processing configuration file '/etc/clickhouse-server/config.xml'.
sentry-self-hosted-clickhouse-1  | Merging configuration file '/etc/clickhouse-server/config.d/docker_related_config.xml'.
sentry-self-hosted-clickhouse-1  | Merging configuration file '/etc/clickhouse-server/config.d/sentry.xml'.
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml, Stack trace (when copying this message, always include the lines below):
sentry-self-hosted-clickhouse-1  | 
sentry-self-hosted-clickhouse-1  | 0. /build/build_docker/../contrib/poco/Foundation/src/Exception.cpp:28: Poco::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0xd1ad5d4 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 1. /build/build_docker/../src/Common/Config/ConfigProcessor.cpp:498: DB::ConfigProcessor::processConfig(bool*, zkutil::ZooKeeperNodeCache*, std::__1::shared_ptr<Poco::Event> const&) @ 0xcd867a0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 2. /build/build_docker/../contrib/libcxx/include/memory:3211: DB::ConfigProcessor::loadConfig(bool) @ 0xcd86a58 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 3. /build/build_docker/../base/daemon/BaseDaemon.cpp:474: BaseDaemon::reloadConfiguration() @ 0x72068dc in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 4. /build/build_docker/../base/daemon/BaseDaemon.cpp:0: BaseDaemon::initialize(Poco::Util::Application&) @ 0x72074b0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 5. /build/build_docker/../programs/server/Server.cpp:387: DB::Server::initialize(Poco::Util::Application&) @ 0x7120958 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 6. /build/build_docker/../contrib/poco/Util/src/Application.cpp:334: Poco::Util::Application::run() @ 0xd08abc8 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 7. /build/build_docker/../programs/server/Server.cpp:382: DB::Server::run() @ 0x712089c in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 8. /build/build_docker/../contrib/poco/Util/src/ServerApplication.cpp:612: Poco::Util::ServerApplication::run(int, char**) @ 0xd0a07d0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 9. /build/build_docker/../programs/server/Server.cpp:0: mainEntryClickHouseServer(int, char**) @ 0x711f760 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 10. /build/build_docker/../programs/main.cpp:0: main @ 0x70c355c in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 11. __libc_start_main @ 0x24090 in /usr/lib/aarch64-linux-gnu/libc-2.31.so
sentry-self-hosted-clickhouse-1  |  (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Processing configuration file '/etc/clickhouse-server/config.xml'.
sentry-self-hosted-clickhouse-1  | Merging configuration file '/etc/clickhouse-server/config.d/docker_related_config.xml'.
sentry-self-hosted-clickhouse-1  | Merging configuration file '/etc/clickhouse-server/config.d/sentry.xml'.
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml, Stack trace (when copying this message, always include the lines below):
sentry-self-hosted-clickhouse-1  | 
sentry-self-hosted-clickhouse-1  | 0. /build/build_docker/../contrib/poco/Foundation/src/Exception.cpp:28: Poco::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0xd1ad5d4 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 1. /build/build_docker/../src/Common/Config/ConfigProcessor.cpp:498: DB::ConfigProcessor::processConfig(bool*, zkutil::ZooKeeperNodeCache*, std::__1::shared_ptr<Poco::Event> const&) @ 0xcd867a0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 2. /build/build_docker/../contrib/libcxx/include/memory:3211: DB::ConfigProcessor::loadConfig(bool) @ 0xcd86a58 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 3. /build/build_docker/../base/daemon/BaseDaemon.cpp:474: BaseDaemon::reloadConfiguration() @ 0x72068dc in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 4. /build/build_docker/../base/daemon/BaseDaemon.cpp:0: BaseDaemon::initialize(Poco::Util::Application&) @ 0x72074b0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 5. /build/build_docker/../programs/server/Server.cpp:387: DB::Server::initialize(Poco::Util::Application&) @ 0x7120958 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 6. /build/build_docker/../contrib/poco/Util/src/Application.cpp:334: Poco::Util::Application::run() @ 0xd08abc8 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 7. /build/build_docker/../programs/server/Server.cpp:382: DB::Server::run() @ 0x712089c in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 8. /build/build_docker/../contrib/poco/Util/src/ServerApplication.cpp:612: Poco::Util::ServerApplication::run(int, char**) @ 0xd0a07d0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 9. /build/build_docker/../programs/server/Server.cpp:0: mainEntryClickHouseServer(int, char**) @ 0x711f760 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 10. /build/build_docker/../programs/main.cpp:0: main @ 0x70c355c in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 11. __libc_start_main @ 0x24090 in /usr/lib/aarch64-linux-gnu/libc-2.31.so
sentry-self-hosted-clickhouse-1  |  (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml (version 21.6.1.6734 (official build))
sentry-self-hosted-clickhouse-1  | Processing configuration file '/etc/clickhouse-server/config.xml'.
sentry-self-hosted-clickhouse-1  | Merging configuration file '/etc/clickhouse-server/config.d/docker_related_config.xml'.
sentry-self-hosted-clickhouse-1  | Merging configuration file '/etc/clickhouse-server/config.d/sentry.xml'.
sentry-self-hosted-clickhouse-1  | Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: insufficient permissions: /etc/clickhouse-server/config.d/sentry.xml, Stack trace (when copying this message, always include the lines below):
sentry-self-hosted-clickhouse-1  | 
sentry-self-hosted-clickhouse-1  | 0. /build/build_docker/../contrib/poco/Foundation/src/Exception.cpp:28: Poco::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) @ 0xd1ad5d4 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 1. /build/build_docker/../src/Common/Config/ConfigProcessor.cpp:498: DB::ConfigProcessor::processConfig(bool*, zkutil::ZooKeeperNodeCache*, std::__1::shared_ptr<Poco::Event> const&) @ 0xcd867a0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 2. /build/build_docker/../contrib/libcxx/include/memory:3211: DB::ConfigProcessor::loadConfig(bool) @ 0xcd86a58 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 3. /build/build_docker/../base/daemon/BaseDaemon.cpp:474: BaseDaemon::reloadConfiguration() @ 0x72068dc in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 4. /build/build_docker/../base/daemon/BaseDaemon.cpp:0: BaseDaemon::initialize(Poco::Util::Application&) @ 0x72074b0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 5. /build/build_docker/../programs/server/Server.cpp:387: DB::Server::initialize(Poco::Util::Application&) @ 0x7120958 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 6. /build/build_docker/../contrib/poco/Util/src/Application.cpp:334: Poco::Util::Application::run() @ 0xd08abc8 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 7. /build/build_docker/../programs/server/Server.cpp:382: DB::Server::run() @ 0x712089c in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 8. /build/build_docker/../contrib/poco/Util/src/ServerApplication.cpp:612: Poco::Util::ServerApplication::run(int, char**) @ 0xd0a07d0 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 9. /build/build_docker/../programs/server/Server.cpp:0: mainEntryClickHouseServer(int, char**) @ 0x711f760 in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 10. /build/build_docker/../programs/main.cpp:0: main @ 0x70c355c in /usr/bin/clickhouse
sentry-self-hosted-clickhouse-1  | 11. __libc_start_main @ 0x24090 in /usr/lib/aarch64-linux-gnu/libc-2.31.so
sentry-self-hosted-clickhouse-1  |  (version 21.6.1.6734 (official build))

avegancafe avatar Sep 09 '22 16:09 avegancafe

Hey there, you're using a pretty old version of docker compose. Would you be able to upgrade that and try rerunning the script?

hubertdeng123 avatar Sep 09 '22 18:09 hubertdeng123

Hm drats @hubertdeng123 just upgraded to 2.10.2 to no avail, same exact issue still. Also upgraded to latest docker version and still the same issue

avegancafe avatar Sep 09 '22 20:09 avegancafe

Got it, could you check the permissions of your clickhouse-server? I'm thinking this might be a similar issue to this here: https://github.com/ClickHouse/ClickHouse/issues/19223

hubertdeng123 avatar Sep 12 '22 17:09 hubertdeng123

@hubertdeng123 ran those ll commands:

λ ll -d /etc/
drwxr-xr-x root wheel 2.5 KB Thu Sep  8 12:04:54 2022 /etc/

/etc/clickhouse-server doesn't exist on my computer

avegancafe avatar Sep 12 '22 17:09 avegancafe

are you able to perform a docker exec -it sentry-self-hosted-clickhouse-1 sh?

hubertdeng123 avatar Sep 12 '22 17:09 hubertdeng123

I still believe this is a permissioning issue where the clickhouse user cannot read the files

hubertdeng123 avatar Sep 12 '22 17:09 hubertdeng123

I am not @hubertdeng123 , the container isn't running

avegancafe avatar Sep 12 '22 17:09 avegancafe

image

avegancafe avatar Sep 12 '22 17:09 avegancafe

can you check the permissions of your /clickhouse/config.xml file?

hubertdeng123 avatar Sep 12 '22 17:09 hubertdeng123

this will be in the self-hosted directory

hubertdeng123 avatar Sep 12 '22 17:09 hubertdeng123

@hubertdeng123 here's what I get for that: image

avegancafe avatar Sep 12 '22 17:09 avegancafe

Yeah that looks like everyone has read access to the file, can you just run chmod 755 ~/Downloads/self-hosted-22.7.0/clickhouse/config.xml just to make sure and rerun ./install.sh?

hubertdeng123 avatar Sep 12 '22 17:09 hubertdeng123

could also try

docker cp sentry-self-hosted-clickhouse-1:/etc/clickhouse-server/config.d/sentry.xml sentry.xml
chmod 755 sentry.xml
docker cp sentry.xml sentry-self-hosted-clickhouse-1:/etc/clickhouse-server/config.d/sentry.xml

hubertdeng123 avatar Sep 12 '22 17:09 hubertdeng123

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

github-actions[bot] avatar Oct 04 '22 00:10 github-actions[bot]