panic: cannot add empty folder id

[7X3Q4] INFO: syncthing v0.14.26 "Dysprosium Dragonfly" (go1.8 linux-amd64) jenkins@build.syncthing.net 2017-03-23 11:04:35 UTC
[7X3Q4] INFO: My ID: 7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4
[7X3Q4] INFO: Single thread SHA256 performance is 236 MB/s using minio/sha256-simd (159 MB/s using crypto/sha256).
[7X3Q4] INFO: Hashing performance with weak hash is 197.50 MB/s
[7X3Q4] INFO: Hashing performance without weak hash is 223.40 MB/s
[7X3Q4] INFO: Weak hash enabled, as it has an acceptable performance impact.
[7X3Q4] INFO: Ready to synchronize "0160-master" (0160-master) (readwrite)
[7X3Q4] INFO: Ready to synchronize "0033" (0033) (readonly)
[7X3Q4] INFO: Ready to synchronize "0141-master" (0141-master) (readwrite)
[7X3Q4] INFO: Ready to synchronize "0292-master" (0292-master) (readwrite)
...
[7X3Q4] INFO: Ready to synchronize "0178" (0178) (readonly)
[7X3Q4] INFO: Ready to synchronize "0156-master" (0156-master) (readwrite)
[7X3Q4] INFO: Ready to synchronize "0083" (0083) (readonly)
[7X3Q4] INFO: Ready to synchronize "0510" (0510) (readonly)
[7X3Q4] INFO: Ready to synchronize "0324-master" (0324-master) (readwrite)
[7X3Q4] INFO: Ready to synchronize "0963" (0963) (readonly)
[7X3Q4] INFO: Ready to synchronize "0247-master" (0247-master) (readwrite)
[7X3Q4] INFO: Ready to synchronize "0245-master" (0245-master) (readwrite)
[7X3Q4] INFO: Ready to synchronize "0539" (0539) (readonly)
[7X3Q4] INFO: Ready to synchronize "9932-master" (9932-master) (readwrite)
[7X3Q4] INFO: Ready to synchronize "0269" (0269) (readonly)
[7X3Q4] INFO: Ready to synchronize "0289" (0289) (readonly)
[7X3Q4] INFO: Ready to synchronize "0132" (0132) (readonly)
[7X3Q4] INFO: Ready to synchronize "0077" (0077) (readonly)
[7X3Q4] INFO: Ready to synchronize "0376" (0376) (readonly)
[7X3Q4] INFO: Ready to synchronize "0363-master" (0363-master) (readwrite)
[7X3Q4] INFO: Ready to synchronize "0383" (0383) (readonly)
[7X3Q4] INFO: Ready to synchronize "0284" (0284) (readonly)
[7X3Q4] INFO: Ready to synchronize "0586-master" (0586-master) (readwrite)
[7X3Q4] INFO: Ready to synchronize "0530" (0530) (readonly)
[7X3Q4] INFO: Ready to synchronize "0380" (0380) (readonly)
[7X3Q4] INFO: Ready to synchronize "0239" (0239) (readonly)
[7X3Q4] INFO: Ready to synchronize "0325-master" (0325-master) (readwrite)
[7X3Q4] INFO: Ready to synchronize "9938-master" (9938-master) (readwrite)
[7X3Q4] INFO: Ready to synchronize "0312" (0312) (readonly)
[7X3Q4] INFO: Ready to synchronize "0472" (0472) (readonly)
[7X3Q4] INFO: Ready to synchronize "0333-master" (0333-master) (readwrite)
[7X3Q4] INFO: Ready to synchronize "0478" (0478) (readonly)
[7X3Q4] INFO: Ready to synchronize "0170" (0170) (readonly)
[7X3Q4] INFO: Ready to synchronize "0233" (0233) (readonly)
[7X3Q4] INFO: Ready to synchronize "0369-master" (0369-master) (readwrite)
[7X3Q4] INFO: Ready to synchronize "0549" (0549) (readonly)
[7X3Q4] INFO: Ready to synchronize "0067" (0067) (readonly)
[7X3Q4] INFO: Ready to synchronize "repos-master" (repos-master) (readwrite)
[7X3Q4] INFO: Ready to synchronize "0702" (0702) (readonly)
[7X3Q4] INFO: Ready to synchronize "0951-master" (0951-master) (readwrite)
[7X3Q4] INFO: Ready to synchronize "0570" (0570) (readonly)
[7X3Q4] INFO: Ready to synchronize "0129-master" (0129-master) (readwrite)
[7X3Q4] INFO: Ready to synchronize "0506-master" (0506-master) (readwrite)
[7X3Q4] INFO: Ready to synchronize "0288-master" (0288-master) (readwrite)
[7X3Q4] INFO: Ready to synchronize "0084-master" (0084-master) (readwrite)
[7X3Q4] INFO: Ready to synchronize "0233-master" (0233-master) (readwrite)
[7X3Q4] INFO: Ready to synchronize "0387-master" (0387-master) (readwrite)
[7X3Q4] INFO: Ready to synchronize "0358" (0358) (readonly)
Panic at 2018-01-23T15:23:14-06:00
panic: cannot add empty folder id

goroutine 1 [running]:
github.com/syncthing/syncthing/lib/model.(*Model).AddFolder(0xc42008aa00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc42030d1c0, 0x1, ...)
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/lib/model/model.go:303 +0x114
main.syncthingMain(0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0xb6e1b4, 0x1, 0x0, 0x0, ...)
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/cmd/syncthing/main.go:820 +0x2cf1
main.main()
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/cmd/syncthing/main.go:459 +0x5ac

goroutine 49 [select]:
github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0xc420392000)
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go:90 +0x5d9
created by github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb.openDB
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb/db.go:139 +0x583

goroutine 7 [chan receive]:
github.com/syncthing/syncthing/vendor/github.com/xtaci/kcp-go.(*Emitter).emitTask(0x109dbc8)
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/vendor/github.com/xtaci/kcp-go/emitter.go:37 +0x99
created by github.com/syncthing/syncthing/vendor/github.com/xtaci/kcp-go.(*Emitter).init
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/vendor/github.com/xtaci/kcp-go/emitter.go:32 +0x6c

goroutine 8 [select]:
github.com/syncthing/syncthing/vendor/github.com/xtaci/kcp-go.(*updateHeap).updateTask(0x10a01e0)
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/vendor/github.com/xtaci/kcp-go/updater.go:83 +0x4d7
created by github.com/syncthing/syncthing/vendor/github.com/xtaci/kcp-go.init.4
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/vendor/github.com/xtaci/kcp-go/updater.go:13 +0xb5

goroutine 9 [syscall]:
os/signal.signal_recv(0x0)
/usr/local/go/src/runtime/sigqueue.go:116 +0x104
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:22 +0x22
created by os/signal.init.1
/usr/local/go/src/os/signal/signal_unix.go:28 +0x41

goroutine 33 [select]:
github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc42009a000)
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:206 +0x23f
created by github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb/util.NewBufferPool
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:237 +0x19c

goroutine 11 [chan receive]:
main.trackCPUUsage()
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/cmd/syncthing/gui_unix.go:24 +0x103
created by main.init.3
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/cmd/syncthing/gui_unix.go:17 +0x35

goroutine 12 [select, locked to thread]:
runtime.gopark(0xd13428, 0x0, 0xb71224, 0x6, 0x18, 0x2)
/usr/local/go/src/runtime/proc.go:271 +0x13a
runtime.selectgoImpl(0xc4201c0f50, 0x0, 0x18)
/usr/local/go/src/runtime/select.go:423 +0x1364
runtime.selectgo(0xc4201c0f50)
/usr/local/go/src/runtime/select.go:238 +0x1c
runtime.ensureSigM.func1()
/usr/local/go/src/runtime/signal_unix.go:434 +0x2dd
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2197 +0x1

goroutine 13 [chan receive]:
main.setupSignalHandling.func1(0xc4200671a0)
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/cmd/syncthing/main.go:974 +0x40
created by main.setupSignalHandling
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/cmd/syncthing/main.go:976 +0xbc

goroutine 14 [chan receive]:
main.setupSignalHandling.func2(0xc420067320)
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/cmd/syncthing/main.go:984 +0x40
created by main.setupSignalHandling
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/cmd/syncthing/main.go:986 +0x181

goroutine 15 [select]:
github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).Serve(0xc42009a460)
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:338 +0xf65
created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).ServeBackground
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:297 +0x43

goroutine 16 [chan receive]:
github.com/syncthing/syncthing/lib/events.(*bufferedSubscription).pollingLoop(0xc420048e60)
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/lib/events/events.go:318 +0x83
created by github.com/syncthing/syncthing/lib/events.NewBufferedSubscription
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/lib/events/events.go:313 +0x1ba

goroutine 17 [chan receive]:
github.com/syncthing/syncthing/lib/events.(*bufferedSubscription).pollingLoop(0xc420048eb0)
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/lib/events/events.go:318 +0x83
created by github.com/syncthing/syncthing/lib/events.NewBufferedSubscription
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/lib/events/events.go:313 +0x1ba

goroutine 50 [select]:
github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).mpoolDrain(0xc420392000)
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb/db_state.go:101 +0x249
created by github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb.openDB
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb/db.go:140 +0x5a5

goroutine 51 [select]:
github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).tCompaction(0xc420392000)
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go:804 +0x638
created by github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb.openDB
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb/db.go:146 +0x722

goroutine 52 [select]:
github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0xc420392000)
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go:751 +0x242
created by github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb.openDB
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb/db.go:147 +0x744

goroutine 65 [select]:
github.com/syncthing/syncthing/lib/model.(*ProgressEmitter).Serve(0xc421c26500)
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/lib/model/progressemitter.go:56 +0x559
created by github.com/syncthing/syncthing/lib/model.NewModel
/home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/lib/model/model.go:163 +0x980

Version Information Syncthing Version: v0.14.26

Did you check grep 'id=""' config.xml and grep "<folder" config.xml | grep -v "id="?

yes i tried those commands

grep ‘id=""’ config.xml gave nothing as output

grep “<folder” config.xml | grep -v “id=”?

gave huge ouput

Well either I messed up with the greps or the “huge output” is a lot of folders which do not have an id -> you found your problem.

i am pretty sure my config does not have empty folder id

So it would be easiest if you posted your config, so someone else could try to repro this. You can try to remove all devices, and replace all folder paths I guess.

===grep ‘<folder’ config.xml | grep -v ‘id=""’?====================

<folder id="pubkeys-master" label="pubkeys-master" path="/srv/yumrepo/pubkeys" type="readwrite" rescanIntervalS="60" ignorePerms="false" autoNormalize="true"><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/>
<folder id="pubkeys" label="pubkeys" path="/srv/yumrepo/pubkeys" type="readonly" rescanIntervalS="60" ignorePerms="false" autoNormalize="true"><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/>
<folder id="kickstart-master" label="kickstart-master" path="/srv/yumrepo/kickstart" type="readwrite" rescanIntervalS="60" ignorePerms="false" autoNormalize="true"><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/>
<folder id="kickstart" label="kickstart" path="/srv/yumrepo/kickstart" type="readonly" rescanIntervalS="60" ignorePerms="false" autoNormalize="true"><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/>
<folder id="repos-master" label="repos-master" path="/srv/yumrepo/repos" type="readwrite" rescanIntervalS="60" ignorePerms="false" autoNormalize="true"><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/>
<folder id="repos" label="repos" path="/srv/yumrepo/repos" type="readonly" rescanIntervalS="60" ignorePerms="false" autoNormalize="true"><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/>
<folder id="poc-master" label="poc-master" path="/srv/yumrepo/poc" type="readwrite" rescanIntervalS="60" ignorePerms="false" autoNormalize="true"><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/>
<folder id="poc" label="poc" path="/srv/yumrepo/poc" type="readonly" rescanIntervalS="60" ignorePerms="false" autoNormalize="true"><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/>
<device id="3AV37YE-ARHKIGG-SLRZORZ-ZXGGGQS-WHTAZ6X-FBGMXCI-MZN4GZC-7GAV7AH"/><device id="OXTKNVC-QFRLZDY-DQPZF5K-H2V3KP7-4Z3AH22-MWFIWW5-AIGNUXK-52DZSAK"/><device id="I3NMQ6A-LDPOC3L-IIYWTWE-CTDHYQ2-RYZTWVB-X3YMLIX-ZQEV2A3-XATKUQJ"/><device id="WPL54MP-YY63GES-CYLJ2ME-Z4764VA-XWWZ3YI-5PZR5HP-4NASUHA-L3BYXQZ"/><device id="I3BCZ4Y-LI5E4UI-MKYV46T-HUVY4TA-EH4CKGT-U2EB44E-C6CG6VA-HSK7QQG"/></folder><device name="0223" id="IW2XGUO-GXNGU27-NEI7VNT-L4JE5KV-KTAEEK7-F3STONK-FEY7ARZ-FLBJTQJ" compression="metadata" introducer="false"><address>tcp://10.41.49.101:22000</address></device><folder id="0223" label="0223" path="/srv/yumrepo/stores/0223" rescanIntervalS="60" ignorePerms="false" autoNormalize="true" type="readonly"><device id="IW2XGUO-GXNGU27-NEI7VNT-L4JE5KV-KTAEEK7-F3STONK-FEY7ARZ-FLBJTQJ"/><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/></folder><folder id="0223-master" label="0223-master" path="/srv/yumrepo/stores/0223" rescanIntervalS="60" ignorePerms="false" autoNormalize="true" type="readwrite"><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/><device id="5FQBSYZ-K52PRBS-3LMZQIS-O4KH6VZ-Z3YLUOJ-P7BJNK5-DDMWDPK-5RD5TA5"/></folder><device name="0281" id="LLV42BS-ECENHPH-PZUV7GH-ZIKXOFG-UELI7Q6-YWBUQBM-JY6PBR2-KLKRJQG" compression="metadata" introducer="false"><address>tcp://10.42.122.101:22000</address></device><folder id="0281" label="0281" path="/srv/yumrepo/stores/0281" rescanIntervalS="60" ignorePerms="false" autoNormalize="true" type="readonly"><device id="LLV42BS-ECENHPH-PZUV7GH-ZIKXOFG-UELI7Q6-YWBUQBM-JY6PBR2-KLKRJQG"/><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/></folder><folder id="0281-master" label="0281-master" path="/srv/yumrepo/stores/0281" rescanIntervalS="60" ignorePerms="false" autoNormalize="true" type="readwrite"><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/><device id="5FQBSYZ-K52PRBS-3LMZQIS-O4KH6VZ-Z3YLUOJ-P7BJNK5-DDMWDPK-5RD5TA5"/></folder><device name="0327" id="OKGYII2-PF2W6YS-6W72T5E-5URHU3S-MWFP6CH-JVLDXKC-3IMET7F-7HJBWQU" compression="metadata" introducer="false"><address>tcp://10.41.59.101:22000</address></device><folder id="0327" label="0327" path="/srv/yumrepo/stores/0327" rescanIntervalS="60" ignorePerms="false" autoNormalize="true" type="readonly"><device id="OKGYII2-PF2W6YS-6W72T5E-5URHU3S-MWFP6CH-JVLDXKC-3IMET7F-7HJBWQU"/><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/>

