-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
Description
Body
Hi,
during the fresh install of 26.1.0 on ubuntu the upgrading clickhouse is always failing - container sentry-self-hosted-clickhouse-1 in unhealhy
-> ./install.sh:main:30
--> install/upgrade-clickhouse.sh:source:15
---> install/dc-detect-version.sh:start_service_and_wait_ready:89
When cheking the logs:
clickhouse-1 | Processing configuration file '/etc/clickhouse-server/config.xml'.
clickhouse-1 | Merging configuration file '/etc/clickhouse-server/config.d/docker_related_config.xml'.
clickhouse-1 | Merging configuration file '/etc/clickhouse-server/config.d/sentry.xml'.
clickhouse-1 | Poco::Exception. Code: 1000, e.code() = 0, Exception: Failed to merge config with '/etc/clickhouse-server/config.d/sentry.xml': Access to file denied: /etc/clickhouse-server/config.d/sentry.xml, Stack trace (when copying this message, always include the lines below):
clickhouse-1 |
clickhouse-1 | 0. DB::ConfigProcessor::processConfig(bool*, zkutil::ZooKeeperNodeCache*, std::shared_ptr<Poco::Event> const&, bool) @ 0x0000000015533122
clickhouse-1 | 1. DB::ConfigProcessor::loadConfig(bool, bool) @ 0x0000000015533457
clickhouse-1 | 2. BaseDaemon::initialize(Poco::Util::Application&) @ 0x000000000f8f9429
clickhouse-1 | 3. DB::Server::initialize(Poco::Util::Application&) @ 0x000000000f84771b
clickhouse-1 | 4. Poco::Util::Application::run() @ 0x000000001849e13a
clickhouse-1 | 5. DB::Server::run() @ 0x000000000f847430
clickhouse-1 | 6. mainEntryClickHouseServer(int, char**) @ 0x000000000f844573
clickhouse-1 | 7. main @ 0x0000000009fc0a81
clickhouse-1 | 8. ? @ 0x00007f4b99084d90
clickhouse-1 | 9. ? @ 0x00007f4b99084e40
clickhouse-1 | 10. _start @ 0x0000000006b8d02e
clickhouse-1 | (version 25.3.6.10034.altinitystable (altinity build))
The sentry.xml file mentioned if using installing user & group id (6969 - what a nice ID) with 660 permissions.
root@1777613f4ed9:/# ls -la /etc/clickhouse-server/config.d/sentry.xml
-rw-rw---- 1 6969 6969 1325 Feb 5 11:02 /etc/clickhouse-server/config.d/sentry.xml
Thanks,
Michal
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Projects
Status
No status
Status
Waiting for: Community