Open duckdblabs-bot opened 3 months ago
For context, I think it would be handy to specify which files are read by CLI in initialization, and those are ~/.duckdbrc, ~/.duckdb_history.
Problem might (and will) arise if those files are corrupted or generated with the wrong permissions. Solution in case either of them is corrupted, to go back to functional state is deleting them (or moving them elsewhere if you are interested in the content).
It would possibly make sense also to explain what files might be accessed by DuckDB at all, and those are, for all clients, the content of the ~/.duckdb folder (with the caveat that the folder might be elsewhere depending on the content of HOME_DIR variable or duckdb-specific configuration settings). In particular currently there are extension and secrets folder that are of interested, although more will be added.
I can provide or help with the content
I think this is a generic troubleshooting problem (similarly to "your cache is broken, delete it"). We can tackle it but it's low priority.
See https://github.com/duckdb/duckdb/issues/12350