Allmon3 - Initial problem installing

Initial problem installing. User or node OS/version problem?

root@barf-43039:/# apt install -y apache2 php7.4-fpm php-zmq python3-zmq python3-websockets
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package php7.4-fpm
E: Couldn’t find any package by glob ‘php7.4-fpm’
E: Couldn’t find any package by regex ‘php7.4-fpm’
root@barf-43039:/#

wget https://github.com/AllStarLink/Allmon3/releases/download/0_9_7/allmon3_0.9.7-1_all.deb
–2023-04-23 07:29:19-- https://github.com/AllStarLink/Allmon3/releases/download/0_9_7/allmon3_0.9.7-1_all.deb
Resolving github.com (github.com)… 192.30.255.113
Connecting to github.com (github.com)|192.30.255.113|:443… failed: No route to host.
root@barf-43039:/#

apt install -y apache2 php7.4-fpm php-zmq python3-zmq python3-websockets make pandoc
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package php7.4-fpm
E: Couldn’t find any package by glob ‘php7.4-fpm’
E: Couldn’t find any package by regex ‘php7.4-fpm’
root@barf-43039:/# wget https://github.com/AllStarLink/Allmon3/archive/refs/tags/rel_0_9_7.tar.gz
–2023-04-23 07:30:58-- https://github.com/AllStarLink/Allmon3/archive/refs/tags/rel_0_9_7.tar.gz
Resolving github.com (github.com)… 192.30.255.112
Connecting to github.com (github.com)|192.30.255.112|:443… failed: No route to host.
root@barf-43039:/# tar xvfz rel_0_9_7.tar.gz
tar (child): rel_0_9_7.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
root@barf-43039:/# cd Allmon3-rel_0_9_7

What version of Debian are you on?

Hmm, that’s weird… can’t get to GitHub.com? Can you get to anything on the internet with that computer?

I added a “Quickstart” guide which should work for most people to get started.

Github talks about installing on Debian 11. I didn’t know ASL could run on Debian 11.

Does the new Allmon need Python 3.x? Debian 10 is (by default) Python 2.x

It can be run on Debian 10. Just install python3 and php7.3-fpm instead of 7.4. The only caveat is that the voter monitoring part requires a hand-installation of the Python3 websockets v12 or later library because the stock Debian 10 version is exceedingly obsolete.

Ah ha!

User error

Netmask was 255.0.0.0 vs local LAN 255.255.255.0

Re-config of the LAN, all better.

Maybe I’m mistaking that I have an ASL build? But… I could be wrong and have to find a node running the correct OS and ASL.

root@barf-43039:/etc/allmon3# cat /etc/os-release
PRETTY_NAME=“Raspbian GNU/Linux 10 (buster)”
NAME=“Raspbian GNU/Linux”
VERSION_ID=“10”
VERSION=“10 (buster)”
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian

HOME_URL=“http://www.raspbian.org/
SUPPORT_URL=“RaspbianForums - Raspbian
BUG_REPORT_URL=“RaspbianBugs - Raspbian

Raspian GNU/Linux 10 is the same thing as Debian 10.

Pi3B
Buster

root@Pi-ASL-48654:/home/repeater# apt install -y apache2 php7.4-fpm php-zmq python3-zmq python3-websockets wget
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package php7.4-fpm
E: Couldn’t find any package by glob ‘php7.4-fpm’
E: Couldn’t find any package by regex ‘php7.4-fpm’
root@Pi-ASL-48654:/home/repeater# wget https://github.com/AllStarLink/Allmon3/releases/download/0_9_7/allmon3_0.9.7-1_all.deb
–2023-04-25 13:55:10-- https://github.com/AllStarLink/Allmon3/releases/download/0_9_7/allmon3_0.9.7-1_all.deb
Resolving github.com (github.com)… 192.30.255.112
Connecting to github.com (github.com)|192.30.255.112|:443… connected.
HTTP request sent, awaiting response… 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/607798319/977f9950-a5e8-4d49-93e5-314deb66d1ae?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230425%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230425T205510Z&X-Amz-Expires=300&X-Amz-Signature=ec9361755db08f3373f656327827ca61309ed2e910953874356793acbf9d16ec&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=607798319&response-content-disposition=attachment%3B%20filename%3Dallmon3_0.9.7-1_all.deb&response-content-type=application%2Foctet-stream [following]
–2023-04-25 13:55:11-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/607798319/977f9950-a5e8-4d49-93e5-314deb66d1ae?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230425%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230425T205510Z&X-Amz-Expires=300&X-Amz-Signature=ec9361755db08f3373f656327827ca61309ed2e910953874356793acbf9d16ec&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=607798319&response-content-disposition=attachment%3B%20filename%3Dallmon3_0.9.7-1_all.deb&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)… 185.199.109.133, 185.199.110.133, 185.199.111.133, …
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.109.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 3589820 (3.4M) [application/octet-stream]
Saving to: ‘allmon3_0.9.7-1_all.deb’

