Skip to content

[bug] Cannot create or view bases on remote from desktop application #499

Closed

Description

@lawtj

When connecting to a remote server, databases can be see in the sidebar, but clicking them does not open them.

Creating databases from the menu also does not work.

Tested on MacOs with v 2.19.0

Activity

  1. adibhanna commented on Jul 30, 2026

    @adibhanna
    Contributor

    Fixed in 2.20.0, and thanks for the report: the silence made this one look unreportable, and your two sentences were exactly what was needed.

    What was wrong: every database operation in the desktop app was guarded local-only, behind a comment claiming the server had no database endpoints yet. The renderer then swallowed the rejection into the developer console, so clicking a database in the sidebar died silently and creating one did nothing visible. The guard's premise turned out to be stale: the web app has been composing full database support out of the server's ordinary file reads and writes all along. No server-side database endpoints exist or are needed, which also means this fix works against whatever server version you are already running.

    As of 2.20.0 the desktop binds that same composition to the remote-workspace client: opening a database from the sidebar, editing rows and fields, creating one from the menu, renaming, record pages, all of it works on remote, including adopting a plain data.csv someone dropped into the vault. Verified end to end against a live server: opening from the sidebar renders the server's rows, and a created database lands as a real .base folder in the server vault.

    Two notes: remote databases refresh when you reopen them (like the web app) rather than watching the filesystem live, and database failures are no longer silent anywhere: if a load or create fails you now get a visible error toast instead of a console line, which is how this bug hid in the first place.

  2. adibhanna commented on Jul 30, 2026

    @adibhanna
    Contributor

    Two hardening follow-ups from this investigation also land in 2.20.0, both relevant if your desktop app talks to a server:

    • A dropped connection can no longer masquerade as "file not found". Before, if the server was unreachable, the desktop read the failure as "this database does not exist" and silently closed and forgot its tab. Absence is now only ever concluded from a server that actually answered (the server also reports missing files with a proper 404 now); a connection failure shows a visible error and leaves everything in place.

    • Launching the desktop app while its configured server is down no longer dumps you on the first-boot "Welcome to ZenNotes" screen. You get a reconnect screen instead: it names the server, states that your notes live there and nothing has changed, and offers Try again (which reconnects with your saved credentials), Edit server connection, or opening a local vault.

    No action needed on your side; both ship with the database fix above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions