Error while deploying openems edge on WSL2 (Ubuntu)


Hello,

i followed this tutorial: Deploy OpenEMS Edge :: Open Energy Management System
to deploy an edge device on my WSL, everything works fine but when i get to the command “systemctl restart openems --no-block; journalctl -lfu openems” i get this error (refer to the figure).

can you please help me understand what’s the issue and how to fix it!
thank you

Hi Ghada,

the problem is in the systemd service definition (/etc/systemd/system/openems.service). WSL does not seem to support the realtime scheduling. Please try a simplified configuration file, as previously described in this German thread:

Regards,
Stefan

1 Like

thank you! it works now without any issues.

1 Like