dyrector-io / dyrectorio

dyrector.io is a self-hosted continuous delivery & deployment platform with version management.
https://dyrectorio.com
Apache License 2.0
1.36k stars 100 forks source link

cant install on macos #995

Closed pvinis closed 2 months ago

pvinis commented 2 months ago

I tried installing on a linux machine, and on my macbook.

On linux, it worked great.

On mac, its stuck on Detected: Mac OS X and never actually showing me Installing dyrector.io agent (dagent)...!

polaroi8d commented 2 months ago

Hey @pvinis,

Could you show me your full log? I'm working on MacOS and there is no issue with the agent install in my Mac. Please provide me with more info about your OS version.

pvinis commented 2 months ago

is there a verbose mode? how do I get the full log?

polaroi8d commented 2 months ago

is there a verbose mode? how do I get the full log?

Like the following: (this was mine install)

~/polaroi8d/ main !2 ?2 ❯ curl -sL https://app.dyrectorio.com/api/bishop-co/nodes/86e6ef68-e199-4df7-84f0-251494654da4/script | sh -                                                                                system  1.0.0 11:04:32
Detected: Mac OS X
Removing existing dyrector.io agent (dagent)...
dagent
Error response from daemon: No such container: dagent
Installing dyrector.io agent (dagent)...
stable: Pulling from dyrector-io/dyrectorio/agent/dagent
Digest: sha256:3398d1f7281c35114149ff7a49889e79025e4818f0fcb54e164330eabb71eeb9
Status: Image is up to date for ghcr.io/dyrector-io/dyrectorio/agent/dagent:stable
ghcr.io/dyrector-io/dyrectorio/agent/dagent:stable
b40ca7de16bd80a68ba65acc7e9468c44af7ed8a47b6aebcbe3fa78e1a36af80
pvinis commented 2 months ago

ah cool.

ok I can tell you, mine stopped on the first like, Detected Mac OS X. never went to the next one, it was just waiting there. I left it for an hour and still nothing.

From: Levente Orban @.> @.> Reply: dyrector-io/dyrectorio @.> @.> Date: 6 September 2024 at 12:57:21 To: dyrector-io/dyrectorio @.> @.> CC: Pavlos Vinieratos @.> @.>, Mention @.> @.> Subject: Re: [dyrector-io/dyrectorio] cant install on macos (Issue #995)

is there a verbose mode? how do I get the full log?

Like the following: (this was mine install)

~/polaroi8d/ main !2 ?2 ❯ curl -sL https://app.dyrectorio.com/api/bishop-co/nodes/86e6ef68-e199-4df7-84f0-251494654da4/script | sh -  system  1.0.0 11:04:32

Detected: Mac OS X

Removing existing dyrector.io agent (dagent)...

dagent

Error response from daemon: No such container: dagent

Installing dyrector.io agent (dagent)...

stable: Pulling from dyrector-io/dyrectorio/agent/dagent

Digest: sha256:3398d1f7281c35114149ff7a49889e79025e4818f0fcb54e164330eabb71eeb9

Status: Image is up to date for ghcr.io/dyrector-io/dyrectorio/agent/dagent:stable ghcr.io/dyrector-io/dyrectorio/agent/dagent:stable

b40ca7de16bd80a68ba65acc7e9468c44af7ed8a47b6aebcbe3fa78e1a36af80

— Reply to this email directly, view it on GitHub https://github.com/dyrector-io/dyrectorio/issues/995#issuecomment-2333703639, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAYPCMLHIDQGHWV7FNYQSTZVF4ADAVCNFSM6AAAAABNWVRPPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZTG4YDGNRTHE . You are receiving this because you were mentioned.Message ID: @.***>

-- Pavlos Vinieratos

polaroi8d commented 2 months ago

Could you please check existing containers and images and delete all which is related to the dyrector.io platform agent, and after it, try again?

pvinis commented 2 months ago

oh wow. I did a system prune and it worked afterwards. Indeed something must have been stuck. Thank you!

(Now to figure out how to pull an image from github to run 😅)