OTA Update failed from 2.5xx to 2.779

Volumio Information

Volumio Version: 2.779
Hardware: Raspberry Pi 3B+
DAC:

Debug Log

Jun 14 12:03:31 volumio volumio[1479]: /volumio/app/index.js:29
Jun 14 12:03:31 volumio volumio[1479]: this.logger = new (winston.Logger)({
Jun 14 12:03:31 volumio volumio[1479]: ^
Jun 14 12:03:31 volumio volumio[1479]: TypeError: winston.Logger is not a constructor
Jun 14 12:03:31 volumio volumio[1479]: at new CoreCommandRouter (/volumio/app/index.js:29:16)
Jun 14 12:03:31 volumio volumio[1479]: at Object.<anonymous> (/volumio/index.js:50:21)
Jun 14 12:03:31 volumio volumio[1479]: at Module._compile (module.js:652:30)
Jun 14 12:03:31 volumio volumio[1479]: at Object.Module._extensions..js (module.js:663:10)
Jun 14 12:03:31 volumio volumio[1479]: at Module.load (module.js:565:32)
Jun 14 12:03:31 volumio volumio[1479]: at tryModuleLoad (module.js:505:12)
Jun 14 12:03:31 volumio volumio[1479]: at Function.Module._load (module.js:497:3)
Jun 14 12:03:31 volumio volumio[1479]: at Function.Module.runMain (module.js:693:10)
Jun 14 12:03:31 volumio volumio[1479]: at startup (bootstrap_node.js:188:16)
Jun 14 12:03:31 volumio volumio[1479]: at bootstrap_node.js:609:3
Jun 14 12:03:31 volumio systemd[1]: volumio.service: main process exited, code=exited, status=1/FAILURE
Jun 14 12:03:31 volumio systemd[1]: Unit volumio.service entered failed state.
Jun 14 12:03:31 volumio systemd[1]: Starting dynamicswap service...
Jun 14 12:03:31 volumio systemd[1]: Started dynamicswap service.
Jun 14 12:03:31 volumio systemd[1]: volumio.service holdoff time over, scheduling restart.
Jun 14 12:03:31 volumio systemd[1]: Starting dynamicswap service...
Jun 14 12:03:31 volumio systemd[1]: Started dynamicswap service.
Jun 14 12:03:31 volumio systemd[1]: Stopping Volumio Backend Module...
Jun 14 12:03:31 volumio systemd[1]: Starting Volumio Backend Module...
Jun 14 12:03:31 volumio systemd[1]: Started Volumio Backend Module.
Jun 14 12:03:33 volumio volumio[1504]: /volumio/app/index.js:29
Jun 14 12:03:33 volumio volumio[1504]: this.logger = new (winston.Logger)({
Jun 14 12:03:33 volumio volumio[1504]: ^
Jun 14 12:03:33 volumio volumio[1504]: TypeError: winston.Logger is not a constructor
Jun 14 12:03:33 volumio volumio[1504]: at new CoreCommandRouter (/volumio/app/index.js:29:16)
Jun 14 12:03:33 volumio volumio[1504]: at Object.<anonymous> (/volumio/index.js:50:21)
Jun 14 12:03:33 volumio volumio[1504]: at Module._compile (module.js:652:30)
Jun 14 12:03:33 volumio volumio[1504]: at Object.Module._extensions..js (module.js:663:10)
Jun 14 12:03:33 volumio volumio[1504]: at Module.load (module.js:565:32)
Jun 14 12:03:33 volumio volumio[1504]: at tryModuleLoad (module.js:505:12)
Jun 14 12:03:33 volumio volumio[1504]: at Function.Module._load (module.js:497:3)
Jun 14 12:03:33 volumio volumio[1504]: at Function.Module.runMain (module.js:693:10)
Jun 14 12:03:33 volumio volumio[1504]: at startup (bootstrap_node.js:188:16)
Jun 14 12:03:33 volumio volumio[1504]: at bootstrap_node.js:609:3rd_place_medal:

Steps to Reproduce

  1. OTA update from a stock 2.5xx device
  2. System updates successfully and reboots
  3. But no WebUI, looking into journalctl shows some errors

Additional Information

It looks like some of the node files are not updated/synced correctly? Could this just be signs of eminent SD card failure or something else?

You probably installed node modules manually. This is why they are not updated

Hmm, that is what I found surprising - this is a bone stock installation at a remote location (not the usual devices that I mess around with :wink: ).

Furthermore - from the error - it looks like the node_modules were updated to newer version of Winston, where as /volumio/app/index.js is still the old version (newer index.js should use winston.createLogger() right?)

Then it’s the other way around. The index js have been modified. Much likely…