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 511 forks source link

Unable to install meshagent MAC #6153

Open pvssrikanth opened 1 month ago

pvssrikanth commented 1 month ago

Hi Technical Team,

We tried to install meshagent for MAC but unable to install it and getting errors Attached screen shot.

Please guide

si458 commented 1 month ago

YOU HAVENT FOLLOWED THE BUG TEMPLATE REPORT, PLEASE DO THIS IN FUTURE OTHERWISE YOUR ISSUE MAY BE CLOSED WITHOUT HELP

do you have any customization of the meshagent in your config.json?

can you share your config.json?

have you tried to install it using the binary installer method instead?

marclaporte commented 2 weeks ago

Attached screen shot

I don't see a screenshot.

pvssrikanth commented 2 weeks ago

Hi Ylianst/MeshCentral Marc Thanks for your proactive response

I am very excited about this Meshcentral and want to use it for my organization But now only issue is MAC unable to install

Please kindly guide attached errors

Thanking you srikanth

On Mon, 17 Jun, 2024, 23:18 Marc Laporte, @.***> wrote:

Attached screen shot

I don't see a screenshot.

— Reply to this email directly, view it on GitHub https://github.com/Ylianst/MeshCentral/issues/6153#issuecomment-2173986849, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEGAGUYAHVUS65GBKCF2STTZH4OOPAVCNFSM6AAAAABIYTPN4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZTHE4DMOBUHE . You are receiving this because you authored the thread.Message ID: @.***>

si458 commented 2 weeks ago

@pvssrikanth I am looking into the mac issue this week. You can use the binary install method perfectly fine! It's the gui version that isn't working for some reason?

pvssrikanth commented 2 weeks ago

Hi Simon, Can you please elaborate on the binary install method please

Thanks

On Tue, Jun 18, 2024 at 9:46 PM Simon Smith @.***> wrote:

@pvssrikanth https://github.com/pvssrikanth I am looking into the mac issue this week. You can use the binary install method perfectly fine! It's the gui version that isn't working for some reason?

— Reply to this email directly, view it on GitHub https://github.com/Ylianst/MeshCentral/issues/6153#issuecomment-2176490590, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEGAGU2SY456PM6OYF5GVCTZIBMM7AVCNFSM6AAAAABIYTPN4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZWGQ4TANJZGA . You are receiving this because you were mentioned.Message ID: @.***>

si458 commented 2 weeks ago

image download intel or arm file, unquarantine the file, chmod +x the file, then sudo ./meshagent -install or sudo ./meshagent -fullinstall (i cant remember which one will check)

si458 commented 2 weeks ago

@pvssrikanth can you share if its intel mac or arm mac? also what OS versions you are using?

si458 commented 2 weeks ago

@pvssrikanth ok i think ive fixed it again. you need to download agents/MeshAgentOSXPackager.zip from the pull request, then replace it in node_modules/meshcentral/agents/ then restart meshcentral and then redownload the mpkg from the web ui and try to install

pvssrikanth commented 2 weeks ago

Thanks Ylianst/MeshCentral Simon

I will freshly install meshserver again so that it will get latest image and test and update

Thanks for excellent proactive support

Best Regards Srikanth

On Wed, 19 Jun, 2024, 17:11 Simon Smith, @.***> wrote:

@pvssrikanth https://github.com/pvssrikanth ok i think ive fixed it again. you need to download agents/MeshAgentOSXPackager.zip from the pull request, then replace it in node_modules/meshcentral/agents/ then restart meshcentral and then redownload the mpkg from the web ui and try to install

— Reply to this email directly, view it on GitHub https://github.com/Ylianst/MeshCentral/issues/6153#issuecomment-2178484768, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEGAGU7FT65PJ4SAWCZWAM3ZIFU5RAVCNFSM6AAAAABIYTPN4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZYGQ4DINZWHA . You are receiving this because you were mentioned.Message ID: @.***>

si458 commented 2 weeks ago

@pvssrikanth i havent merged the request yet. best thing to do as you said is fresh start of meshcentral 1.1.24 then download the file from here https://github.com/Ylianst/MeshCentral/blob/mac-fixes-again/agents/MeshAgentOSXPackager.zip then replace the file node_modules/meshcentral/agents/MeshAgentOSXPackager.zip with it then restart meshcentral then redownload the mpkg and see how you go!

pvssrikanth commented 2 weeks ago

Thanks Simon

Thanks for the guidance I will do all this tomorrow and update you

Regards Srikanth

On Wed, 19 Jun, 2024, 17:29 Simon Smith, @.***> wrote:

