Red Hat/Fedora Documentation Needs Improvements

Add any particular hints or tricks you have found to help with your ZoneMinder experience.
Post Reply
tokenwizard
Posts: 2
Joined: Fri Sep 20, 2019 8:26 pm

Red Hat/Fedora Documentation Needs Improvements

Post by tokenwizard »

I'm trying to install on a fresh install of Fedora 36. The installation guide seems to indicate the steps are basically:
1) Enable RPMFusion Repo
2)

Code: Select all

sudo dnf install zoneminder-httpd
or

Code: Select all

sudo dnf install zoneminder-nginx
3) follow the finishing steps in the README which is located in /usr/share/doc/zoneminder-common

However after installing zoneminder-nginx, there is no documentation in that location on Fedora 36.

Code: Select all

[root@ZM-Camserver doc]# ls /usr/share/doc/
pecl  policycoreutils  x264
I have searched using the find command and there is no folder called "zoneminder-common" anywhere in the filesystem on a fresh Fedora 36 install after installing zoneminder-nginx from RPMFusion.

I cannot complete the Zoneminder setup without the final steps that should be included in that README.

I managed to find the online version of the README for nginx on Github here: https://github.com/ZoneMinder/zoneminde ... ADME.nginx

Remaining Hurdles:
A) Following the online README for Fedora, step 6 for disabling SELinux says to disable it permanently, edit the /etc/selinux/config file, but that file does not exist in a fresh Fedora 36 install. The only file I have in /etc/selinux is semanage.conf and this file does not contain the "enforcing" or "disabled" parameter.

B) The nginx service fails to start after following the steps outlined in the README. It seems the "default self signed certificate on your system" is not in place in a fresh Fedora 36 install. Here is the output of journalctl for the nginx service:

Code: Select all

Sep 26 20:29:42 ZM-Camserver nginx[3178]: nginx: [emerg] cannot load certificate "/etc/pki/tls/certs/localhost.crt": BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/pki/tls/certs/localhost.crt, r) error:10000080:BIO routines::no such file)
Sep 26 20:29:42 ZM-Camserver nginx[3178]: nginx: configuration file /etc/nginx/nginx.conf test failed
Sep 26 20:29:42 ZM-Camserver systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
So to remedy this issue I had to manually install openssl and generate a key, then edit the zoneminder.conf and point it to the new cert and private key I just generated. This allowed me to successfully start the nginx service followed by the zoneminder service.

C) After I am finally able to get nginx and zoneminder services started, I can access the web page at https://<my-server-ip>/zm/ but after I accept the self-signed certificate warning I just get a blank white page with no login fields. Additionally, the https://192.168.7.9/zm/api/host/getVersion.json path just presents blank white page.
Post Reply