Command Palette and Page Picker Not Working

I am not 100% sure when this happened as the core Silverbullet notebook functionality is still working but I have a toolbar Action Button mapped to the command Open Command Palette but when I press the icon from the toolbar, I get... an "Error: Command Open Command Palette Not Found"

Here is what the block under CONFIG looks like

... stuff before
-- tool bar
config.set("actionButtons", {
    {
      icon = "home",
      description = "Go to Dashboard",
      run = function()
        editor.navigate("Dashboard")
      end
    },
    ... more buttons and settings
    {
      icon = "terminal",
      description = "Run command",
      run = function ()
        editor.invokeCommand("Open Command Palette")
      end
    }
})

My browser console shows two related errors:

I've noticed that if I replace "Open Command Palette" with certain other commands (i.e. "Stats: Show", "Navigate: Home") it works just fine, however "Navigate: Page Picker" also errors out identically. (Docker container logs don't seem to show anything)

Anyone have suggestions?

Before anyone asks, no, Ctrl+/ does not trigger the Command Palette

What version are you using?

2.6.1-87-gc96651d0-2026-04-30T17-58-29Z

However, this (and When does aspiring-page refresh? - #3 by BenjaminTseng) seemed to have resolved themselves after I:

  • (foolishly) corrupted my browser cache by deleting indexedDB databases manually
  • tried (and failed) to bring them back up by purging the browser
  • looked at the console and spotted some errors related to redirectToCustomIndex and smartQuotes
  • I SSH'd into my own server and deleted those offending blocks in my CONFIG.md file from the command line
  • Then did a restart of the container and another hard refresh

And now my aspiring pages are updating properly and Open Command Palette is working again as well :man_shrugging:t2:

Not 100% sure why but I assume I had some bad Lua that was somehow affecting those processes?

@zef , I think I'm having a related issue. I'm using " ghcr.io/silverbulletmd/silverbullet:v2@sha256:da0ed7315defa34a69055941452d6cbeca662f89bea0aaebe30a0db662e4c87e".

As of today I'm receiving:


Here's a snapshot of my console:

I tried clearing cache to no avail. I also restarted my container, also to no avail. I've tried on two different devices with the same outcome. Both devices are running Vivaldi.

Service Worker sync did appear to pull down all my notes from the server however.

I made sure to nuke everything too, IndexDB, cache, cookies, the works.

Go through your console and see if there are other issues further up. I had a few about Statement errored out during boot which identified some specific Space Lua that was broken which I then removed and then did a hard refresh after wiping my browser local storage / cache / DB

Good luck @portion9476 — hope you find a solution quick

This may be related: SilverBullet+ Linux: Report issues, requests - #44 by zef

And I just published a fix for the config related issue so should be in the edge (:v2) builds soon.

I just pulled the new version and cleared data on one of my machines. It looks like we're back in business after that update, @zef . I'll start another thread if I have more issues. Thanks!