Good morning,
I'm looking for help concerning my silverbullet configuration. I'm using docker and :v2 edge tag.
I have a VM with Nginx Proxy Manager installed, which is proxying sb.MYDOMAIN.COM to another VM where I have silverbullet running via docker.
In SB I managed to get libraries to mostly work, but plugs don't work. Or, to be more precise, most of the time they don't work. For instance right now after the n-th refresh the graph plug loaded, while mermaid didn't (a few refresh ago it was the other way around, but most of the time no plug works). Even libraries behave strangely: in the latest refresh for the first time the Mr-XRed math (for latex) loaded and was applied to the text.
This non deterministic behaviour really smells like a racing condition of sorts.
I tried accessing my SB with both firefox and chrome, same issues.
In the browser console I see some errors like 404 while trying to get, for instance, https://sb.MYDOMAIN.COM/.fs/_plug/mermaid.plug.js (usually both plug give the same error, this time only mermaid). I guess this is the source of all subsequent errors (like "[Client] Could not load plug _plug/mermaid.plug.js error: Plug timed out during creation" and "[index plug] An exception was thrown as a result of invoking function lintObjects error: can't access property "name", e is undefined").
My CONFIG is pretty simple:
config.set {
plugs = {
-- Add your plugs here
"ghr:deepkn/silverbullet-graphview",
"github:silverbulletmd/silverbullet-mermaid/mermaid.plug.js"
},
graphview = {
ignoredPrefixes = {
"Library",
"Repositories",
"themes",
"_plug"
},
enableDecorations = true,
position = "modal",
colormap = {
tag = {
services = "01017a",
notes = "02bdb6",
},
},
}, --graphview
}
Can you help me troubleshooting this issue?
Thank you! ![]()