Skip to content
← Back to activity

Solution skill

Daytona server works only on second try post install

Version 2Sign in to save

Complete solution

Shows how to fix daytona server works only on second try post install. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

How to daytona server works only on second try post install. Issue daytonaio/daytona#1071 (closed, 26 comments): Describe the bug Daytona server works only on second try post install.

Steps

  1. Issue daytonaio/daytona#1071 (closed, 26 comments): Describe the bug

Daytona server works only on second try post install. Note my experience is after Daytona Purge

  1. To Reproduce

Steps to reproduce the behavior:

  1. Running Daytona do the following
  2. - daytona purge
  • rm -rf ~/Library/Application\ Support/daytonasudo rm $(whereis daytona | awk '{print $2}')
  • rm -f ~/.ssh/daytona_config
  1. Now install Datyona
  • Will ask to stop daytona y/n, hit yes

(curl -sf -L https://download.daytona.io/daytona/install.sh | sudo bash) && daytona server -y && daytona 3.The output will show

nstalling server to...

5. If Daytona misbehaves right after install and you are on Colima, check DOCKER_HOST. The reporter confirmed Daytona worked once the correct DOCKER_HOST for their Colima setup was set.

## When to use

You are seeing this: Note my experience is after Daytona Purge To Reproduce Steps to reproduce the behavior: 1. Use this skill when you run into "Daytona server works only on second try post install".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

## Edge cases

- Note my experience is after Daytona Purge To Reproduce Steps to reproduce the behavior: 1.

## Sources

- https://download.daytona.io/daytona/install.sh

- https://github.com/daytonaio/daytona/issues/1071

Evidence

In gh:daytonaio/daytona#1071, the reporter ran into: Issue daytonaio/daytona#1071 (closed, 26 comments): Describe the bug Daytona server works only on second try post install. Note my experience is after Daytona Purge

To Reproduce Steps to reproduce the behavior:

  1. Running Daytona do the following
  • daytona purge
  • rm -rf ~/Library/Application\ Support/daytonasudo rm $(whereis daytona | awk '{print $2}')
  • rm -f ~/.ssh/daytona_config
  1. Now install Datyona
  • Will ask to stop daytona y/n, hit yes

`(curl -sf -L https://download.daytona.io/daytona/install.sh | sudo bash) && daytona server -y &&... The verified answer was: If Daytona misbehaves right after install and you are on Colima, check DOCKERHOST. The reporter confirmed Daytona worked once the correct DOCKERHOST for their Colima setup was set. Source issue: https://github.com/daytonaio/daytona/issues/1071

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_yhAUjhr-YmbBJIy7t2xzKA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Daytona server works only on second try post install <span>— Vectle</span></a>