The problem I am now having is not with the web manager server, it is something to do with how the camera drivers are set up in Indi. On the server it says all the devices (CGEM mount, SX filterwheel, SX lodestar and Zwo ASI 533 - all are on the USB 3.0 powered hub) are connected and I can restart the drivers successfully. I can connect from the server to the client for both the CGEM mount and the SX Filterwheel, but the client (Rpi4-
tells me that the it cannot connect to the cameras. To research the issue I just ran Kstars/Ekos on the server Rpi4-1 (I upgraded an existing SD card for the 'server' Rpi4-1 and it had a previous version of Kstars - now 3.5.3 stable and Phd2 on it). The profile is fine, but the camera drivers crash when starting up the Indi Control Panel to connect. Here is a section of the log file:
2021-04-24T22:47:45.399 EDT INFO ][ org.kde.kstars] - Welcome to KStars 3.5.3 Stable
[2021-04-24T22:47:45.400 EDT INFO ][ org.kde.kstars] - Build: 2021-04-24T23:57:10Z
[2021-04-24T22:47:45.405 EDT INFO ][ org.kde.kstars] - OS: "ubuntu"
[2021-04-24T22:47:45.405 EDT INFO ][ org.kde.kstars] - API: "arm64-little_endian-lp64"
[2021-04-24T22:47:45.406 EDT INFO ][ org.kde.kstars] - Arch: "arm64"
[2021-04-24T22:47:45.406 EDT INFO ][ org.kde.kstars] - Kernel Type: "linux"
[2021-04-24T22:47:45.406 EDT INFO ][ org.kde.kstars] - Kernel Version: "5.8.0-1021-raspi"
[2021-04-24T22:47:45.406 EDT INFO ][ org.kde.kstars] - Qt Version: 5.14.2
[2021-04-24T22:47:46.366 EDT DEBG ][ org.kde.kstars] - Opened the User DB. Ready.
...
1-04-24T22:48:54.091 EDT DEBG ][ org.kde.kstars.indi] - INDI Server Started? true
[2021-04-24T22:48:54.092 EDT DEBG ][ org.kde.kstars.indi] - INDI: INDI Server started locally on port 7624
[2021-04-24T22:48:54.092 EDT DEBG ][ org.kde.kstars.indi] - Starting INDI Driver "indi_simulator_telescope"
[2021-04-24T22:48:54.093 EDT DEBG ][ org.kde.kstars.indi] - Starting INDI Driver "indi_asi_ccd"
[2021-04-24T22:48:54.093 EDT DEBG ][ org.kde.kstars.indi] - Adding managed driver "Telescope Simulator"
[2021-04-24T22:48:54.093 EDT DEBG ][ org.kde.kstars.indi] - Adding managed driver "ZWO CCD"
[2021-04-24T22:48:54.095 EDT DEBG ][ org.kde.kstars.indi] - INDIListener: Adding a new client manager to INDI listener..
[2021-04-24T22:48:54.095 EDT DEBG ][ org.kde.kstars.indi] - INDI: Connecting to local INDI server on port 7624 ...
[2021-04-24T22:48:54.097 EDT DEBG ][ org.kde.kstars.indi] - INDI server connected.
[2021-04-24T22:48:54.097 EDT DEBG ][ org.kde.kstars.indi] - Connection to INDI server is successful
[2021-04-24T22:48:54.100 EDT INFO ][ org.kde.kstars.ekos] - "INDI services started on port 7624. Please connect devices."
[2021-04-24T22:48:54.122 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-04-25T02:48:54: startup: /usr/bin/indiserver -v -p 7624 -m 1024 -r 0 -f /tmp/indififoadff8715 "
[2021-04-24T22:48:54.122 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-04-25T02:48:54: listening to port 7624 on fd 3"
[2021-04-24T22:48:54.123 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "FIFO: start indi_simulator_telescope -n \"Telescope Simulator\""
[2021-04-24T22:48:54.123 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "With name: Telescope Simulator"
[2021-04-24T22:48:54.123 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "FIFO: Starting driver indi_simulator_telescope"
[2021-04-24T22:48:54.124 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-04-25T02:48:54: Driver indi_simulator_telescope: pid=1924 rfd=4 wfd=11 efd=12"
[2021-04-24T22:48:54.124 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "FIFO: start indi_asi_ccd"
[2021-04-24T22:48:54.124 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "FIFO: Starting driver indi_asi_ccd"
[2021-04-24T22:48:54.124 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-04-25T02:48:54: Driver indi_asi_ccd: pid=1925 rfd=5 wfd=14 efd=15"
[2021-04-24T22:48:54.125 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-04-25T02:48:54: Client 6: new arrival from 127.0.0.1:52638 - welcome!"
[2021-04-24T22:48:54.125 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-04-25T02:48:54: Driver indi_asi_ccd: indi_asi_ccd: error while loading shared libraries: libASICamera2.so: cannot open shared object file: No such file or directory"
[2021-04-24T22:48:54.125 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-04-25T02:48:54: Driver indi_asi_ccd: stderr EOF"
[2021-04-24T22:48:54.125 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-04-25T02:48:54: Driver indi_asi_ccd: Terminated after #0 restarts."
[2021-04-24T22:48:54.125 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "Child process 1925 died"
[2021-04-24T22:48:54.126 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2021-04-24T22:48:54.127 EDT CRIT ][ org.kde.kstars.indi] - INDI driver "indi_asi_ccd" crashed!
If I run Phd2 on the 'server' Rpi4-1 I can connect to the cameras and they work, they also work if I connect the powered hub directly to the client Rpi4-8. So it has something to do with this line in the log above:
[2021-04-24T22:48:54.125 EDT DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-04-25T02:48:54: Driver indi_asi_ccd: indi_asi_ccd: error while loading shared libraries: libASICamera2.so: cannot open shared object file: No such file or directory"
This is a problem that has come up before ( a couple of years ago) but I have not found a solution for it, people avoided the issue by switching from Ubuntu to the Astroberry server back then. I am not sure where the shared libraries are supposed to be, so I need to compare the directories and setup between the 'server' Rpi4-1 and the 'client' Rpi4-8. No time to do that right now, but will eventually, unless someone already knows a solution.
thanks for all the help.