@pvssrikanth https://github.com/pvssrikanth i havent merged the request yet. best thing to do as you said is fresh start of meshcentral 1.1.24 then download the file from here

https://github.com/Ylianst/MeshCentral/blob/mac-fixes-again/agents/MeshAgentOSXPackager.zip then replace the file node_modules/meshcentral/agents/MeshAgentOSXPackager.zip with it then restart meshcentral then redownload the mpkg and see how you go!

— Reply to this email directly, view it on GitHub https://github.com/Ylianst/MeshCentral/issues/6153#issuecomment-2178517824, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEGAGU3KIZEKEI4EJCVM6V3ZIFXDBAVCNFSM6AAAAABIYTPN4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZYGUYTOOBSGQ . You are receiving this because you were mentioned.Message ID: @.***>

pvssrikanth commented 2 weeks ago

Hi Simon

I am running meshcentral using docker image gurcomputing/mescentral-docker ( https://github.com/gurucomputing/meshcentral-docker.git)

as per my understanding , i replaced https://github.com/Ylianst/MeshCentral/blob/mac-fixes-again/agents/MeshAgentOSXPackager.zip in the MAC Laptop and tried to install

but again getting an error attached.

Do i have to make any changes in the docker-compose file and the node_modules IF SO kindly guide me what changes i have to do this docker image

Thanking you srikanth

On Wed, Jun 19, 2024 at 6:21 PM Srikanth Pokkuluri @.***> wrote:

Thanks Simon

Thanks for the guidance I will do all this tomorrow and update you

Regards Srikanth

On Wed, 19 Jun, 2024, 17:29 Simon Smith, @.***> wrote:

@pvssrikanth https://github.com/pvssrikanth i havent merged the request yet. best thing to do as you said is fresh start of meshcentral 1.1.24 then download the file from here

https://github.com/Ylianst/MeshCentral/blob/mac-fixes-again/agents/MeshAgentOSXPackager.zip then replace the file node_modules/meshcentral/agents/MeshAgentOSXPackager.zip with it then restart meshcentral then redownload the mpkg and see how you go!

— Reply to this email directly, view it on GitHub https://github.com/Ylianst/MeshCentral/issues/6153#issuecomment-2178517824, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEGAGU3KIZEKEI4EJCVM6V3ZIFXDBAVCNFSM6AAAAABIYTPN4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZYGUYTOOBSGQ . You are receiving this because you were mentioned.Message ID: @.***>

si458 commented 2 weeks ago

@pvssrikanth you are using an unofficial docker image! Please switch to the official one ghcr.io/ylianst/meshcentral:latest

pvssrikanth commented 2 weeks ago

Sure Simon

Let me use this official image

I found the docker files.

I will use this official image docker , replace the file test and update you

Thanks

On Thu, Jun 20, 2024 at 1:20 PM Simon Smith @.***> wrote:

@pvssrikanth https://github.com/pvssrikanth you are using an unofficial docker image! Please switch to the official one ghcr.io/ylianst/meshcentral:master

— Reply to this email directly, view it on GitHub https://github.com/Ylianst/MeshCentral/issues/6153#issuecomment-2180039702, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEGAGU5A43T5OVLRJ5CSVG3ZIKCVVAVCNFSM6AAAAABIYTPN4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBQGAZTSNZQGI . You are receiving this because you were mentioned.Message ID: @.***>

si458 commented 2 weeks ago

no worries! remember you need to download the zip file from the PR and then replace it on your meshcentral server! node_modules/meshcentral/agents/MeshAgentOSXPackager.zip

pvssrikanth commented 2 weeks ago

HI Simon, Thanks

I official image download

PLease give the run command how to run in linux docker run etc. please

Waiting to run and test

Thanks

On Thu, Jun 20, 2024 at 2:20 PM Simon Smith @.***> wrote:

no worries! remember you need to download the zip file from the PR and then replace it on your meshcentral server! node_modules/meshcentral/agents/MeshAgentOSXPackager.zip

— Reply to this email directly, view it on GitHub https://github.com/Ylianst/MeshCentral/issues/6153#issuecomment-2180155897, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEGAGUYAECCXFTEZQEEQZ7LZIKJWTAVCNFSM6AAAAABIYTPN4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBQGE2TKOBZG4 . You are receiving this because you were mentioned.Message ID: @.***>

si458 commented 2 weeks ago

im not sure of the command as i use docker-compose but the compose example is here https://github.com/Ylianst/MeshCentral/tree/master/docker

pvssrikanth commented 2 weeks ago

HI Simon I am following this documentation

https://meshcentral.com/docs/MeshCentral2InstallGuide.pdf

But no mention of how to run this docker how to run

Thanks srikanth

On Thu, Jun 20, 2024 at 2:27 PM Srikanth Pokkuluri @.***> wrote:

HI Simon, Thanks

I official image download

PLease give the run command how to run in linux docker run etc. please

Waiting to run and test

Thanks

On Thu, Jun 20, 2024 at 2:20 PM Simon Smith @.***> wrote:

no worries! remember you need to download the zip file from the PR and then replace it on your meshcentral server! node_modules/meshcentral/agents/MeshAgentOSXPackager.zip

— Reply to this email directly, view it on GitHub https://github.com/Ylianst/MeshCentral/issues/6153#issuecomment-2180155897, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEGAGUYAECCXFTEZQEEQZ7LZIKJWTAVCNFSM6AAAAABIYTPN4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBQGE2TKOBZG4 . You are receiving this because you were mentioned.Message ID: @.***>

si458 commented 2 weeks ago

the PDF docs is OLD and outdated, you should use the new docs here https://ylianst.github.io/MeshCentral/ but we are still in the process of updating it and its missing a docker section, currently we only have a docker section showing the repo image to use

pvssrikanth commented 2 weeks ago

Hi Simon, Thanks for your guidance.

I freshly installed official docker image [image: image.png]

Followed your guidance and replaced the var/lib/docker/overlay2/7132b3eeb738b74cfd25849fcbb8fc45abf292aaff2a58c27a3ec607a57453e3/diff/opt/meshcentral/node_modules/meshcentral/agents#MeshAgentOSXPackager.zip after replacing

I restarted the Server and took copy of this MeshAgentOSXPackager.zip to Mac System and tried to install this package.

But unfortunately, Its still not working with error below :

[image: image.png] Please guide and give solution.

Thanks for your support

Regards, srikanth

On Thu, Jun 20, 2024 at 2:41 PM Simon Smith @.***> wrote:

the PDF docs is OLD and outdated, you should use the new docs here https://ylianst.github.io/MeshCentral/ but we are still in the process of updating it and its missing a docker section, currently we only have a docker section showing the repo image to use

— Reply to this email directly, view it on GitHub https://github.com/Ylianst/MeshCentral/issues/6153#issuecomment-2180197410, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEGAGUZOJWK3YV5Q4TYFTY3ZIKMEJAVCNFSM6AAAAABIYTPN4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBQGE4TONBRGA . You are receiving this because you were mentioned.Message ID: @.***>

si458 commented 2 weeks ago

no you still arent doing it the patch/update correctly. i have just merged the request into the master repo so wait about 15mins then redownload the master docker image docker pull ghcr.io/ylianst/meshcentral:master then rerun your meshcentral docker-compose/run command with the master tag then redownload the meshagent from the web ui on the remote device and see if you can install it

p.s, no images are being attached/shown because you are replying by email

pvssrikanth commented 1 week ago

Hi Simon,

Thanks for your continued support and guidance.

There was some progress now but one error is coming as below:

[image: image.png]

Please guide how to fix this error

Thanking you srikanth

On Thu, Jun 20, 2024 at 5:10 PM Simon Smith @.***> wrote:

no you still arent doing it the patch/update correctly. i have just merged the request into the master repo so wait about 15mins then redownload the master docker image docker pull ghcr.io/ylianst/meshcentral:master then rerun your meshcentral docker-compose/run command then redownload the meshagent from the web ui on the remote device and see if you can install it

p.s, no images are being attached/shown because you are replying by email

— Reply to this email directly, view it on GitHub https://github.com/Ylianst/MeshCentral/issues/6153#issuecomment-2180464591, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEGAGU4MYMCSTDVSHJA2DTDZIK5RJAVCNFSM6AAAAABIYTPN4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBQGQ3DINJZGE . You are receiving this because you were mentioned.Message ID: @.***>

si458 commented 1 week ago

@pvssrikanth no attachments again...

pvssrikanth commented 1 week ago

Hi Simon,

Please find attached error

Looking forward for your guidance

Regards, srikanth

On Fri, Jun 21, 2024 at 1:50 PM Simon Smith @.***> wrote:

@pvssrikanth https://github.com/pvssrikanth no attachments again...

— Reply to this email directly, view it on GitHub https://github.com/Ylianst/MeshCentral/issues/6153#issuecomment-2182252256, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEGAGU25WYLLZQSYFLVLNSLZIPO6RAVCNFSM6AAAAABIYTPN4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBSGI2TEMRVGY . You are receiving this because you were mentioned.Message ID: @.***>

pvssrikanth commented 1 week ago

Hi Simon, Finally with your support , we were able to connect MAC

[image: image.png]

But not sure how to remote desktop icon NOT coming which used to appear in windows icon.

If you can provide that last finishing guidance

That will be great

Thanks On Fri, Jun 21, 2024 at 2:13 PM Srikanth Pokkuluri @.***> wrote:

Hi Simon,

Please find attached error

Looking forward for your guidance

Regards, srikanth

On Fri, Jun 21, 2024 at 1:50 PM Simon Smith @.***> wrote:

@pvssrikanth https://github.com/pvssrikanth no attachments again...

— Reply to this email directly, view it on GitHub https://github.com/Ylianst/MeshCentral/issues/6153#issuecomment-2182252256, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEGAGU25WYLLZQSYFLVLNSLZIPO6RAVCNFSM6AAAAABIYTPN4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBSGI2TEMRVGY . You are receiving this because you were mentioned.Message ID: @.***>

pvssrikanth commented 1 week ago

Hi Simon,

Hi Simon,

[image: image.png]

On Fri, Jun 21, 2024 at 2:13 PM Srikanth Pokkuluri @.***> wrote:

Hi Simon,

Please find attached able to take remote of MAC System

[image: image.png]

However , unable to control remote access open files the remote MAC Device.

Looking forward for your guidance to resolve this remote control the MAC Device.

Thanks and Regards, srikanth

On Fri, Jun 21, 2024 at 2:21 PM Srikanth Pokkuluri @.***> wrote:

Hi Simon, Finally with your support , we were able to connect MAC

[image: image.png]

But not sure how to remote desktop icon NOT coming which used to appear in windows icon.

If you can provide that last finishing guidance

That will be great

Thanks On Fri, Jun 21, 2024 at 2:13 PM Srikanth Pokkuluri @.***> wrote:

Hi Simon,

Please find attached error

Looking forward for your guidance

Regards, srikanth

On Fri, Jun 21, 2024 at 1:50 PM Simon Smith @.***> wrote:

@pvssrikanth https://github.com/pvssrikanth no attachments again...

— Reply to this email directly, view it on GitHub https://github.com/Ylianst/MeshCentral/issues/6153#issuecomment-2182252256, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEGAGU25WYLLZQSYFLVLNSLZIPO6RAVCNFSM6AAAAABIYTPN4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBSGI2TEMRVGY . You are receiving this because you were mentioned.Message ID: @.***>

pvssrikanth commented 3 days ago

Hi Simon,

Instead of docker image ,,,I want to try direct installation packages on Ubuntu and following below link

https://meshcentral.com/docs/MeshCentral2InstallGuide.pdf

Is it latest link ?

Because i am unable to see instructions for Ubuntu 22 version and i see only ubuntu18

[image: image.png]

Please help if i can follow same instructions of ubuntu18 on ubuntu 22 ?

Thanks and Regards, Srikanth

On Fri, Jun 21, 2024 at 3:33 PM Srikanth Pokkuluri @.***> wrote:

Hi Simon,

Hi Simon,

[image: image.png]

On Fri, Jun 21, 2024 at 2:13 PM Srikanth Pokkuluri @.***> wrote:

Hi Simon,

Please find attached able to take remote of MAC System

[image: image.png]

However , unable to control remote access open files the remote MAC Device.

Looking forward for your guidance to resolve this remote control the MAC Device.

Thanks and Regards, srikanth

On Fri, Jun 21, 2024 at 2:21 PM Srikanth Pokkuluri @.***> wrote:

Hi Simon, Finally with your support , we were able to connect MAC

[image: image.png]

But not sure how to remote desktop icon NOT coming which used to appear in windows icon.

If you can provide that last finishing guidance

That will be great

Thanks On Fri, Jun 21, 2024 at 2:13 PM Srikanth Pokkuluri @.***> wrote:

Hi Simon,

Please find attached error

Looking forward for your guidance

Regards, srikanth

On Fri, Jun 21, 2024 at 1:50 PM Simon Smith @.***> wrote:

@pvssrikanth https://github.com/pvssrikanth no attachments again...

— Reply to this email directly, view it on GitHub https://github.com/Ylianst/MeshCentral/issues/6153#issuecomment-2182252256, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEGAGU25WYLLZQSYFLVLNSLZIPO6RAVCNFSM6AAAAABIYTPN4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBSGI2TEMRVGY . You are receiving this because you were mentioned.Message ID: @.***>

si458 commented 3 days ago

@pvssrikanth the pdf is out of date! And should only be used as a reference. You shouldnuse the website for docs https://ylianst.github.io/MeshCentral/ and just follow the ubuntu setup guide there (don't worry about it saying 18.04)