Search first
What happened?
sync remote-graphs is an account-level listing operation, but the CLI requires an existing local graph and db-worker context.
Running the command without --graph returns:
{
"status": "error",
"error": {
"code": "missing-graph",
"message": "graph name is required",
"hint": "Use --graph <name>"
}
}
The workaround is to create or select an unrelated local graph and pass it only so the CLI can start a worker. That local graph must not use the same name as a remote graph intended for download, because the name collision then blocks download.
Reproduce
- Configure valid authentication and sync endpoints.
- Ensure no default graph is set.
- Run
logseq --output json sync remote-graphs.
- Run the same command with an unrelated local graph and observe that the remote account graph list is returned.
Expected behavior
sync remote-graphs should require only authentication and sync configuration. It should use a global or temporary runtime rather than require an unrelated local graph.
Platform
- Current CLI repository build
- macOS arm64
Search first
What happened?
sync remote-graphsis an account-level listing operation, but the CLI requires an existing local graph and db-worker context.Running the command without
--graphreturns:{ "status": "error", "error": { "code": "missing-graph", "message": "graph name is required", "hint": "Use --graph <name>" } }The workaround is to create or select an unrelated local graph and pass it only so the CLI can start a worker. That local graph must not use the same name as a remote graph intended for download, because the name collision then blocks download.
Reproduce
logseq --output json sync remote-graphs.Expected behavior
sync remote-graphsshould require only authentication and sync configuration. It should use a global or temporary runtime rather than require an unrelated local graph.Platform