When upgrading to :latest today I got this message:
Warning: mounting your space at /space is deprecated, mount the data folder at /data instead
So I dutifully did, but after that it still can't find its data and thinks it has to reinitialize an empty instance:
silverbullet-1 | 2026-10-28T10:35:14.558393Z INFO silverbullet::server: Data folder: /data
silverbullet-1 | 2026-10-28T10:35:14.558977Z INFO silverbullet::boot: boot mode: unconfigured (empty folder, no flags, no legacy env)
silverbullet-1 | 2026-10-28T10:35:14.560033Z INFO silverbullet::boot: SilverBullet setup wizard running: http://0.0.0.0:3000/.setup/
I looked through the release notes but the only information on upgrading I ever found was "pull the new image and recreate". What am I missing? Were there migration instructions somewhere?
Ah, perfect, it seems the files had the wrong owner:
84c499ca667e:/# ls -l /data/
total 12
drwx------ 4 1001 1001 4096 Aug 4 09:21 spaces
-rw------- 1 1001 1001 945 Aug 4 09:21 spaces.json
-rw------- 1 1001 1001 157 Aug 4 09:17 users.json
84c499ca667e:/# ps auxw | grep sb
1 root 0:00 /sbin/tini -- /docker-entrypoint.sh
24 root 0:00 grep sb
I had PUID and PGID set to 1000 for some reason. I don't recall it being a problem before and usually I map the UIDs correctly, so not sure what went wrong here, I've been using SB for months before this upgrade.
Anyway, thanks for the pointers, it was definitely an infrastructure issue and not a SB one