daytonaio / daytona

The Open Source Dev Environment Manager.
https://daytona.io
Apache License 2.0
11.93k stars 857 forks source link

Error starting the Daytona Server daemon on macOS #1314

Open SamOyeAH opened 3 weeks ago

SamOyeAH commented 3 weeks ago

Describe the bug There's an issue with starting the Daytona Server daemon on macOS.

The error message indicates that the launchctl command failed with an input/output error (error code 5). This typically occurs when there's a permission issue or a problem with the launch agent configuration.

To Reproduce Steps to reproduce the behavior:

  1. In the terminal run to daytona server
  2. See error screenshot

Expected behavior Expected the daytona server to running.

Screenshots Screenshot 2024-11-04 at 15 55 43

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

Tpuljak commented 3 weeks ago

@SamOyeAH thanks for raising the issue.

Do you maybe have the Daytona server already running?

SamOyeAH commented 3 weeks ago

@SamOyeAH thanks for raising the issue.

Do you maybe have the Daytona server already running?

@Tpuljak I restarted the server and now I am encountering a different issue

Screenshot 2024-11-04 at 16 22 38

Tpuljak commented 3 weeks ago

Can you please run daytona server stop && daytona serve (notice there's no r at the end)?

This will start daytona in the foreground and you can let me know if you see any errors.

SamOyeAH commented 3 weeks ago

Screenshot 2024-11-04 at 16 28 18

daytona serve worked

I think there might be a typo in the code

Can you please run daytona server stop && daytona serve (notice there's no r at the end)?

This will start daytona in the foreground and you can let me know if you see any errors.

Tpuljak commented 3 weeks ago

daytona serve worked

That looks good now. Can you run daytona create in a new terminal now?

SamOyeAH commented 3 weeks ago

Screenshot 2024-11-04 at 16 32 29

Looks good. Thank!

And I love the concept of Daytona, by the way. Are you guys looking for contributors?

daytona serve worked

That looks good now. Can you run daytona create in a new terminal now?

Tpuljak commented 3 weeks ago

Looks good. Thank!

Awesome. Once you create the workspace (or when it's convenient) you can cancel the foreground process and run daytona server -y to run it in the background.

Are you guys looking for contributors?

We're always happy to welcome new contributors. Feel free to browse the issues and work on anything unassigned. If you need any help, just tag us and we'll be there asap.

daytonaBot commented 1 week ago

This Issue has been automatically marked as "stale" because it has not had recent activity (for 14 days). It will be closed if no further activity occurs. Thanks for the feedback.