If you are seeing the settings on the motion page then that indicates that motion can read them OK and can feed them back to the web page via its interface.harlock74 wrote: Hi Robert,
Unfortunately I have been experiencing the same issue today. I can't change any values at all. I tried to reboot but to no avail.
Is there anything I can check?
Thanks a lot!
If you change a value and press Save and the setting doesn't get preserved then that is most likely because motion can't write the new values back to /etc/motion/motion.conf because of permission problems.
When motion is running it should be running under the user www-data. You can check that by issuing the command
Code: Select all
ps -Af
Now check the permission of the motion.conf file with
Code: Select all
sudo ls -l /etc/motion
-rw-rw-r-- 1 motion www-data 24064 Jul 2 12:04 motion.conf
That shows that this file is owned by www-data which has read/write permissions on this file
If yours is different then something has gone wrong with the install as it should have set these.
You can fix it by
Code: Select all
sudo chown www-data:www-data /etc/motion/motion.conf
sudo chmod 664 /etc/motion/motion.conf