daytonaio / daytona

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

server configuration fails to make directory #618

Closed metcalfc closed 2 weeks ago

metcalfc commented 3 months ago

Describe the bug

image

When doing a server configuration it fails because a directory can't be made?

To Reproduce Steps to reproduce the behavior:

  1. Fresh install
  2. daytona server configure
  3. Accept defaults
  4. See error

Expected behavior I expected it would create the directories. It didn't I checked and also they were not there before.

Desktop (please complete the following information):

Tpuljak commented 2 months ago

More context: The issue is caused by https://github.com/daytonaio/daytona/blob/main/pkg/views/server/configure.go#L153 which attempts to create a directory on the host machine while the configuration could be edited for a remote server. Mkdir should be executed on the server and not on the CLI.

idagelic commented 1 month ago

/bounty $20

algora-pbc[bot] commented 1 month ago

💎 $20 bounty â€ĸ Daytona

Steps to solve:

  1. Start working: Comment /attempt #618 with your implementation plan
  2. Submit work: Create a pull request including /claim #618 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

If no one is assigned to the issue, feel free to tackle it, without confirmation from us, after registering your attempt. In the event that multiple PRs are made from different people, we will generally accept those with the cleanest code.

Please respect others by working on PRs that you are allowed to submit attempts to.

e.g. If you reached the limit of active attempts, please wait for the ability to do so before submitting a new PR.

If you can not submit an attempt, you will not receive your payout.

Thank you for contributing to daytonaio/daytona!

Add a bounty â€ĸ Share on socials

Attempt Started (GMT+0) Solution
đŸŸĸ @kryczkal Jul 18, 2024, 12:32:35 PM WIP
đŸŸĸ @RS-labhub Jul 28, 2024, 7:31:47 AM WIP
đŸŸĸ @tarunrajput Aug 9, 2024, 5:17:56 PM #908
kryczkal commented 1 month ago

/attempt #618

RS-labhub commented 1 month ago

/attempt #618

Algora profile Completed bounties Tech Active attempts Options
@RS-labhub 3 daytonaio bounties
JavaScript, Python,
Go & more
īšŸ727
Cancel attempt
tarunrajput commented 2 weeks ago

/attempt #618

Algora profile Completed bounties Tech Active attempts Options
@tarunrajput    17 daytonaio bounties
+ 5 bounties from 5 projects
Java, TypeScript,
JavaScript
Cancel attempt
algora-pbc[bot] commented 2 weeks ago

💡 @tarunrajput submitted a pull request that claims the bounty. You can visit your bounty board to reward.

algora-pbc[bot] commented 2 weeks ago

🎉🎈 @tarunrajput has been awarded $20! 🎈🎊