You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after starting the Docker container and logging into the FHEM UI there are pending NPM updates indicated by fhemServerNpm. When calling "set update all" through the UI an error occurs:
Detail:
sudo: sorry, you are not allowed to set the following environment variables: NODE_ENV
The required commands to update are part of /etc/sudoers.d/fhem-docker, unfortunately the user is not allowed to set/retain environment variables, calling the update to fail.
I have solved this by adding
Defaults !env_reset
to /etc/sudoers.d/fhem-docker. Afterwards updating the packages through the UI works fine.
I am not sure if this is an issue that only occurs for me but I thought I better report it.
Thank you,
Andre
The text was updated successfully, but these errors were encountered:
Hello,
after starting the Docker container and logging into the FHEM UI there are pending NPM updates indicated by fhemServerNpm. When calling "set update all" through the UI an error occurs:
Error code E403
Summary:
Forbidden - passwordless sudo permissions required
Detail:
sudo: sorry, you are not allowed to set the following environment variables: NODE_ENV
The required commands to update are part of /etc/sudoers.d/fhem-docker, unfortunately the user is not allowed to set/retain environment variables, calling the update to fail.
I have solved this by adding
Defaults !env_reset
to /etc/sudoers.d/fhem-docker. Afterwards updating the packages through the UI works fine.
I am not sure if this is an issue that only occurs for me but I thought I better report it.
Thank you,
Andre
The text was updated successfully, but these errors were encountered: