File tree Expand file tree Collapse file tree 2 files changed +43
-2
lines changed
docs/preview/duckdb/guides Expand file tree Collapse file tree 2 files changed +43
-2
lines changed Original file line number Diff line number Diff line change 219219 "page" : " Backups and Recovery" ,
220220 "url" : " backups_and_recovery"
221221 },
222+ {
223+ "page" : " Public DuckLake on Object Storage" ,
224+ "url" : " public_ducklake_on_object_storage"
225+ },
222226 {
223227 "page" : " Using a Remote Data Path" ,
224228 "url" : " using_a_remote_data_path"
225229 },
226230 {
227- "page" : " Public DuckLake on Object Storage " ,
228- "url" : " public_ducklake_on_object_storage "
231+ "page" : " Troubleshooting " ,
232+ "url" : " troubleshooting "
229233 }
230234 ]
231235 },
Original file line number Diff line number Diff line change 1+ ---
2+ layout : docu
3+ title : Troubleshooting
4+ ---
5+
6+ This guide explains how to troubleshoot certain issues with DuckLake.
7+ Besides the issues described on this page, see also the [ “Unsupported Features” page] ({% link docs/preview/duckdb/unsupported_features.md %}).
8+
9+ ## Connecting to an Older DuckLake
10+
11+ If you try to connect to a DuckLake created by an older version of the ` ducklake ` extension, you get the following error message:
12+
13+ ``` console
14+ Invalid Input Error:
15+ DuckLake catalog version mismatch: catalog version is 0.3, but the extension requires version 0.4-dev1.
16+ To automatically migrate, set AUTOMATIC_MIGRATION to TRUE when attaching.
17+ ```
18+
19+ To work around this, add the ` AUTOMATIC_MIGRATION ` flag to the ` ATTACH ` command:
20+
21+ ``` sql
22+ ATTACH ' ...' (AUTOMATIC_MIGRATION);
23+ ```
24+
25+ ## Connecting to a Read-Only DuckLake
26+
27+ If you try to connect to a read-only DuckLake, you get the following error message:
28+
29+ ``` console
30+ Invalid Input Error:
31+ Failed to migrate DuckLake from v0.2 to v0.3:
32+ Cannot execute statement of type "CREATE" on database "__ducklake_metadata_sf1" which is attached in read-only mode!
33+ ```
34+
35+ It is not possible to connect to a read-only DuckLake with a pre-release version (v0.x).
36+ To migrate from such a DuckLake, use an older version of the ` ducklake ` extension and migrate into an intermediate format.
37+ For example, copy the data into a DuckLake that you have write access to, then connect to that DuckLake using the newer ` ducklake ` extension.
You can’t perform that action at this time.
0 commit comments