Skip to content

Failure to upgrade LeafWiki to version v.0.10.0 from v.0.9.2 on Windows 11 #1072

Description

@mry

Originally posted by @mry in #1044 (reply in thread)

My upgrade process is simply drop in the new binary and startup and cross my fingers, which always works until it doesn't.

C:\PortableApps\LeafWiki>{"time":"2026-05-26T07:01:26.5000251+02:00","level":"WARN","source":{"function":"main.main","file":"/build/cmd/leafwiki/main.go","line":210},"msg":"allow-insecure enabled. Auth cookies may be transmitted over plain HTTP (INSECURE)."}
{"time":"2026-05-26T07:01:26.6942771+02:00","level":"INFO","source":{"function":"github.com/perber/wiki/internal/core/tree.(*TreeService).LoadTree","file":"/build/internal/core/tree/tree_service.go","line":51},"msg":"Checking schema version...","component":"TreeService"}
{"time":"2026-05-26T07:01:40.3749181+02:00","level":"ERROR","source":{"function":"main.fail","file":"/build/cmd/leafwiki/main.go","line":98},"msg":"Failed to initialize Wiki","error":"failed to init search index: disk I/O error (3338)"}

The result was a zero byte file left in the filesystem, which couldn't be deleted.

Image

I did manage to get things started again, but I'm unsure what actual step solved the issue, as outlined in the linked post.

Hope this helps to run down any issues.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions