myservers.cfg corrupt and no backup


Recommended Posts

Hello everyone,

 

while searching solutions for another problem I got, I checked the logs of Connect, because there is a problem with the flash backup. I've seen, that some have errors with the backup, mine is just loading without any error at all ("Wird geladen" = loading):

FB_loading.png.1b7dcd82703204ca4e5cafecb3c9ed33.png

 

The Connect logs are spammed with the following message every 10 seconds:

[2023-12-10T19:17:20.607] [19088] [36m[DEBUG][39m [36m[emhttp][39m Loading state file for disks

Seems like this thing is waking my HDDs up. :(

For more infos please see the log attached. Thank you. :)

 

edit: deleted logs and changed the title

Edited by Cicatrix
Link to comment

Ok, the above mentioned problem isn`t the real problem. I checked the log again and there seems to be a problem with myservers.cfg;

 

[2023-12-19T16:13:07.837] [14730] [32m[INFO][39m [32m[app][39m Watch Setup on Config Path: /boot/config/plugins/dynamix.my.servers/myservers.cfg
[2023-12-19T16:13:07.843] [14730] [33m[WARN][39m [33m[app][39m Config file is corrupted, recreating config TypeError: Cannot read properties of undefined (reading 'version')
    at getWriteableConfig (/snapshot/api/dist/unraid-api.cjs:8708:24)
    at /snapshot/api/dist/unraid-api.cjs:8927:70
[2023-12-19T16:13:07.951] [14730] [36m[DEBUG][39m [36m[app][39m Config File Load Failed - TypeError: Cannot read properties of undefined (reading 'version')
    at getWriteableConfig (/snapshot/api/dist/unraid-api.cjs:8708:24)
    at /snapshot/api/dist/unraid-api.cjs:8927:70 {
  [stack]: "TypeError: Cannot read properties of undefined (reading 'version')\n" +
    '    at getWriteableConfig (/snapshot/api/dist/unraid-api.cjs:8708:24)\n' +
    '    at /snapshot/api/dist/unraid-api.cjs:8927:70',
  [message]: "Cannot read properties of undefined (reading 'version')"

This is repeating. :(

I tried:

rm /boot/config/plugins/dynamix.my.servers/myservers.cfg
unraid-api restart

but the log is telling me the same problem with the myservers.cfg.

 

Any suggestions?

Link to comment
  • Cicatrix changed the title to myservers.cfg corrupt and no backup