Ylianst / MeshCentral

A complete web-based remote monitoring and management web site. Once setup you can install agents and perform remote desktop session to devices on the local network or over the Internet.
https://meshcentral.com
Apache License 2.0
3.67k stars 510 forks source link

ArchLinux Installation of Agent with --WebProxy #3930

Open SomeGuru opened 2 years ago

SomeGuru commented 2 years ago

Attempted to install the agent on ArchLinux distro with wget command, and get no resulting changes to the system... Opened the system with the RW, and then executed the script given from the server, and still no avail. I even injected the --WebProxy in the installation portion but get hung on 443 with no error code. Anyone else experience this?

SomeGuru

krayon007 commented 2 years ago

Did the download succeed but the install failed, or did the download fail too?

SomeGuru commented 1 year ago

Both failed. But let me try again now as some developments have taken place since this ticket...

SomeGuru

SomeGuru commented 1 year ago

Still same resulting factor... Wondering if this build is like a docker-vm that rebuilds each boot cycle... its the OS for PiKVM 3 & 4. Would be a great fix to have MeshCentral inside the PiKVM device itself for managing it.

-SomeGuru

si458 commented 1 year ago

can you try each step of the url install one by one and see what happens? e.g:

wget "https://meshcentral.myserver.com/meshagents?script=1" -O ./meshinstall.sh
OR
wget "https://meshcentral.myserver.com/meshagents?script=1" --no-proxy -O ./meshinstall.sh

chmod 755 ./meshinstall.sh

sudo -E ./meshinstall.sh https://meshcentral.myserver.com 'BIGASSLONGSTRINGGOESHERE'
OR
./meshinstall.sh https://meshcentral.myserver.com 'BIGASSLONGSTRINGGOESHERE' 
si458 commented 1 year ago

ive just got my hands on 2 pikvms yesterday (3rd party ones from geekworm, amazon uk) ive been able to install the meshagent no problem, i even managed to install the agent onto my Pi Zero W ! you just have to give it time! it took about 5 minutes to install! it moved very very slowly!

EDIT: you also need to change ro in /boot/cmdline.txt to rw on pikvm! otherwise the agent just stops on startup because it needs to write files which it doesnt have access too!