daytonaio / daytona

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

daytona purge might be missing ts-net? #764

Open SvenDowideit opened 2 months ago

SvenDowideit commented 2 months ago

Describe the bug

ran daytona purge on the 0.21.3 that i'd setup to run as root, and had a quick poke around - found a dir that I presume should also be removed?

~/.config/tsnet-daytona/

root@xeon:~# daytona purge

 Deleting all workspaces
 - Workspace dockerfiles successfully deleted

 - Workspace dendron successfully deleted

 - Workspace daytona successfully deleted

 Deleting the SSH configuration file
 Deleting autocompletion data
 Deleting the Daytona config directory

 All Daytona data has been successfully cleared from the device.
 You may now delete the binary.                                 

root@xeon:~# 
root@xeon:~# 
root@xeon:~# cd .config
root@xeon:~/.config# ls
gops  procps  tsnet-daytona  WorkNet
root@xeon:~/.config# more tsnet-daytona/

*** tsnet-daytona/: directory ***

root@xeon:~/.config# ls
gops  procps  tsnet-daytona  WorkNet
root@xeon:~/.config# cd tsnet-daytona/
root@xeon:~/.config/tsnet-daytona# ls
files  tailscaled.log1.txt  tailscaled.log2.txt  tailscaled.log.conf  tailscaled.state

OH, Also - there is still a daytona serve running, even though I recal getting the charm bracelet TUI to stop it?

root@xeon:~/.config/tsnet-daytona# systemctl status | grep daytona
           │   │ └─231177 grep --color=auto daytona
               ├─5023 /usr/local/bin/daytona serve
               └─5223 /root/.config/daytona/providers/docker-provider/docker-provider
root@xeon:~/.config/tsnet-daytona# ps aux | grep daytona
root        5023  2.8  0.4 1458596 134304 ?      Ssl  Jul10 166:16 /usr/local/bin/daytona serve
root        5223  0.0  0.0 1244484 28640 ?       Sl   Jul10   0:57 /root/.config/daytona/providers/docker-provider/docker-provider
root      231179  0.0  0.0   9216  2560 pts/1    S+   13:27   0:00 grep --color=auto daytona
root@xeon:~/.config/tsnet-daytona# systemctl status daytona
Unit daytona.service could not be found.

To Reproduce

Expected behavior

no trace of daytona ?

Additional context

So i'm playing around, and expect to be doing things that are plain wrong :)

daytonaBot commented 1 month 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.