Installing Emonhub on a PC

I have created a symlink.
Now I can see the config file in the web page.
However if I modify it and then try to save it (clicking save button) I get this error message


Warning: fopen(/home/pi/data/emonhub.conf): failed to open stream: Permission denied in /var/www/html/emoncms/Modules/config/config_controller.php on line 74

Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/html/emoncms/Modules/config/config_controller.php on line 75

Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/emoncms/Modules/config/config_controller.php on line 76

Config Saved

And the file in /etc/emonhub is not modified…

Take a look at the emoncms/config repo readme, there are some notes about changing ownership so emoncms can edit.

I did
sudo chmod 666 /home/pi/data/emonhub.conf

now it works fine.

Thanks !!!