allmon3_0.9.7-1_all 100%[===================>] 3.42M 157KB/s in 20s

2023-04-25 13:55:32 (173 KB/s) - ‘allmon3_0.9.7-1_all.deb’ saved [3589820/3589820]

root@Pi-ASL-48654:/home/repeater# dpkg -i allmon3_0.9.7-1_all.deb
Selecting previously unselected package allmon3.
(Reading database … 163435 files and directories currently installed.)
Preparing to unpack allmon3_0.9.7-1_all.deb …
Unpacking allmon3 (0.9.7-1) …
dpkg: dependency problems prevent configuration of allmon3:
allmon3 depends on php-zmq; however:
Package php-zmq is not installed.
allmon3 depends on python3-argon2; however:
Package python3-argon2 is not installed.
allmon3 depends on python3-zmq; however:
Package python3-zmq is not installed.

dpkg: error processing package allmon3 (–install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.8.5-2) …
Errors were encountered while processing:
allmon3
root@Pi-ASL-48654:/home/repeater# wget https://github.com/AllStarLink/Allmon3/releases/download/0_9_7/allmon3_0.9.7-1_all.deb
–2023-04-25 13:56:41-- https://github.com/AllStarLink/Allmon3/releases/download/0_9_7/allmon3_0.9.7-1_all.deb
Resolving github.com (github.com)… 192.30.255.112
Connecting to github.com (github.com)|192.30.255.112|:443… connected.
HTTP request sent, awaiting response… 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/607798319/977f9950-a5e8-4d49-93e5-314deb66d1ae?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230425%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230425T205510Z&X-Amz-Expires=300&X-Amz-Signature=ec9361755db08f3373f656327827ca61309ed2e910953874356793acbf9d16ec&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=607798319&response-content-disposition=attachment%3B%20filename%3Dallmon3_0.9.7-1_all.deb&response-content-type=application%2Foctet-stream [following]
–2023-04-25 13:56:42-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/607798319/977f9950-a5e8-4d49-93e5-314deb66d1ae?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230425%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230425T205510Z&X-Amz-Expires=300&X-Amz-Signature=ec9361755db08f3373f656327827ca61309ed2e910953874356793acbf9d16ec&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=607798319&response-content-disposition=attachment%3B%20filename%3Dallmon3_0.9.7-1_all.deb&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)… 185.199.109.133, 185.199.110.133, 185.199.111.133, …
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.109.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 3589820 (3.4M) [application/octet-stream]
Saving to: ‘allmon3_0.9.7-1_all.deb.1’

allmon3_0.9.7-1_all 100%[===================>] 3.42M 234KB/s in 14s

2023-04-25 13:56:57 (253 KB/s) - ‘allmon3_0.9.7-1_all.deb.1’ saved [3589820/3589820]

root@Pi-ASL-48654:/home/repeater# dpkg -i allmon3_0.9.7-1_all.deb
(Reading database … 163508 files and directories currently installed.)
Preparing to unpack allmon3_0.9.7-1_all.deb …
Unpacking allmon3 (0.9.7-1) over (0.9.7-1) …
dpkg: dependency problems prevent configuration of allmon3:
allmon3 depends on php-zmq; however:
Package php-zmq is not installed.
allmon3 depends on python3-argon2; however:
Package python3-argon2 is not installed.
allmon3 depends on python3-zmq; however:
Package python3-zmq is not installed.

dpkg: error processing package allmon3 (–install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.8.5-2) …
Errors were encountered while processing:
allmon3
root@Pi-ASL-48654:/home/repeater# apt install -y apache2 php7.4-fpm php-zmq python3-zmq python3-websockets
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package php7.4-fpm
E: Couldn’t find any package by glob ‘php7.4-fpm’
E: Couldn’t find any package by regex ‘php7.4-fpm’
root@Pi-ASL-48654:/home/repeater#

start off with a update & upgrade & reboot before you start.

apt-get update
apt-get upgrade

reboot

Thx I do those from time to time. Today’s results:

root@Pi-ASL-48654:/home/repeater# apt-get update
Get:1 Index of /repos/asl_builds/ buster InRelease [7,361 B]
Get:2 Index of /raspbian buster InRelease [15.0 kB]
Hit:3 Index of /debian buster InRelease
Err:1 Index of /repos/asl_builds/ buster InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 6A72C389B517460F
Get:4 Index of /raspbian buster/main Sources [11.4 MB]
Get:5 Index of /raspbian buster/main armhf Packages [13.0 MB]
Fetched 24.4 MB in 1min 13s (333 kB/s)
Reading package lists… Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: Index of /repos/asl_builds/ buster InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 6A72C389B517460F
W: Failed to fetch http://apt.allstarlink.org/repos/asl_builds/dists/buster/InRelease The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 6A72C389B517460F
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@Pi-ASL-48654:/home/repeater# apt-get upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
You might want to run ‘apt --fix-broken install’ to correct these.
The following packages have unmet dependencies:
allmon3 : Depends: php-zmq but it is not installed
Depends: python3-argon2 but it is not installed
Depends: python3-zmq but it is not installed
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).
root@Pi-ASL-48654:/home/repeater#

Can you post contents of

/etc/apt/sources.list

deb Index of /raspbian buster main contrib non-free rpi
deb-src Index of /raspbian buster main contrib non-free $

It would have been helpful to know this is a Pi.

Surely the $ sign is a error in your post , not the file ?

Was the install from image or manual ?

Is this beta6 or is it earlier earlier ?

Pi 3, 4 ?

Did you run as suggested in the error text ?

apt --fix-broken install

As mentioned in the installation directions, if you’re on Debian 10 you need to use php7.3-fpm.

1 Like

My orig post led with:
“Pi3B
Buster”

$ is not an error- I copied the text in the file.
Install was from ASL website- I do not know about beta version.
I ran the fix broken install w following results:

"root@Pi-ASL-48654:/home/repeater# apt --fix-broken install
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following additional packages will be installed:
php-zmq python3-argon2 python3-cffi-backend python3-zmq
Suggested packages:
python-argon2-doc
The following NEW packages will be installed:
php-zmq python3-argon2 python3-cffi-backend python3-zmq
0 upgraded, 4 newly installed, 0 to remove and 27 not upgraded.
1 not fully installed or removed.
Need to get 370 kB of archives.
After this operation, 1,657 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 Index of /raspbian/ buster/main armhf php-zmq armhf 1.1.3-9 [28.3 kB]
Get:2 Index of /raspbian/ buster/main armhf python3-cffi-backend armhf 1.12.2-1 [70.1 kB]
Get:3 Index of /raspbian/ buster/main armhf python3-argon2 armhf 18.3.0-1 [29.4 kB]
Get:4 Index of /raspbian/raspbian/ buster/main armhf python3-zmq armhf 17.1.2-2+deb10u1 [242 kB]
Fetched 370 kB in 3s (130 kB/s)
Selecting previously unselected package php-zmq.
(Reading database … 163508 files and directories currently installed.)
Preparing to unpack …/php-zmq_1.1.3-9_armhf.deb …
Unpacking php-zmq (1.1.3-9) …
Selecting previously unselected package python3-cffi-backend.
Preparing to unpack …/python3-cffi-backend_1.12.2-1_armhf.deb …
Unpacking python3-cffi-backend (1.12.2-1) …
Selecting previously unselected package python3-argon2.
Preparing to unpack …/python3-argon2_18.3.0-1_armhf.deb …
Unpacking python3-argon2 (18.3.0-1) …
Selecting previously unselected package python3-zmq.
Preparing to unpack …/python3-zmq_17.1.2-2+deb10u1_armhf.deb …
Unpacking python3-zmq (17.1.2-2+deb10u1) …
Setting up python3-zmq (17.1.2-2+deb10u1) …
Setting up php-zmq (1.1.3-9) …
Setting up python3-cffi-backend (1.12.2-1) …
Setting up python3-argon2 (18.3.0-1) …
Setting up allmon3 (0.9.7-1) …
Warning: The home dir /nonexistent you specified can’t be accessed: No such file or directory
Adding system user allmon3' (UID 119) ... Adding new group allmon3’ (GID 127) …
Adding new user allmon3' (UID 119) with group allmon3’ …
Not creating home directory `/nonexistent’.
root@Pi-ASL-48654:/home/repeater#
"

I will try reinstalling Allmon3 this evening thank you.

Well, that’s all I see that may be wrong and that is in the install scripts and a warning, not a error so it may even be intended. I have not looked at it. It’s not fatal in any case.

Perhaps someone will chime in.

1 Like

2 posts were split to a new topic: Install on my PC went Pear Shaped

That’s not ane

It’s intended. It’s a warning, nothing more.