Closed jjmacneil closed 3 years ago
Hi @jjmacneil ,
Have you tried restarting the pi?
If that does not correct the issue I will need to see the logs to troubleshoot. If the genmon web interface does not come up after a reboot then you can log into the pi via ssh then type this:
cd genmon
./startgenmon.sh restart
copy and paste the output into this thread. If genmon starts or restarts with the above command then type
python3 ClientInterface.py
This will give you a prompt if genmon is loaded, it will let you know if genmon is not loaded.
If you get the prompt type:
generator: sendlogfiles
This will send me your log files if you have outbound email enabled and working. They type this to exit the program:
exit
Let me know if you have any unusual things about your install: for example, what version were you upgrading from. This is a raspberry pi? If yes what version of the operating system are you using?
Another thing you can try once you have logged in via ssh:
cd genmon
bash ./genmonmaint.sh -i
This will reinstall the libraries with the python3 version. It will prompt you to copy conf files, select no (you have already done this). It will prompt you to start genmon on boot, select no (you have already done this)
Hi,
I restarted and now the GenMon is not loaded so I can't even get to the login page. It appears it's having trouble installing python3 libraries for some reason? How can I get the logs to you if GenMon is not loaded?
Hi, I see a message stating pip3: command not found
if you can log in to the pi via ssh then type
cd genmon
bash ./genmonmaint.sh -i
This should fix the issue if pip3 is not installed. From the command line on the pi type
cat /var/log/genloader.log
And copy and paste the output here.
when do you see the message "pip3: command not found"
Linux genpi 5.4.51-v7+ #1333 SMP Mon Aug 10 16:45:19 BST 2020 armv7l
| | | \ | | |
|. ||. 1|. | | |. 1 |. |
|. | |. _)|. | | |. ____|. |
|: 1 |: 1 |: | | |: | |: |
|::.. . |::.. . |::.| | |::.| |::.|
-------
---------- ---'
---' `---'
Last login: Tue Nov 9 22:53:49 2021 from 192.168.X.X
pi@genpi [~] cd genmon
pi@genpi [~/genmon] ./startgenmon.sh restart
Restarting genmon python scripts
Warning: required library flask not installed. Attempting to install....
Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3'
Installing python3-pip
Error in InstallBaseSoftware: name 'libraryname' is not defined
Error installing module: flask: [Errno 2] No such file or directory: 'pip3': 'pip3'
Error: unable to install library flask
Warning: required library pyserial not installed. Attempting to install....
Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3'
Installing python3-pip
Error in InstallBaseSoftware: name 'libraryname' is not defined
Error installing module: pyserial: [Errno 2] No such file or directory: 'pip3': 'pip3'
Error: unable to install library pyserial
Warning: required library crcmod not installed. Attempting to install....
Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3'
Installing python3-pip
Error in InstallBaseSoftware: name 'libraryname' is not defined
Error installing module: crcmod: [Errno 2] No such file or directory: 'pip3': 'pip3'
Error: unable to install library crcmod
Warning: required library pyowm not installed. Attempting to install....
Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3'
Installing python3-pip
Error in InstallBaseSoftware: name 'libraryname' is not defined
Error installing module: pyowm: [Errno 2] No such file or directory: 'pip3': 'pip3'
Error: unable to install library pyowm
Warning: required library pytz not installed. Attempting to install....
Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3'
Installing python3-pip
Error in InstallBaseSoftware: name 'libraryname' is not defined
Error installing module: pytz: [Errno 2] No such file or directory: 'pip3': 'pip3'
Error: unable to install library pytz
Warning: required library pysnmp not installed. Attempting to install....
Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3'
Installing python3-pip
Error in InstallBaseSoftware: name 'libraryname' is not defined
Error installing module: pysnmp: [Errno 2] No such file or directory: 'pip3': 'pip3'
Error: unable to install library pysnmp
Warning: required library ldap3 not installed. Attempting to install....
Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3'
Installing python3-pip
Error in InstallBaseSoftware: name 'libraryname' is not defined
Error installing module: ldap3: [Errno 2] No such file or directory: 'pip3': 'pip3'
Error: unable to install library ldap3
Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3'
Installing python3-pip
Error in InstallBaseSoftware: name 'libraryname' is not defined
Error installing module: pyasn1: [Errno 2] No such file or directory: 'pip3': 'pip3'
Warning: required library smbus not installed. Attempting to install....
Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3'
Installing python3-pip
Error in InstallBaseSoftware: name 'libraryname' is not defined
Error installing module: smbus: [Errno 2] No such file or directory: 'pip3': 'pip3'
Error: unable to install library smbus
Warning: required library pyotp not installed. Attempting to install....
Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3'
Installing python3-pip
Error in InstallBaseSoftware: name 'libraryname' is not defined
Error installing module: pyotp: [Errno 2] No such file or directory: 'pip3': 'pip3'
Error: unable to install library pyotp
Warning: required library psutil not installed. Attempting to install....
Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3'
Installing python3-pip
Error in InstallBaseSoftware: name 'libraryname' is not defined
Error installing module: psutil: [Errno 2] No such file or directory: 'pip3': 'pip3'
Error: unable to install library psutil
Warning: required library chump not installed. Attempting to install....
Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3'
Installing python3-pip
Error in InstallBaseSoftware: name 'libraryname' is not defined
Error installing module: chump: [Errno 2] No such file or directory: 'pip3': 'pip3'
Error: unable to install library chump
Warning: required library twilio not installed. Attempting to install....
Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3'
Installing python3-pip
Error in InstallBaseSoftware: name 'libraryname' is not defined
Error installing module: twilio: [Errno 2] No such file or directory: 'pip3': 'pip3'
Error: unable to install library twilio
Warning: required library paho-mqtt not installed. Attempting to install....
Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3'
Installing python3-pip
Error in InstallBaseSoftware: name 'libraryname' is not defined
Error installing module: paho-mqtt: [Errno 2] No such file or directory: 'pip3': 'pip3'
Error: unable to install library paho-mqtt
Warning: required library pyopenssl not installed. Attempting to install....
Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3'
Installing python3-pip
Error in InstallBaseSoftware: name 'libraryname' is not defined
Error installing module: pyopenssl: [Errno 2] No such file or directory: 'pip3': 'pip3'
Error: unable to install library pyopenssl
Error check system readiness. Exiting
pi@genpi [~/genmon] python3 ClientInterface.py
Genmon not loaded.
pi@genpi [~/genmon] bash ./genmonmaint.sh -i
This script will install libraries needed by genmon. This script assumes you have already downloaded the genmon project via 'git'. This script will optionally copy the config files to the configuration directory. This script will not test the serial port. This script requires internet access to download the needed libraries. Press any key to continue.
Installing....
E: Repository 'http://archive.raspberrypi.org/debian buster InRelease' changed its 'Suite' value from 'testing' to 'oldstable'
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python3.7/libpython3.7-dev_3.7.3-2+deb10u2_armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python3.7/python3.7-dev_3.7.3-2+deb10u2_armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
sudo: pip3: command not found
sudo: pip3: command not found
sudo: pip3: command not found
sudo: pip3: command not found
sudo: pip3: command not found
sudo: pip3: command not found
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python3.7/libpython3.7-dev_3.7.3-2+deb10u2_armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python3.7/python3.7-dev_3.7.3-2+deb10u2_armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
sudo: pip3: command not found
sudo: pip3: command not found
sudo: pip3: command not found
sudo: pip3: command not found
sudo: pip3: command not found
sudo: pip3: command not found
sudo: pip3: command not found
sudo: pip3: command not found
sudo: pip3: command not found
sudo: pip3: command not found
Installing rpirtscts...
~/genmon ~/genmon
Cloning into 'rpirtscts'...
remote: Enumerating objects: 71, done.
remote: Total 71 (delta 0), reused 0 (delta 0), pack-reused 71
Receiving objects: 100% (71/71), 31.42 KiB | 1.85 MiB/s, done.
Resolving deltas: 100% (35/35), done.
make: 'rpirtscts' is up to date.
Finished installing rpirtscts.
~/genmon
Copy configuration files to /etc/genmon/? (y/n)?n
Not copying *.conf to /etc/genmon/
Setup the raspberry pi onboard serial port? (y/n)?n
Not setting up serial port
Done.
Start genmon on boot? (y/n)?n
Not updating crontab.
pi@genpi [~/genmon] cat /var/log/genloader.log
2019-03-05 01:07:35,513 : Warning: Missing entry: genexercise , adding entry
2019-03-05 01:07:35,563 : Copying genexercise.conf to /etc/
2019-05-01 19:12:20,763 : Warning: Missing entry: genemail2sms , adding entry
2019-05-01 19:12:20,821 : Copying genemail2sms.conf to /etc/
2019-08-30 20:23:28,400 : Warning: Missing entry: gentankutil , adding entry
2019-08-30 20:23:28,443 : Warning: Missing entry: gentankutil
2019-08-30 20:23:28,444 : Warning: Missing entry: genalexa , adding entry
2019-08-30 20:23:28,495 : Copying genalexa.conf to /etc/genmon/
2019-08-30 20:23:28,497 : Copying gentankutil.conf to /etc/genmon/
2020-02-15 21:59:15,561 : Warning: required library pysnmp not installed. Attempting to install....
2020-02-15 22:01:34,807 : Warning: Missing entry: gensnmp , adding entry
2020-02-15 22:01:35,272 : Copying gensnmp.conf to /etc/genmon/
2020-06-23 22:57:12,520 : Warning: required library ldap3 not installed. Attempting to install....
2020-07-06 21:49:02,957 : Warning: Missing entry: gentemp , adding entry
2020-07-06 21:49:03,001 : Copying gentemp.conf to /etc/genmon/
2020-08-30 23:44:24,844 : Warning: required library smbus not installed. Attempting to install....
2020-08-30 23:44:31,522 : Warning: Missing entry: gentankdiy , adding entry
2020-08-30 23:44:31,568 : Copying gentankdiy.conf to /etc/genmon/
2020-09-20 17:58:33,375 : Warning: required library pyotp not installed. Attempting to install....
2020-11-16 20:20:30,268 : Warning: required library psutil not installed. Attempting to install....
2020-11-16 20:20:49,325 : Warning: Missing entry: gengpioledblink , adding entry
2020-11-16 20:20:49,375 : Copying gengpioledblink.conf to /etc/genmon/
2021-06-13 22:00:40,255 : Updated entry gengpio.conf
2021-06-13 22:00:40,262 : Copying gengpio.conf to /etc/genmon/
2021-11-09 21:32:11,233 : Warning: required library flask not installed. Attempting to install....
2021-11-09 21:32:11,242 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 21:32:11,243 : Installing python3-pip
2021-11-09 21:32:21,373 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 21:32:21,385 : Error installing module: flask: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 21:32:21,387 : Error: unable to install library flask
2021-11-09 21:32:21,389 : Warning: required library pyserial not installed. Attempting to install....
2021-11-09 21:32:21,395 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 21:32:21,396 : Installing python3-pip
2021-11-09 21:32:28,009 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 21:32:28,014 : Error installing module: pyserial: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 21:32:28,015 : Error: unable to install library pyserial
2021-11-09 21:32:28,016 : Warning: required library crcmod not installed. Attempting to install....
2021-11-09 21:32:28,021 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 21:32:28,022 : Installing python3-pip
2021-11-09 21:32:34,946 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 21:32:34,951 : Error installing module: crcmod: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 21:32:34,952 : Error: unable to install library crcmod
2021-11-09 21:32:34,953 : Warning: required library pyowm not installed. Attempting to install....
2021-11-09 21:32:34,958 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 21:32:34,959 : Installing python3-pip
2021-11-09 21:32:41,428 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 21:32:41,435 : Error installing module: pyowm: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 21:32:41,437 : Error: unable to install library pyowm
2021-11-09 21:32:41,439 : Warning: required library pytz not installed. Attempting to install....
2021-11-09 21:32:41,451 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 21:32:41,452 : Installing python3-pip
2021-11-09 21:32:47,853 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 21:32:47,858 : Error installing module: pytz: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 21:32:47,859 : Error: unable to install library pytz
2021-11-09 21:32:47,860 : Warning: required library pysnmp not installed. Attempting to install....
2021-11-09 21:32:47,865 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 21:32:47,865 : Installing python3-pip
2021-11-09 21:32:54,367 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 21:32:54,371 : Error installing module: pysnmp: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 21:32:54,372 : Error: unable to install library pysnmp
2021-11-09 21:32:54,373 : Warning: required library ldap3 not installed. Attempting to install....
2021-11-09 21:32:54,378 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 21:32:54,379 : Installing python3-pip
2021-11-09 21:33:04,967 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 21:33:04,971 : Error installing module: ldap3: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 21:33:04,972 : Error: unable to install library ldap3
2021-11-09 21:33:04,977 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 21:33:04,977 : Installing python3-pip
2021-11-09 21:33:13,676 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 21:33:13,681 : Error installing module: pyasn1: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 21:33:13,682 : Warning: required library smbus not installed. Attempting to install....
2021-11-09 21:33:13,687 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 21:33:13,687 : Installing python3-pip
2021-11-09 21:33:20,822 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 21:33:20,827 : Error installing module: smbus: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 21:33:20,827 : Error: unable to install library smbus
2021-11-09 21:33:20,829 : Warning: required library pyotp not installed. Attempting to install....
2021-11-09 21:33:20,833 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 21:33:20,834 : Installing python3-pip
2021-11-09 21:33:27,699 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 21:33:27,704 : Error installing module: pyotp: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 21:33:27,704 : Error: unable to install library pyotp
2021-11-09 21:33:27,706 : Warning: required library psutil not installed. Attempting to install....
2021-11-09 21:33:27,710 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 21:33:27,711 : Installing python3-pip
2021-11-09 21:33:34,522 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 21:33:34,527 : Error installing module: psutil: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 21:33:34,528 : Error: unable to install library psutil
2021-11-09 21:33:34,529 : Warning: required library chump not installed. Attempting to install....
2021-11-09 21:33:34,534 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 21:33:34,535 : Installing python3-pip
2021-11-09 21:33:46,502 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 21:33:46,507 : Error installing module: chump: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 21:33:46,508 : Error: unable to install library chump
2021-11-09 21:33:46,509 : Warning: required library twilio not installed. Attempting to install....
2021-11-09 21:33:46,514 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 21:33:46,514 : Installing python3-pip
2021-11-09 21:33:53,827 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 21:33:53,832 : Error installing module: twilio: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 21:33:53,833 : Error: unable to install library twilio
2021-11-09 21:33:53,834 : Warning: required library paho-mqtt not installed. Attempting to install....
2021-11-09 21:33:53,839 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 21:33:53,840 : Installing python3-pip
2021-11-09 21:34:01,235 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 21:34:01,239 : Error installing module: paho-mqtt: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 21:34:01,240 : Error: unable to install library paho-mqtt
2021-11-09 21:34:01,241 : Warning: required library pyopenssl not installed. Attempting to install....
2021-11-09 21:34:01,246 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 21:34:01,247 : Installing python3-pip
2021-11-09 21:34:08,201 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 21:34:08,205 : Error installing module: pyopenssl: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 21:34:08,206 : Error: unable to install library pyopenssl
2021-11-09 21:34:08,207 : Error check system readiness. Exiting
2021-11-09 22:50:22,487 : Warning: required library flask not installed. Attempting to install....
2021-11-09 22:50:22,495 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 22:50:22,496 : Installing python3-pip
2021-11-09 22:50:29,302 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 22:50:29,307 : Error installing module: flask: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 22:50:29,307 : Error: unable to install library flask
2021-11-09 22:50:29,309 : Warning: required library pyserial not installed. Attempting to install....
2021-11-09 22:50:29,313 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 22:50:29,314 : Installing python3-pip
2021-11-09 22:50:39,775 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 22:50:39,779 : Error installing module: pyserial: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 22:50:39,780 : Error: unable to install library pyserial
2021-11-09 22:50:39,781 : Warning: required library crcmod not installed. Attempting to install....
2021-11-09 22:50:39,786 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 22:50:39,786 : Installing python3-pip
2021-11-09 22:50:45,649 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 22:50:45,654 : Error installing module: crcmod: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 22:50:45,654 : Error: unable to install library crcmod
2021-11-09 22:50:45,656 : Warning: required library pyowm not installed. Attempting to install....
2021-11-09 22:50:45,660 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 22:50:45,661 : Installing python3-pip
2021-11-09 22:50:51,729 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 22:50:51,734 : Error installing module: pyowm: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 22:50:51,734 : Error: unable to install library pyowm
2021-11-09 22:50:51,736 : Warning: required library pytz not installed. Attempting to install....
2021-11-09 22:50:51,740 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 22:50:51,741 : Installing python3-pip
2021-11-09 22:50:58,277 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 22:50:58,282 : Error installing module: pytz: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 22:50:58,283 : Error: unable to install library pytz
2021-11-09 22:50:58,284 : Warning: required library pysnmp not installed. Attempting to install....
2021-11-09 22:50:58,288 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 22:50:58,289 : Installing python3-pip
2021-11-09 22:51:04,371 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 22:51:04,375 : Error installing module: pysnmp: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 22:51:04,376 : Error: unable to install library pysnmp
2021-11-09 22:51:04,377 : Warning: required library ldap3 not installed. Attempting to install....
2021-11-09 22:51:04,381 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 22:51:04,382 : Installing python3-pip
2021-11-09 22:51:10,497 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 22:51:10,501 : Error installing module: ldap3: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 22:51:10,502 : Error: unable to install library ldap3
2021-11-09 22:51:10,506 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 22:51:10,507 : Installing python3-pip
2021-11-09 22:51:16,343 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 22:51:16,348 : Error installing module: pyasn1: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 22:51:16,350 : Warning: required library smbus not installed. Attempting to install....
2021-11-09 22:51:16,354 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 22:51:16,355 : Installing python3-pip
2021-11-09 22:51:22,249 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 22:51:22,254 : Error installing module: smbus: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 22:51:22,254 : Error: unable to install library smbus
2021-11-09 22:51:22,256 : Warning: required library pyotp not installed. Attempting to install....
2021-11-09 22:51:22,260 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 22:51:22,261 : Installing python3-pip
2021-11-09 22:51:28,364 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 22:51:28,369 : Error installing module: pyotp: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 22:51:28,370 : Error: unable to install library pyotp
2021-11-09 22:51:28,371 : Warning: required library psutil not installed. Attempting to install....
2021-11-09 22:51:28,375 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 22:51:28,376 : Installing python3-pip
2021-11-09 22:51:34,272 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 22:51:34,277 : Error installing module: psutil: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 22:51:34,278 : Error: unable to install library psutil
2021-11-09 22:51:34,279 : Warning: required library chump not installed. Attempting to install....
2021-11-09 22:51:34,283 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 22:51:34,284 : Installing python3-pip
2021-11-09 22:51:40,184 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 22:51:40,189 : Error installing module: chump: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 22:51:40,190 : Error: unable to install library chump
2021-11-09 22:51:40,191 : Warning: required library twilio not installed. Attempting to install....
2021-11-09 22:51:40,195 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 22:51:40,196 : Installing python3-pip
2021-11-09 22:51:46,266 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 22:51:46,271 : Error installing module: twilio: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 22:51:46,272 : Error: unable to install library twilio
2021-11-09 22:51:46,273 : Warning: required library paho-mqtt not installed. Attempting to install....
2021-11-09 22:51:46,277 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 22:51:46,278 : Installing python3-pip
2021-11-09 22:51:52,188 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 22:51:52,193 : Error installing module: paho-mqtt: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 22:51:52,193 : Error: unable to install library paho-mqtt
2021-11-09 22:51:52,195 : Warning: required library pyopenssl not installed. Attempting to install....
2021-11-09 22:51:52,199 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 22:51:52,200 : Installing python3-pip
2021-11-09 22:51:58,012 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 22:51:58,016 : Error installing module: pyopenssl: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 22:51:58,017 : Error: unable to install library pyopenssl
2021-11-09 22:51:58,017 : Error check system readiness. Exiting
2021-11-09 23:01:03,774 : Warning: required library flask not installed. Attempting to install....
2021-11-09 23:01:03,779 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 23:01:03,780 : Installing python3-pip
2021-11-09 23:01:09,706 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 23:01:09,711 : Error installing module: flask: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 23:01:09,712 : Error: unable to install library flask
2021-11-09 23:01:09,714 : Warning: required library pyserial not installed. Attempting to install....
2021-11-09 23:01:09,719 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 23:01:09,720 : Installing python3-pip
2021-11-09 23:01:20,094 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 23:01:20,099 : Error installing module: pyserial: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 23:01:20,100 : Error: unable to install library pyserial
2021-11-09 23:01:20,102 : Warning: required library crcmod not installed. Attempting to install....
2021-11-09 23:01:20,107 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 23:01:20,108 : Installing python3-pip
2021-11-09 23:01:25,986 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 23:01:25,991 : Error installing module: crcmod: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 23:01:25,993 : Error: unable to install library crcmod
2021-11-09 23:01:25,994 : Warning: required library pyowm not installed. Attempting to install....
2021-11-09 23:01:25,999 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 23:01:26,001 : Installing python3-pip
2021-11-09 23:01:32,025 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 23:01:32,030 : Error installing module: pyowm: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 23:01:32,032 : Error: unable to install library pyowm
2021-11-09 23:01:32,033 : Warning: required library pytz not installed. Attempting to install....
2021-11-09 23:01:32,038 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 23:01:32,040 : Installing python3-pip
2021-11-09 23:01:42,476 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 23:01:42,482 : Error installing module: pytz: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 23:01:42,482 : Error: unable to install library pytz
2021-11-09 23:01:42,484 : Warning: required library pysnmp not installed. Attempting to install....
2021-11-09 23:01:42,488 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 23:01:42,489 : Installing python3-pip
2021-11-09 23:01:48,987 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 23:01:48,993 : Error installing module: pysnmp: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 23:01:48,993 : Error: unable to install library pysnmp
2021-11-09 23:01:48,995 : Warning: required library ldap3 not installed. Attempting to install....
2021-11-09 23:01:48,999 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 23:01:49,000 : Installing python3-pip
2021-11-09 23:01:54,999 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 23:01:55,005 : Error installing module: ldap3: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 23:01:55,006 : Error: unable to install library ldap3
2021-11-09 23:01:55,010 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 23:01:55,011 : Installing python3-pip
2021-11-09 23:02:01,402 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 23:02:01,407 : Error installing module: pyasn1: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 23:02:01,409 : Warning: required library smbus not installed. Attempting to install....
2021-11-09 23:02:01,413 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 23:02:01,414 : Installing python3-pip
2021-11-09 23:02:07,285 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 23:02:07,290 : Error installing module: smbus: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 23:02:07,291 : Error: unable to install library smbus
2021-11-09 23:02:07,292 : Warning: required library pyotp not installed. Attempting to install....
2021-11-09 23:02:07,297 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 23:02:07,298 : Installing python3-pip
2021-11-09 23:02:13,083 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 23:02:13,088 : Error installing module: pyotp: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 23:02:13,089 : Error: unable to install library pyotp
2021-11-09 23:02:13,090 : Warning: required library psutil not installed. Attempting to install....
2021-11-09 23:02:13,095 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 23:02:13,096 : Installing python3-pip
2021-11-09 23:02:22,639 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 23:02:22,644 : Error installing module: psutil: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 23:02:22,646 : Error: unable to install library psutil
2021-11-09 23:02:22,647 : Warning: required library chump not installed. Attempting to install....
2021-11-09 23:02:22,652 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 23:02:22,653 : Installing python3-pip
2021-11-09 23:02:28,837 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 23:02:28,842 : Error installing module: chump: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 23:02:28,843 : Error: unable to install library chump
2021-11-09 23:02:28,845 : Warning: required library twilio not installed. Attempting to install....
2021-11-09 23:02:28,849 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 23:02:28,850 : Installing python3-pip
2021-11-09 23:02:34,754 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 23:02:34,759 : Error installing module: twilio: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 23:02:34,760 : Error: unable to install library twilio
2021-11-09 23:02:34,762 : Warning: required library paho-mqtt not installed. Attempting to install....
2021-11-09 23:02:34,766 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 23:02:34,767 : Installing python3-pip
2021-11-09 23:02:40,871 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 23:02:40,876 : Error installing module: paho-mqtt: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 23:02:40,877 : Error: unable to install library paho-mqtt
2021-11-09 23:02:40,878 : Warning: required library pyopenssl not installed. Attempting to install....
2021-11-09 23:02:40,883 : Error in CheckBaseSoftware: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:184
2021-11-09 23:02:40,884 : Installing python3-pip
2021-11-09 23:02:46,716 : Error in InstallBaseSoftware: name 'libraryname' is not defined : genloader.py:2142021-11-09 23:02:46,722 : Error installing module: pyopenssl: [Errno 2] No such file or directory: 'pip3': 'pip3' : genloader.py:317
2021-11-09 23:02:46,722 : Error: unable to install library pyopenssl
2021-11-09 23:02:46,723 : Error check system readiness. Exiting
pi@genpi [~/genmon]
This is good info.
Try typing this:
sudo apt-get update
sudo apt-get install python3-pip
These look like the commands that are failing.
Thank you, but no luck. See log below
//archive.raspberrypi.org/debian buster InRelease [32.6 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Hit:3 https://deb.nodesource.com/node_10.x stretch InRelease
Reading package lists... Done
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
E: Repository 'http://archive.raspberrypi.org/debian buster InRelease' changed its 'Suite' value from 'testing' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
pi@genpi [~] sudo apt-get install python3-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
dh-python libpython3-dev libpython3.7-dev
python3-asn1crypto python3-cffi-backend
python3-crypto python3-cryptography python3-dbus
python3-dev python3-distutils python3-entrypoints
python3-gi python3-keyring python3-keyrings.alt
python3-lib2to3 python3-secretstorage
python3-setuptools python3-wheel python3-xdg
python3.7-dev
Suggested packages:
python-crypto-doc python-cryptography-doc
python3-cryptography-vectors python-dbus-doc
python3-dbus-dbg gnome-keyring libkf5wallet-bin
gir1.2-gnomekeyring-1.0 python-secretstorage-doc
python-setuptools-doc
The following NEW packages will be installed:
dh-python libpython3-dev libpython3.7-dev
python3-asn1crypto python3-cffi-backend
python3-crypto python3-cryptography python3-dbus
python3-dev python3-distutils python3-entrypoints
python3-gi python3-keyring python3-keyrings.alt
python3-lib2to3 python3-pip python3-secretstorage
python3-setuptools python3-wheel python3-xdg
python3.7-dev
0 upgraded, 21 newly installed, 0 to remove and 1 not upgraded.
Need to get 47.7 MB/49.5 MB of archives.
After this operation, 80.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://raspbian.raspberrypi.org/raspbian buster/main armhf libpython3.7-dev armhf 3.7.3-2+deb10u2
404 Not Found [IP: 93.93.128.193 80]
Err:2 http://raspbian.raspberrypi.org/raspbian buster/main armhf python3.7-dev armhf 3.7.3-2+deb10u2
404 Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python3.7/libpython3.7-dev_3.7.3-2+deb10u2_armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python3.7/python3.7-dev_3.7.3-2+deb10u2_armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
pi@genpi [~]
I re-ran the following command
sudo apt update
and answered y to the questions as required which allowed the updates to install.
I was then able to install python3 just waiting for the install to complete now.
Is there anything I have to do after python install finishes to get GenMon running again?
That is good news. So far this looks like the issue is your raspberry pi's ability to reach the raspbian software repository.
The IP address that it is failing to reach is 93.93.128.193 80 which is raspbian.raspberrypi.org
I read that comcast xfinity has some outages that affect parts of the internet so this may be what is causing the problem.
Let me know how it goes.
If pip3 is installed you can run this
./startgenmon.sh restart
This should stop any running instances and restart genmon. This will also attempt to install any missing libraries using pip3. This could take a few minutes but as long as you have a good connection to the internet you should be OK.
once it finishes running then genmon should be loaded.
Thank you! I appreciate your quick responses! All looks good now. Thanks again. I guess I need to update the Pi OS to ensure it's running the most stable OS.
you can just update your OS software with this command:
sudo apt-get update
sudo apt-get upgrade
this will update all the system software. You probably will need to reboot after that to make it take effect. I use several pis and I run this every so often to keep them updated. bullseye was just released but looks like you are running buster, which still has at least 2 years, possibly 3 of updates.
I am going to close this issue but feel free to post here if you have any other question or updates.
Thank you! I've been hesitant to update as the last time I did that I lost the custom network configuration which required me to manually connect to the Pi directly to re-configure. Is there a way to ensure that the custom WiFi settings are not overwritten with defaults? I have custom info in the conf file to disable onboard WiFi and previously had special commands to limit WiFi frequencies that could be used.
Normally if a config file is going to be overwritten with apt-get it will prompt you with a choice to keep using your old one or upgrade to the new one. To be on the safe side I would make a backup any files that may be customized. At a minimum just make a copy in the same directory.
Thank you! I believe the last upgrade removed the drivers that I installed for the USB network adapter so I had no choice but to remove the Pi from the Generator for direct network connectivity to re-install the drivers. I wonder if the upgrade will do the same thing again or if it will actually leave the drivers in-place.
@jgyates
This is the console output of the apt-get update command.
I have not gone any further with "apt-get upgrade" at this point because I am suspicious that the results are not good but am not an expert.
At the moment, to say my WI-Fi is sketchy is a gross understatement (-82-85 dBm) so I am hesitant to proceed with the update but would you please comment on the following console output and give me your opinion on proceeding with the OS update.
pi@raspberrypi:~ $ sudo apt-get update Err:1 http://raspbian.raspberrypi.org/raspbian buster InRelease Temporary failure resolving 'raspbian.raspberrypi.org' Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB] Get:3 http://archive.raspberrypi.org/debian buster/main armhf Packages [393 kB] Fetched 426 kB in 18s (23.8 kB/s) Reading package lists... Done N: Repository 'http://archive.raspberrypi.org/debian buster InRelease' changed its 'Suite' value from 'testing' to 'oldstable' W: Failed to fetch http://raspbian.raspberrypi.org/raspbian/dists/buster/InRelease Temporary failure resolving 'raspbian.raspberrypi.org' W: Some index files failed to download. They have been ignored, or old ones used instead.
Thanks
Jay
you can just update your OS software with this command:
sudo apt-get update sudo apt-get upgrade
this will update all the system software. You probably will need to reboot after that to make it take effect. I use several pis and I run this every so often to keep them updated. bullseye was just released but looks like you are running buster, which still has at least 2 years, possibly 3 of updates.
That output is normal. The values changed from testing to oldstable because of the new release (buster is old stable now, bullseye is stable)
the last line my be due to your poor connection.
Use the template below if you have an issue or want to report a bug. If you have a question or a feature request you can ignore the questions below. This is a template so feel free to remove any of this text. Try to include the info below when applicable.
NOTE: If you are having issues with your serial connection, please read this page before posting:
https://github.com/jgyates/genmon/wiki/3.6---Serial-Troubleshooting
If you are having other issues, please see the following page:
https://github.com/jgyates/genmon/wiki/3.5---General-Troubleshooting
You can search past issues by removing the "is:open" keywords from the search window and adding any keywords that are relevant to your issue.
If you need to send you logs and registers to the developer, if your email is setup and working properly you can click send your logs on the About page in the web interface.
Expected Behavior
Generator details loading after login
Actual Behavior
Browser displays "Loading Generator Monitor" even after 45 minutes.
Steps to Reproduce (including precondition)
{Please write here}
Screenshot or Pictures relating to the problem (if possible)
{Please write here}
GenMon 1.18.0