Skip to content

Troubleshooting

中文 · Docs

Find the symptom, read the cause, apply the fix. If yours is not here, open an issue with what you did and what you saw.

Installing and launching

SymptomCause and fix
The app will not open on an Intel MacReleases are built for Apple silicon only. Build from source on Intel
ducklocal: command not foundThe disk image installs the app, not a command. Link the binary onto your PATH
The terminal is busy while the window is openOpening the GUI from a terminal runs it in the foreground. Launch from Applications instead, or leave that terminal to it
History, settings or remembered files stop being savedA second DuckLocal is running and holds the app-data file. Quit the other one and relaunch

Opening data

SymptomCause and fix
File not found on a path you namedThe path does not exist, or is relative to a different directory than you think. Use an absolute path to be sure
A folder reports no data filesNothing under it matched .csv, .tsv, .txt, .parquet, .json, .ndjson, .jsonl, .xlsx, .xls, .xlsb or .ods
A folder produced fewer files than expectedHidden entries and symlinks are skipped, and one open request attaches at most 256 files. Open subfolders separately
A path opened as a database unexpectedlyAny existing file that is not a data file is treated as a DuckDB database. If it will not open, DuckLocal falls back to memory and shows the error
Not attached …: the database already has a table or view named …The open database has its own relation with the name a remembered file uses. DuckLocal never replaces it. Rename or drop one of the two, or remove the file from Local files and open it again to get a new name
Cannot restore relative path …A file was remembered by a relative path, which cannot be resolved in a new session. Remove it from Local files and open it again
A view shows sales_2 instead of salesAnother file or table already had that name, so the new one got a suffix
A file's view is staleViews read the file on every query. If a CSV's columns changed shape, use Refresh schema in the sidebar

Running queries

SymptomCause and fix
Run does nothingA query is already running. There is no cancel and no timeout; quitting and relaunching is the only way to abandon one
⌘↵ shows the editor instead of runningOn the first-run screen, ⌘↵ means "give me an editor". Press it again to run
Results stop early with a truncation noticeThe 100,000-row or 2,000,000-cell cap was reached. Narrow the query; there is no pagination
Timestamps look shiftedThe grid renders timestamps in UTC, not local time
Clicking a header does not sortThere is no client-side sorting. Use ORDER BY
Clicking a table or history entry wiped my SQLThose clicks replace the whole editor buffer. Use a new query tab for scratch work
An export silently replaced a fileExport writes to the path you give without asking. Choose a new name

S3

SymptomCause and fix
S3 credentials were forgottenThey are session-only by design, and opening or switching a database clears them. Configure S3 again
Configuring S3 fails offlineThe first use runs INSTALL httpfs, which downloads the extension. Connect once, then it is cached
Temporary (STS) credentials are rejectedNo session token is sent. Use long-lived keys — see S3 and httpfs
A bucket looks smaller than it isListing stops at 1,000 entries per level. Query with a glob such as 's3://bucket/prefix/*.parquet' instead

Apps and dashboards

SymptomCause and fix
An app tab asks Run this app?The first time a folder opens as an app, DuckLocal asks before running its code, because an app's SQL can read and write anything the SQL editor can. View source first if you did not write it; Trust and run is remembered for that folder
A dashboard plot says a query must be read-onlyA .dash query tried to write (DDL, DML, COPY, ATTACH, …). Dashboards only run read-only statements; move the setup into the SQL editor
A PIVOT in a dashboard is rejectedWithout an explicit IN (…) list, DuckDB splits PIVOT into more than one statement. List the values: PIVOT t ON channel IN ('Web', 'Store') USING sum(revenue)

Appearance

SymptomCause and fix
The theme resets to light on every launchThe theme is not persisted; the language is
Text or icons are too small or too largeUse the Aa button in the title bar, or ⌘+ / ⌘− / ⌘0. See Interface size
The interface is in the wrong languageUse the EN / button in the title bar; the choice is remembered

Starting over

To clear history, remembered files, open tabs and settings, quit DuckLocal and remove its app-data directory:

bash
rm -rf ~/Library/Application\ Support/DuckLocal

Your data files are never touched — only DuckLocal's own records. See Settings and app data for what lives there.

Released under the Apache-2.0 License.