Yanic - Fehler?

Moin, moin,

Ich denke mal, auch diesmal sitzt das Problem vor dem Bildschirm… :woozy_face:
Ich versuche gerade yanic zum Laufen zu bekommen… Auf anderen gws läuft das auch problemlos - ich sehe auch keinen Unterschied in den Konfigurationsdaten (hier: yanic_ffnh.conf).

Ich bekomme folgende Meldungen (siehe unten)…

Frage: Was kann diese Meldung verursachen (in der conf-Datei ist bei graphite: enable = false)
(Das Problem scheint woanders zu liegen… selbst ein *.conf Datei aus einem fehlerfrei laufenden System erzeugt die gleichen Meldungen…)

Apr 13 15:02:50 coll01 yanic[7492]: time="2022-04-13T15:02:50.379+02:00" level="panic" msg="could not connect to database: the database type 'graphite' has the wrong format" caller="serve.go:29 github.
Apr 13 15:02:50 coll01 yanic[7492]: panic: (*log.Entry) (0x90aa00,0xc0001aa180)
Apr 13 15:02:50 coll01 yanic[7492]: goroutine 1 [running]:
Apr 13 15:02:50 coll01 yanic[7492]: github.com/bdlm/log.Entry.log(0xc0000940a0, 0x0, 0xc000179860, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
Apr 13 15:02:50 coll01 yanic[7492]:         /opt/go/src/github.com/bdlm/log/entry.go:166 +0x388
Apr 13 15:02:50 coll01 yanic[7492]: github.com/bdlm/log.(*Entry).Panic(0xc0001aa0c0, 0xc0000fbb80, 0x1, 0x1)
Apr 13 15:02:50 coll01 yanic[7492]:         /opt/go/src/github.com/bdlm/log/entry.go:253 +0xe5
Apr 13 15:02:50 coll01 yanic[7492]: github.com/bdlm/log.(*Entry).Panicf(0xc0001aa0c0, 0x9255cc, 0x21, 0xc0000fbcd8, 0x1, 0x1)
Apr 13 15:02:50 coll01 yanic[7492]:         /opt/go/src/github.com/bdlm/log/entry.go:307 +0xd5
Apr 13 15:02:50 coll01 yanic[7492]: github.com/bdlm/log.(*Logger).Panicf(0xc0000940a0, 0x9255cc, 0x21, 0xc0000fbcd8, 0x1, 0x1)
Apr 13 15:02:50 coll01 yanic[7492]:         /opt/go/src/github.com/bdlm/log/logger.go:197 +0x87
Apr 13 15:02:50 coll01 yanic[7492]: github.com/bdlm/log.Panicf(...)
Apr 13 15:02:50 coll01 yanic[7492]:         /opt/go/src/github.com/bdlm/log/exported.go:158
Apr 13 15:02:50 coll01 yanic[7492]: github.com/FreifunkBremen/yanic/cmd.glob..func3(0xcfff40, 0xc0000eed40, 0x0, 0x2)
Apr 13 15:02:50 coll01 yanic[7492]:         /opt/go/src/github.com/FreifunkBremen/yanic/cmd/serve.go:29 +0xe0
Apr 13 15:02:50 coll01 yanic[7492]: github.com/spf13/cobra.(*Command).execute(0xcfff40, 0xc0000eed20, 0x2, 0x2, 0xcfff40, 0xc0000eed20)
Apr 13 15:02:50 coll01 yanic[7492]:         /opt/go/src/github.com/spf13/cobra/command.go:871 +0x2ae
Apr 13 15:02:50 coll01 yanic[7492]: github.com/spf13/cobra.(*Command).ExecuteC(0xcffcc0, 0x5, 0x4, 0xc00013a178)
Apr 13 15:02:50 coll01 yanic[7492]:         /opt/go/src/github.com/spf13/cobra/command.go:985 +0x35b
Apr 13 15:02:50 coll01 yanic[7492]: github.com/spf13/cobra.(*Command).Execute(...

Der Trick ist also: go install github.com/FreifunkBremen/yanic@main

:grinning: Danke! Ist bei mir seit ein paar Stunden erledigt… genofire hatte mir gestern geholfen…
(Bei der Lösung bin ich dann wieder auf ein Bug aufgelaufen; ist, dank an genofire, inzwischen aber auch erledigt…)
https://github.com/FreifunkBremen/yanic/issues/214