-
-
Notifications
You must be signed in to change notification settings - Fork 154
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
OS: Debian Trixie
Wanderer Version: 0.18.3 (Docker)
When syncing with Komoot the database server crashes under specific conditions:
My Komoot account contains 24 planned routes and 196 completed routes. Syncing the 24 planned routes selectively works fine. The completed routes are not synced. The database server restarts with this logs:
2026-01-03T18:46:58.625087883Z WARN You are using modernc.org/sqlite v1.39.0 which differs from the expected and tested v1.38.2.
2026-01-03T18:46:58.625091712Z Make sure to either manually update in your go.mod the dependency version to the expected one OR if you want to keep yours ensure that its indirect modernc.org/libc dependency has the same version as in the https://gitlab.com/cznic/sqlite/-/blob/master/go.mod, otherwise it could result in unexpected build or runtime errors.
2026-01-03T18:46:58.625094548Z
2026-01-03T18:46:58.630297369Z 2026/01/03 18:46:58 Server started at http://0.0.0.0:8090
2026-01-03T18:46:58.630336279Z ├─ REST API: http://0.0.0.0:8090/api/
2026-01-03T18:46:58.630341398Z └─ Dashboard: http://0.0.0.0:8090/_/
2026-01-03T18:48:01.179542095Z panic: runtime error: invalid memory address or nil pointer dereference
2026-01-03T18:48:01.179581658Z [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0xc36b5c]
2026-01-03T18:48:01.179586029Z
2026-01-03T18:48:01.179589286Z goroutine 468 [running]:
2026-01-03T18:48:01.179592641Z github.com/pocketbase/pocketbase/core.(*FileField).getFileName(...)
2026-01-03T18:48:01.179596083Z /Users/christianbeutel/go/pkg/mod/github.com/pocketbase/[email protected]/core/field_file.go:816
2026-01-03T18:48:01.179599672Z github.com/pocketbase/pocketbase/core.(*FileField).uniqueFiles(...)
2026-01-03T18:48:01.179603037Z /Users/christianbeutel/go/pkg/mod/github.com/pocketbase/[email protected]/core/field_file.go:760
2026-01-03T18:48:01.179606668Z github.com/pocketbase/pocketbase/core.(*FileField).toSliceValue(0x47163a?, {0xfa30e0?, 0xc000602918?})
2026-01-03T18:48:01.179610073Z /Users/christianbeutel/go/pkg/mod/github.com/pocketbase/[email protected]/core/field_file.go:752 +0x3bc
2026-01-03T18:48:01.179613085Z github.com/pocketbase/pocketbase/core.(*FileField).normalizeValue(0xc0001ff3b0, {0xfa30e0?, 0xc000602918?})
2026-01-03T18:48:01.179616642Z /Users/christianbeutel/go/pkg/mod/github.com/pocketbase/[email protected]/core/field_file.go:710 +0x25
2026-01-03T18:48:01.179619877Z github.com/pocketbase/pocketbase/core.(*FileField).setValue(0xc0001ff3b0, 0xc00032a1e0, {0xfa30e0?, 0xc000602918?})
2026-01-03T18:48:01.179623350Z /Users/christianbeutel/go/pkg/mod/github.com/pocketbase/[email protected]/core/field_file.go:673 +0x2d
2026-01-03T18:48:01.179627001Z github.com/pocketbase/pocketbase/core.(*Record).SetIfFieldExists(0xc00032a1e0, {0x112d2f7, 0x6}, {0xfa30e0, 0xc000602918})
2026-01-03T18:48:01.179633750Z /Users/christianbeutel/go/pkg/mod/github.com/pocketbase/[email protected]/core/record_model.go:873 +0x175
2026-01-03T18:48:01.179637404Z github.com/pocketbase/pocketbase/core.(*Record).Set(0xc00032a1e0, {0x112d2f7, 0x6}, {0xfa30e0, 0xc000602918})
2026-01-03T18:48:01.179640537Z /Users/christianbeutel/go/pkg/mod/github.com/pocketbase/[email protected]/core/record_model.go:898 +0x6f
2026-01-03T18:48:01.179643939Z pocketbase/integrations/komoot.createTrailFromTour({0x17cb130, 0xc00032be00}, 0xc0003eded0, 0xc000196780, 0xc0004666c0, {0xc00082ce40, 0xf})
2026-01-03T18:48:01.179660186Z /Users/christianbeutel/Documents/svelte/wanderer/db/integrations/komoot/komoot.go:288 +0xd1b
2026-01-03T18:48:01.179663214Z pocketbase/integrations/komoot.syncTrailWithTours({0x17cb130, 0xc00032be00}, 0xc0003eded0, {0x1, {0xc0008286d8, 0x17}, {0xc00020cb90, 0x50}, 0x0, 0x1}, ...)
2026-01-03T18:48:01.179665448Z /Users/christianbeutel/Documents/svelte/wanderer/db/integrations/komoot/komoot.go:208 +0x52a
2026-01-03T18:48:01.179667412Z pocketbase/integrations/komoot.SyncKomoot({0x17cb130, 0xc00032be00})
2026-01-03T18:48:01.179669503Z /Users/christianbeutel/Documents/svelte/wanderer/db/integrations/komoot/komoot.go:82 +0x7d8
2026-01-03T18:48:01.179671847Z main.registerCronJobs.func1()
2026-01-03T18:48:01.179674959Z /Users/christianbeutel/Documents/svelte/wanderer/db/main.go:1267 +0x119
2026-01-03T18:48:01.179678163Z github.com/pocketbase/pocketbase/tools/cron.(*Job).Run(...)
2026-01-03T18:48:01.179680182Z /Users/christianbeutel/go/pkg/mod/github.com/pocketbase/[email protected]/tools/cron/job.go:25
2026-01-03T18:48:01.179682158Z created by github.com/pocketbase/pocketbase/tools/cron.(*Cron).runDue in goroutine 31
2026-01-03T18:48:01.179684107Z /Users/christianbeutel/go/pkg/mod/github.com/pocketbase/[email protected]/tools/cron/cron.go:225 +0x285
2026-01-03T18:48:01.494687533Z
2026-01-03T18:48:01.494713533Z WARN You are using modernc.org/sqlite v1.39.0 which differs from the expected and tested v1.38.2.
2026-01-03T18:48:01.494716803Z Make sure to either manually update in your go.mod the dependency version to the expected one OR if you want to keep yours ensure that its indirect modernc.org/libc dependency has the same version as in the https://gitlab.com/cznic/sqlite/-/blob/master/go.mod, otherwise it could result in unexpected build or runtime errors.
2026-01-03T18:48:01.494719575Z
2026-01-03T18:48:01.499209001Z 2026/01/03 18:48:01 Server started at http://0.0.0.0:8090
2026-01-03T18:48:01.499240904Z ├─ REST API: http://0.0.0.0:8090/api/
2026-01-03T18:48:01.499245084Z └─ Dashboard: http://0.0.0.0:8090/_/
I have installed Wanderer on two different machines (the second: Ubuntu 24.04) with the same results. I have testet v0.18.3 (latest) and, additionally, 0.18.1, 0.18.0 and 0.17.2. The results are the same.
Maybe it is a bug or an issue with my configuration or installation.
Version
v0.18.3 and older
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working