Skip to content

No persistence vault with self-hosted Node.js server #15

Description

@Bugsia

I am running the obsidian web interface on my own server using the Node.js version. As far as I understood the repo, it would then be possible to have the files lying on the server and not relying on local browser storage to keep the files.

However I can't get this to work. It is only storing the vault on the browser sites and once I delete the browser data it is gone.

I am using the obsidian 1.12.7 version and am starting the server using this command: HOST=0.0.0.0 npm start and this is the inital output:

> obsidian-web-server@0.2.0 start
> node index.js

[system-plugins] no /home/livesync/obsidian-web/vendor/plugins directory — skipping
[system-plugins] Loaded 1 system plugins: obsidian-web-layout
==========================================
  Obsidian Web
==========================================
  Vault:    /home/livesync/obsidian-web/user-data/demo-vault
  Obsidian: /home/livesync/obsidian-web/vendor/obsidian-mobile
  Listening on http://127.0.0.1:3000
==========================================
[bootstrap] vault=… full=false files=0(content:0) dirs=1 size=0KB time=6ms

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions