borgbackupserver icon indicating copy to clipboard operation
borgbackupserver copied to clipboard

File catalog browsing is unavailable / ClickHouse Catalog is empty / ClickHouse TSV upload failed

Open bekaha opened this issue 7 months ago • 1 comments

Description

Hi there,

i updated to version v2.23.0 and since then the possibility to use file catalog browsing is gone. On the dashboard no entrys within die ClickHouse Catalog are shown. Catalog import fails with:

Catalog import failed: ClickHouse TSV upload failed: Failed to connect to localhost port 8123 after 0 ms: Could not connect to server

ClickHouse Catalog (v2.22.1)

Image

File catalog (v2.22.1)

Image

ClickHouse Catalog (v2.23.0)

Image

File catalog (v2.23.0)

Image

Thanks for your great work, this is what i was looking for.

Steps to Reproduce

Start a manual backup on a random client and watch to log entries.

Installation Type

Docker

BBS Version

2.23.0

Agent Version (if applicable)

2.21.2

Agent OS (if applicable)

N/A

Relevant Logs

Catalog import failed: ClickHouse TSV upload failed: Failed to connect to localhost port 8123 after 0 ms: Could not connect to server

bekaha avatar Apr 06 '26 09:04 bekaha

This is caused by ClickHouse configuration changes we made in v2.23.0 — thread pool limits and a stderr redirect that prevented ClickHouse from starting on some setups.

We've reverted the thread pool limits and removed the stderr redirect. The logging cap (warning level, 10MB max file size with rotation) remains — that's the important fix for the disk-filling issue.

After updating, restart ClickHouse (or the Docker container). Your existing catalog data should still be intact — ClickHouse just wasn't running so it couldn't serve queries. Once it starts again, the catalog will be available and new backups will import normally.

Fix will be in the next release.

marcpope avatar Apr 06 '26 12:04 marcpope