Missing README from CentOS zmrepo rpm...

Forum for questions and support relating to the 1.29.x releases only.
Locked
Tantamount
Posts: 76
Joined: Wed Feb 03, 2016 7:51 am

Missing README from CentOS zmrepo rpm...

Post by Tantamount »

Per the dropdown instructions for CentOS 7 (https://zmrepo.zoneminder.com/), I followed these instructions on a clean minimal install of CentOS 7:

Code: Select all

wget http://zmrepo.zoneminder.com/el/7/x86_64/zmrepo-7-6.el7.centos.noarch.rpm
sudo yum install --nogpgcheck zmrepo-7-6.el7.centos.noarch.rpm
sudo yum install zoneminder
less /usr/share/doc/zoneminder-*/README.Centos7
Everything seemed to install correctly, and I saw the instructions to read the README file when the zoneminder rpm was installed:

Code: Select all

VERY IMPORTANT: Before starting ZoneMinder, read README.Centos7 to finish the
installation or upgrade!


The README file is located here: /usr/share/doc/zoneminder-1.29.0.

  Verifying  : zoneminder-1.29.0-3.el7.centos.x86_64                                                                                      1/1

Installed:
  zoneminder.x86_64 0:1.29.0-3.el7.centos

Complete!
However, no readme file exists?

Code: Select all

[root@1fe5d6c5993f zoneminder-1.29.0]# cd /usr/share/doc/zoneminder-1.29.0/
[root@1fe5d6c5993f zoneminder-1.29.0]# ls -la
total 12
drwxr-xr-x  3 root root 4096 Feb  7 17:29 .
drwxr-xr-x 32 root root 4096 Feb  7 17:29 ..
drwxr-xr-x  2 root root 4096 Feb  4 23:30 jscalendar-doc
[root@1fe5d6c5993f zoneminder-1.29.0]#
If I run rpm -Vvvv zoneminder, it shows that the files aren't installed:

Code: Select all

[root@1fe5d6c5993f zoneminder-1.29.0]# rpm -vV zoneminder|grep "README"
.........  d /usr/share/doc/zoneminder-1.29.0/README.Centos7 (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/README.https (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/README.md (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/jscalendar-doc/README (not installed)
.........    /usr/share/zoneminder/www/api/README.md
.........    /usr/share/zoneminder/www/api/app/Plugin/Crud/README.md
.........    /usr/share/zoneminder/www/api/app/vendor/composer/installers/README.md
[root@1fe5d6c5993f zoneminder-1.29.0]#
Anyone have any ideas what's going on here? It looks like a lot of files weren't installed:

Code: Select all

[root@1fe5d6c5993f zoneminder-1.29.0]# rpm -vV zoneminder|grep "not installed"
.........  d /usr/share/doc/zoneminder-1.29.0/AUTHORS (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/BUGS (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/COPYING (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/ChangeLog (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/LICENSE (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/NEWS (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/README.Centos7 (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/README.https (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/README.md (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/jscalendar-doc/README (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/jscalendar-doc/bugtest-hidden-selects.html (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/jscalendar-doc/calendar.php (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/jscalendar-doc/dayinfo.html (not installed)
.........    /usr/share/doc/zoneminder-1.29.0/jscalendar-doc/html (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/jscalendar-doc/html/field-button.jpg (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/jscalendar-doc/html/reference-Z-S.css (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/jscalendar-doc/html/reference.css (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/jscalendar-doc/html/reference.html (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/jscalendar-doc/index.html (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/jscalendar-doc/multiple-dates.html (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/jscalendar-doc/reference.pdf (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/jscalendar-doc/release-notes.html (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/jscalendar-doc/simple-1.html (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/jscalendar-doc/simple-2.html (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/jscalendar-doc/simple-3.html (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/jscalendar-doc/test-position.html (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/jscalendar-doc/test.php (not installed)
.........  d /usr/share/doc/zoneminder-1.29.0/local_zoneminder.te (not installed)
.........  d /usr/share/man/man3/ZoneMinder.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Base.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Config.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::ConfigAdmin.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::ConfigData.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Control.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Control::3S.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Control::AxisV2.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Control::FI8608W_Y2k.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Control::FI8620_Y2k.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Control::FI8908W.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Control::FI8918W.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Control::FI9821W_Y2k.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Control::FI9831W.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Control::M8640.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Control::Ncs370.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Control::PanasonicIP.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Control::PelcoD.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Control::PelcoP.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Control::SPP1802SWPTZ.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Control::SkyIPCam7xx.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Control::TVIP862.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Control::Toshiba_IK_WB11A.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Control::Visca.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Control::Wanscam.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Control::mjpgStreamer.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Database.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::General.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Logger.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Memory.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Server.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Trigger::Channel.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Trigger::Channel::File.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Trigger::Channel::Handle.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Trigger::Channel::Inet.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Trigger::Channel::Serial.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Trigger::Channel::Spawning.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Trigger::Channel::Unix.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Trigger::Connection.3pm.gz (not installed)
.........  d /usr/share/man/man3/ZoneMinder::Trigger::Connection::Example.3pm.gz (not installed)
.........  d /usr/share/man/man8/zoneminder-zma.8.gz (not installed)
.........  d /usr/share/man/man8/zoneminder-zmaudit.pl.8.gz (not installed)
.........  d /usr/share/man/man8/zoneminder-zmc.8.gz (not installed)
.........  d /usr/share/man/man8/zoneminder-zmcamtool.pl.8.gz (not installed)
.........  d /usr/share/man/man8/zoneminder-zmcontrol.pl.8.gz (not installed)
.........  d /usr/share/man/man8/zoneminder-zmdc.pl.8.gz (not installed)
.........  d /usr/share/man/man8/zoneminder-zmf.8.gz (not installed)
.........  d /usr/share/man/man8/zoneminder-zmfilter.pl.8.gz (not installed)
.........  d /usr/share/man/man8/zoneminder-zmpkg.pl.8.gz (not installed)
.........  d /usr/share/man/man8/zoneminder-zmstreamer.8.gz (not installed)
.........  d /usr/share/man/man8/zoneminder-zmsystemctl.pl.8.gz (not installed)
.........  d /usr/share/man/man8/zoneminder-zmtrack.pl.8.gz (not installed)
.........  d /usr/share/man/man8/zoneminder-zmtrigger.pl.8.gz (not installed)
.........  d /usr/share/man/man8/zoneminder-zmu.8.gz (not installed)
.........  d /usr/share/man/man8/zoneminder-zmupdate.pl.8.gz (not installed)
.........  d /usr/share/man/man8/zoneminder-zmvideo.pl.8.gz (not installed)
.........  d /usr/share/man/man8/zoneminder-zmwatch.pl.8.gz (not installed)
.........  d /usr/share/man/man8/zoneminder-zmx10.pl.8.gz (not installed)
3 ReoLink RLC-410
2 Annke NC800
Kubernetes 1.22.6 statefulset of 5 Ubuntu 20.04 pods using iconnor's repository
ZoneMinder Version 1.36.12
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Missing README from CentOS zmrepo rpm...

Post by bbunge »

I have run that setup several times and the Readme files were there every time. I did, however, use WinSCP to find the file.

bb
Tantamount
Posts: 76
Joined: Wed Feb 03, 2016 7:51 am

Re: Missing README from CentOS zmrepo rpm...

Post by Tantamount »

The fact that the files show as "not installed" instead of "missing" suggests there's some type of rpm install check that is gracefully failing, correct? The rpm install script is deciding not to install those files for some reason.
3 ReoLink RLC-410
2 Annke NC800
Kubernetes 1.22.6 statefulset of 5 Ubuntu 20.04 pods using iconnor's repository
ZoneMinder Version 1.36.12
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Missing README from CentOS zmrepo rpm...

Post by bbunge »

Honestly, I do not know. I've been working with the RH distros for about a week (just for fun). The package maintainer should chime in to help. I am currently loading a Ubuntu 15.10 server with Mariadb 10.1.11 and ZM 1.29.0... just to see how it works...

bb
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Missing README from CentOS zmrepo rpm...

Post by knight-of-ni »

No idea what is going on, and I'm not even sure it is possible to install an rpm with a failure like that during a normal operation.
In each case that I've seen, if yum/rpm runs into a problem during the installation, it aborts completely w/o installing anything. The only way I know how to get one's system into a state like that is to control-C or reboot midway through the installation.

My only advice is uninstall completely and start over.
- uninstall the zoneminder rpm
- inspect every folder on your fielsystem previously containing "not installed" files, and make sure the folder is deleted.
- Yum install zoneminder again. This time watch the output for any errors or any other out of the ordinary messages.

If you still have issues, then copy and paste the entire build output, starting with the command you entered into the command prompt, into this thread.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
Tantamount
Posts: 76
Joined: Wed Feb 03, 2016 7:51 am

Re: Missing README from CentOS zmrepo rpm...

Post by Tantamount »

Fascinating. No, there were no issues when the rpm installed itself (No reboots, no errors), and yeah, I tried uninstalling and re-installing. You can see in my previous post that it reported "Complete!", and again running the rpm verify command comes up clean. Only when I add the extra -v for verbosity does it show that the files weren't installed.

Well, I'm not going to worry about it. I found the readme online.
3 ReoLink RLC-410
2 Annke NC800
Kubernetes 1.22.6 statefulset of 5 Ubuntu 20.04 pods using iconnor's repository
ZoneMinder Version 1.36.12
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Missing README from CentOS zmrepo rpm...

Post by knight-of-ni »

Things like this can come back to bite you later, like during the next upgrade.
Its your choice if you don't want pursue this any further.

If you do, we need to see the entire output from yum, including the initial command entered into the command line, and not just the end of the output. Finding the cause is going to require real data. Even if the output looks fine to you, it doesn't hurt to have a second set of eyes look at it.

This guy seems to report a similar problem installing an rpm:
http://stackoverflow.com/questions/2820 ... -all-files

It is unclear what the root cause was in his case.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Missing README from CentOS zmrepo rpm...

Post by knight-of-ni »

This appears to be relevant:
http://superuser.com/questions/784451/c ... -doc-files

You did not state if you were running in a Docker container, but even if you are not, please check /etc/rpm/macros.imgcreate and /etc/yum.conf for any excludedocs or nodocs parameters.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
Locked