I did tried removing config multiple times and this panic is occurring again and again

<folder id="pubkeys-master" label="pubkeys-master" path="/srv/yumrepo/pubkeys" type="readwrite" rescanIntervalS="60" ignorePerms="false" autoNormalize="true"><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/>
<folder id="pubkeys" label="pubkeys" path="/srv/yumrepo/pubkeys" type="readonly" rescanIntervalS="60" ignorePerms="false" autoNormalize="true"><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/>
<folder id="kickstart-master" label="kickstart-master" path="/srv/yumrepo/kickstart" type="readwrite" rescanIntervalS="60" ignorePerms="false" autoNormalize="true"><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/>
<folder id="kickstart" label="kickstart" path="/srv/yumrepo/kickstart" type="readonly" rescanIntervalS="60" ignorePerms="false" autoNormalize="true"><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/>
<folder id="repos-master" label="repos-master" path="/srv/yumrepo/repos" type="readwrite" rescanIntervalS="60" ignorePerms="false" autoNormalize="true"><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/>
<folder id="repos" label="repos" path="/srv/yumrepo/repos" type="readonly" rescanIntervalS="60" ignorePerms="false" autoNormalize="true"><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/>
<folder id="poc-master" label="poc-master" path="/srv/yumrepo/poc" type="readwrite" rescanIntervalS="60" ignorePerms="false" autoNormalize="true"><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/>
<folder id="poc" label="poc" path="/srv/yumrepo/poc" type="readonly" rescanIntervalS="60" ignorePerms="false" autoNormalize="true"><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/>
<device name="0101" id="DUF4Y6T-AYANV4C-4ABX6RD-BLXYYUX-EYG2VDV-JNBNMQK-W76JX6Z-DDIFZQN" compression="metadata" introducer="false"><address>tcp://10.42.3.101:22000</address></device><folder id="0101" label="0101" path="/srv/yumrepo/stores/0101" rescanIntervalS="60" ignorePerms="false" autoNormalize="true" type="readonly"><device id="DUF4Y6T-AYANV4C-4ABX6RD-BLXYYUX-EYG2VDV-JNBNMQK-W76JX6Z-DDIFZQN"/><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/></folder><folder id="0101-master" label="0101-master" path="/srv/yumrepo/stores/0101" rescanIntervalS="60" ignorePerms="false" autoNormalize="true" type="readwrite"><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/><device id="5FQBSYZ-K52PRBS-3LMZQIS-O4KH6VZ-Z3YLUOJ-P7BJNK5-DDMWDPK-5RD5TA5"/></folder><device name="0214" id="62PRMUA-5FUI6PJ-TJXNZVB-PBPGVQH-ZEVP5SW-WDSG4YI-ESGJN7D-CTBK3AW" compression="metadata" introducer="false"><address>tcp://10.42.60.101:22000</address></device><folder id="0214" label="0214" path="/srv/yumrepo/stores/0214" rescanIntervalS="60" ignorePerms="false" autoNormalize="true" type="readonly"><device id="62PRMUA-5FUI6PJ-TJXNZVB-PBPGVQH-ZEVP5SW-WDSG4YI-ESGJN7D-CTBK3AW"/><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/></folder><folder id="0214-master" label="0214-master" path="/srv/yumrepo/stores/0214" rescanIntervalS="60" ignorePerms="false" autoNormalize="true" type="readwrite"><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/><device id="5FQBSYZ-K52PRBS-3LMZQIS-O4KH6VZ-Z3YLUOJ-P7BJNK5-DDMWDPK-5RD5TA5"/></folder><device name="0364" id="ZLG7YOQ-USSLVU6-ZX52PJW-J3MGEC2-X2X5RCS-GO6ZWVJ-NX6ZFFY-N2OEKAE" compression="metadata" introducer="false"><address>tcp://10.41.107.101:22000</address></device><folder id="0364" label="0364" path="/srv/yumrepo/stores/0364" rescanIntervalS="60" ignorePerms="false" autoNormalize="true" type="readonly"><device id="ZLG7YOQ-USSLVU6-ZX52PJW-J3MGEC2-X2X5RCS-GO6ZWVJ-NX6ZFFY-N2OEKAE"/><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/></folder><folder id="0364-master" label="0364-master" path="/srv/yumrepo/stores/0364" rescanIntervalS="60" ignorePerms="false" autoNormalize="true" type="readwrite"><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/><device id="5FQBSYZ-K52PRBS-3LMZQIS-O4KH6VZ-Z3YLUOJ-P7BJNK5-DDMWDPK-5RD5TA5"/></folder><device name="0323" id="KNAZCWG-LNVEMYS-XMNFEF7-MSJRMHB-INFHBCD-IPET3HL-B5KFFBV-FHGCJQT" compression="metadata" introducer="false"><address>tcp://10.41.56.101:22000</address></device><folder id="0323" label="0323" path="/srv/yumrepo/stores/0323" rescanIntervalS="60" ignorePerms="false" autoNormalize="true" type="readonly"><device id="KNAZCWG-LNVEMYS-XMNFEF7-MSJRMHB-INFHBCD-IPET3HL-B5KFFBV-FHGCJQT"/><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/></folder><folder id="0323-master" label="0323-master" path="/srv/yumrepo/stores/0323" rescanIntervalS="60" ignorePerms="false" autoNormalize="true" type="readwrite"><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/><device id="5FQBSYZ-K52PRBS-3LMZQIS-O4KH6VZ-Z3YLUOJ-P7BJNK5-DDMWDPK-5RD5TA5"/></folder><device name="0493" id="W4LD66D-CKJ7GY7-PGR4WKQ-BGO3HW6-H73VDXB-HSDTBJ5-WWHYPOD-IEREEQE" compression="metadata" introducer="false"><address>tcp://10.43.64.101:22000</address></device><folder id="0493" label="0493" path="/srv/yumrepo/stores/0493" rescanIntervalS="60" ignorePerms="false" autoNormalize="true" type="readonly"><device id="W4LD66D-CKJ7GY7-PGR4WKQ-BGO3HW6-H73VDXB-HSDTBJ5-WWHYPOD-IEREEQE"/><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/></folder><folder id="0493-master" label="0493-master" path="/srv/yumrepo/stores/0493" rescanIntervalS="60" ignorePerms="false" autoNormalize="true" type="readwrite"><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/><device id="5FQBSYZ-K52PRBS-3LMZQIS-O4KH6VZ-Z3YLUOJ-P7BJNK5-DDMWDPK-5RD5TA5"/></folder><device name="0055" id="MYXKDAB-M7RGRAR-MLG7GUV-NNDEKU4-KAXP4ER-E2AKERH-HN4WXH3-DKS6HAV" compression="metadata" introducer="false"><address>tcp://10.41.37.101:22000</address></device><folder id="0055" label="0055" path="/srv/yumrepo/stores/0055" rescanIntervalS="60" ignorePerms="false" autoNormalize="true" type="readonly"><device id="MYXKDAB-M7RGRAR-MLG7GUV-NNDEKU4-KAXP4ER-E2AKERH-HN4WXH3-DKS6HAV"/><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/></folder><folder id="0055-master" label="0055-master" path="/srv/yumrepo/stores/0055" rescanIntervalS="60" ignorePerms="false" autoNormalize="true" type="readwrite"><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/><device id="5FQBSYZ-K52PRBS-3LMZQIS-O4KH6VZ-Z3YLUOJ-P7BJNK5-DDMWDPK-5RD5TA5"/></folder><device name="0106" id="SMAADDD-OPPW27X-L4GF2QO-MB6FBOY-BT4OU24-CMAAJ45-GR6BEV5-TFXAKA4" compression="metadata" introducer="false"><address>tcp://10.42.74.101:22000</address></device><folder id="0106" label="0106" path="/srv/yumrepo/stores/0106" rescanIntervalS="60" ignorePerms="false" autoNormalize="true" type="readonly"><device id="SMAADDD-OPPW27X-L4GF2QO-MB6FBOY-BT4OU24-CMAAJ45-GR6BEV5-TFXAKA4"/><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/></folder><folder id="0106-master" label="0106-master" path="/srv/yumrepo/stores/0106" rescanIntervalS="60" ignorePerms="false" autoNormalize="true" type="readwrite"><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/><device id="5FQBSYZ-K52PRBS-3LMZQIS-O4KH6VZ-Z3YLUOJ-P7BJNK5-DDMWDPK-5RD5TA5"/></folder><device name="0126" id="IGQAKGA-CJRP5IE-A6BDAP7-2GY4I2N-OVC7YPM-YS2NA3E-FRAL53Y-J2MH2QG" compression="metadata" introducer="false"><address>tcp://10.42.44.101:22000</address></device><folder id="0126" label="0126" path="/srv/yumrepo/stores/0126" rescanIntervalS="60" ignorePerms="false" autoNormalize="true" type="readonly"><device id="IGQAKGA-CJRP5IE-A6BDAP7-2GY4I2N-OVC7YPM-YS2NA3E-FRAL53Y-J2MH2QG"/><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/></folder><folder id="0126-master" label="0126-master" path="/srv/yumrepo/stores/0126" rescanIntervalS="60" ignorePerms="false" autoNormalize="true" type="readwrite"><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/><device id="5FQBSYZ-K52PRBS-3LMZQIS-O4KH6VZ-Z3YLUOJ-P7BJNK5-DDMWDPK-5RD5TA5"/></folder><device name="0227" id="SDG5XT3-X5RPNFR-K77HXKZ-7Z6KM7Q-RBJ6AQF-SFUZEIF-56OIWGS-EQSPBQW" compression="metadata" introducer="false"><address>tcp://10.42.79.101:22000</address></device><folder id="0227" label="0227" path="/srv/yumrepo/stores/0227" rescanIntervalS="60" ignorePerms="false" autoNormalize="true" type="readonly"><device id="SDG5XT3-X5RPNFR-K77HXKZ-7Z6KM7Q-RBJ6AQF-SFUZEIF-56OIWGS-EQSPBQW"/><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/></folder><folder id="0227-master" label="0227-master" path="/srv/yumrepo/stores/0227" rescanIntervalS="60" ignorePerms="false" autoNormalize="true" type="readwrite"><device id="7X3Q4YA-NCN6C6T-LCWTTUD-QQIIIEY-A4AYRHZ-H45ZBRN-MTMTAYU-DADLBA4"/><device id="5FQBSYZ-K52PRBS-3LMZQIS-O4KH6VZ-Z3YLUOJ-P7BJNK5-DDMWDPK-5RD5TA5"/></folder></configuration>

Looks like the grep is from a different config than the one that causes the panic, which is not really useful. There is however a bug; an empty folder ID is accepted by the API, but will then cause this crash on restart. I’m fixing that so that empty folder IDs are rejected already at the config POST stage…

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.