Talk:ZoneMinder

From ArchWiki

Storage in /home

Hello Archers, I though I'd ask before jumping in with an edit:

I've spent some hours tracking down and fixing an issue that is not covered in relation to the topic.

If you add storage to Zoneminder that is mounted under a home directory, it will not be accessible. It's possible to get in a big mess following out of date fixes around php open_basedir

I did not want to move the mount point, so I decided to apply the following fix copied from an unrelated post else where:

sudo nano /etc/systemd/system/multi-user.target.wants/php-fpm.service 1. Set ProtectHome=false in /etc/systemd/system/multi-user.target.wants/php-fpm.service 2. systemctl daemon-reload 3. systemctl restart nginx.service 4. systemctl restart php-fpm.service

This will be over written by php-fpm updates and modifies the maintainers security setting ... not ideal.

thanks Yakkers (talk) 19:16, 3 February 2020 (UTC)

MySQL creation database

$ mysql -u root -p
Shouldn't this be run as root?
# mysql -u root -p

Bitflow (talk) 06:08, 22 September 2020 (UTC)

MariaDB

"2) ... After the above steps are complete, restart systemd-tmpfiles with the --create option," leaves me in dust... What exactly is this ominous "--create option"? systemctl does not list such as a parameter... Pauledd (talk) 07:14, 5 June 2021 (UTC)

It's not a systemctl parameter, systemd-tmpfiles is a different binary which is responsible for managing, well, systemd's tmpfiles. I don't know why I wrote that part as if systemd-tmpfiles is a service, but I'll fix it.
Nocifer (talk) 16:41, 7 June 2021 (UTC)