Graph view is empty, even though there are nodes and links present, and no filters are set

Steps to reproduce

Open a sandbox in Obsidian, while using a Linux distro (preferably Arch/EndeavourOS) with KDE Plasma, preferably 5.27.6 , and open Graph View. I get this warning in dev tools:

Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security
  Policy set or a policy with "unsafe-eval" enabled. This exposes users of
  this app to unnecessary security risks.

For more information and help, consult
https://electronjs.org/docs/tutorial/security.
This warning will not show up
once the app is packaged.
warnAboutInsecureCSP	@	node:electron/js2c/renderer_init:2

Did you follow the troubleshooting guide? [Y/N] Y

Expected result

I shoud see the graph nodes and edges.

Actual result

A blank tab, without any nodes.

Environment

EndeavourOS Linux kernel 6.4.6-arch1-1, Plasma 5.27.6

I have stated it in the “Environment” category

How did you install obsidian?

using Pamac, from the Official Repositories (extra)

Closed for not following the instructions in the bug report template.

I’ve had a similar issue (graph view not showing up, though I did not have a look at the dev tools), also using EndeavourOS with KDE Plasma.
For me, the solution was to delete these folders in ~/.config/obsidian:

  • Cache
  • Code Cache
  • DawnCache
  • GPUCache
  • IndexedDB

Not sure which of those where responsible, but now everything works again.

1 Like