Volumio Debian Buster Beta - Raspi images debugging

Sure, say the plugin is GPIO Buttons - this is probably the error you get:

error: The plugin system_controller/gpio-buttons failed to load, setting it to stopped. Error: Error: The module '/data/p
May 27 10:09:41 volumio volumio[722]: was compiled against a different Node.js version using
May 27 10:09:41 volumio volumio[722]: NODE_MODULE_VERSION 57. This version of Node.js requires
May 27 10:09:41 volumio volumio[722]: NODE_MODULE_VERSION 83. Please try re-compiling or re-installing

So we need to recompile the native module epoll that is used to access the sys class…

# pick up some build tools
sudo apt install build-essential

cd /data/plugins/system_controller/gpio-buttons/
# Update the ancient onoff so that you can use  epoll@4.0.0
npm install --save onoff@6.0.0
# Restart volumio
volumio vrestart

That should work, hopefully there aren’t many breaking changes in onoff’s api from 1.xx to 6.xx :wink:
I believer there were a few more minor api fixes I had to do for onoff (to work with the Ampswitch plugin) but I won’t be near that device for a few weeks to check and confirm.