Settings not saved on RPi

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: robgeerts, htilburgs

Post Reply
User avatar
mvveelen
Posts: 659
Joined: Friday 31 October 2014 11:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Settings not saved on RPi

Post by mvveelen » Sunday 08 July 2018 15:17

Hi,

after months of not playing with Dashticz and moving my Domoticz setup to an RPi3, I'm trying to pick up from where I left.

Now, I see one can use the Settings wheel to adjust some settings. But, on my setup the settings aren't saved. I couldn't find anything in the wiki about his, so I'm asking here: what am I forgetting?

I CHMOD'ed CONFIG.js to 777, and installed Dashticz using GIT. Any tips?
Synology DS414 DSM6.1 + RFXCOM rfxtrx433E + Xiaomi Gateway + Philips HUE Lights + Nefit Easy + Dashticz v2 + Domoticz latest Beta

User avatar
HansieNL
Posts: 375
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi
Domoticz version: Stable
Location: NL
Contact:

Re: Settings not saved on RPi

Post by HansieNL » Sunday 08 July 2018 19:37

@mvveelen: settings will only be saved if you have PHP running.
Blah blah blah

User avatar
mvveelen
Posts: 659
Joined: Friday 31 October 2014 11:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: Settings not saved on RPi

Post by mvveelen » Sunday 08 July 2018 20:33

Is this in the Wiki? For the RPi?
Synology DS414 DSM6.1 + RFXCOM rfxtrx433E + Xiaomi Gateway + Philips HUE Lights + Nefit Easy + Dashticz v2 + Domoticz latest Beta

User avatar
HansieNL
Posts: 375
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi
Domoticz version: Stable
Location: NL
Contact:

Re: Settings not saved on RPi

Post by HansieNL » Sunday 08 July 2018 22:28

You can find instructions to install webserver with PHP here: https://www.raspberrypi.org/documentati ... r/nginx.md
Be sure to make the config.js writable.
Blah blah blah

User avatar
mvveelen
Posts: 659
Joined: Friday 31 October 2014 11:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: Settings not saved on RPi

Post by mvveelen » Thursday 12 July 2018 18:10

Installed NGINX and PHP7, and the CONFIG.JS was (is) already writable. It seems that this didn't do the job unfortunately.
Synology DS414 DSM6.1 + RFXCOM rfxtrx433E + Xiaomi Gateway + Philips HUE Lights + Nefit Easy + Dashticz v2 + Domoticz latest Beta

User avatar
HansieNL
Posts: 375
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi
Domoticz version: Stable
Location: NL
Contact:

Re: Settings not saved on RPi

Post by HansieNL » Thursday 12 July 2018 21:42

Can you try the following and make pi owner of the html folder:
$ sudo chown www-data:www-data /var/www/html
$ sudo chmod 775 /var/www/html
$ sudo usermod -a -G www-data pi

The file config.js should at least have file permission 646
Blah blah blah

User avatar
mvveelen
Posts: 659
Joined: Friday 31 October 2014 11:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: Settings not saved on RPi

Post by mvveelen » Friday 13 July 2018 17:44

Tried this, but it's not saved. Am I the only one or are others having the same issues?
Synology DS414 DSM6.1 + RFXCOM rfxtrx433E + Xiaomi Gateway + Philips HUE Lights + Nefit Easy + Dashticz v2 + Domoticz latest Beta

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests