Hi,
a couple of weeks ago I upgraded my production Razberry from 2.1.1 to 2.2.1. Except for one major issue everything went smoothly (a couple of compatibility fixes in some of my modules, a couple of config changes, ... nothing serious). After every z-way restart I get old blind/window positions - both in the Expert UI, as well as in the smarthome UI. I have to update all affected devices to get proper device statuses after every restart.
Logs don't show anything suspicious (like config or json errors on restart). Only thing I noticed that file permissions/ownerships were muddled up. Some files belonged to root, others to pi. Changed that by chowning all files to pi:pi, but the issue still lingers on. However /opt/z-way-server/automation/storage/configjson-XXX.json is changed back to be only readable and writable by root after every restart. Restarting usually is done via "sudo /etc/init.d/z-way-server restart".
Any idea what might be wrong, or how I can investigate this issue?
Cheers
Maroš
Restart on 2.2.1
Restart on 2.2.1
Z-Way 2.2.4 on Raspi B | My Zway GitHub repos | Amazon Wishlist to support module development
- DomotikQuebec
- Posts: 34
- Joined: 14 Jan 2016 19:06
- Location: Quebec City, Canada
- Contact:
Re: Restart on 2.2.1
I did notice after a firmware update that my files in userModules are owned by root:root because the root user did copy it. I need to "chown" them to pi:pi to edit my modules.
I think the configjson-XXX.json is rebuilt from the original config.json. That may be done by the "root" user and may explain it.
Do you get the same result after "sudo reboot" ?
I think the configjson-XXX.json is rebuilt from the original config.json. That may be done by the "root" user and may explain it.
Do you get the same result after "sudo reboot" ?
Mario Gravel
Domotik Quebec
Domotik Quebec