


























It's not new. It has been always needed, from the first time I installed zoneminder. A quick look at journalctl pointed me to the permission issue, and I didn't think it was a "bug", but normal system administration. So, an installation notice it's enough IMHO. The fact that nobody complained here suggests that it is not a real issue.
Yep, that's what I had in mind as well, add a note about it in the install notes.
But just to verify, this is a new behavior of/requirement for 1.38.2, right? USB devices used to Just Work™ with Zoneminder 1.38.1 and older?
Yes Nocifer, I had to add http to the "video" group in order to open /dev/video* devices. But in my opinion a notice during the installation is enough -- it's up to the user then to add 'http' to 'video' if he needs to.
NOTE: The changelog for 1.38.2 contains the following tidbit:
www-data video group - Debian/Ubuntu postinst adds www-data to video and dialout groups so zmc can open /dev/video* on fresh installs (refs #4642)
It's possible that a similar tweak may be required on Arch Linux as well, i.e. add the http user to the video group. Unfortunately I don't have the means to test for this, so I'd appreciate it if someone can verify it and notify me about it.
@light9876 If you must do it by hand, then I'm guessing you're not using an AUR helper (like yay, paru, etc)?
Unfortunately that's the nature of the AUR: any and all packages, along with their dependencies, must be built from source (unless they're closed-source and distributed as binaries only). AUR helpers can help with that by largely automating the process, and in this case the Perl dependencies rarely if ever get any updates, so it should mostly be a "build them once, use them for a long time" scenario - perhaps, if you're not already doing so, you should be keeping the built dependencies around to be used for future rebuilds of Zoneminder instead of deleting them?
Such a long list of dependencies required, all need to be installed by hand. It would be nice if the installation script could do it automatically. So far I have to do:
git clone https://aur.archlinux.org/perl-net-sftp-foreign.git
git clone https://aur.archlinux.org/perl-php-serialization.git
git clone https://aur.archlinux.org/perl-sys-cpu.git
git clone https://aur.archlinux.org/perl-sys-mmap.git
git clone https://aur.archlinux.org/perl-uri-encode.git
git clone https://aur.archlinux.org/perl-io-interface.git
git clone https://aur.archlinux.org/perl-io-socket-multicast.git
git clone https://aur.archlinux.org/perl-soap-wsdl.git
git clone https://aur.archlinux.org/perl-crypt-eksblowfish.git
git clone https://aur.archlinux.org/perl-data-entropy.git
git clone https://aur.archlinux.org/perl-class-mix.git
And build each one. And this list isn't finished!
Isn't it possible to move this package out of AUR into the main repositories?
Question: Quote: "/etc/nginx/nginx.conf and add the following line at the end of the http block: "...
Should the end of nginx.conf look like this, with the line inside the http block? As I read it, yes. But if I'm wrong, do correct me while I try to get the web interface started...
CODE:
# root html;
# index index.html index.htm;
# }
#}
include sites-enabled/*.conf;
}
Thanks!! :)
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
Indeed it's not new, I checked the wiki and it's already mentioned there as well, so I don't think it's something that even warrants an extra note during installation. Why it appeared on the 1.38.2 changelog is a mystery to me though :)