You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a template admin, I try out my template by creating a workspace. Since there is a failure in my startup_script, the workspace "fails" and its resources are immediately deleted. The problem is I've now lost my /var/log/coder-startup-script.log and can no longer find the error.
A workaround is adding an sleep 999999 or disabling set -e in my startup script, but ideally I can find the error without making a temporary modification to my startup_script.
Some approaches:
Create a new substate of Success for "agent failure" (like v1)
As a template admin, I try out my template by creating a workspace. Since there is a failure in my
startup_script
, the workspace "fails" and its resources are immediately deleted. The problem is I've now lost my/var/log/coder-startup-script.log
and can no longer find the error.A workaround is adding an
sleep 999999
or disablingset -e
in my startup script, but ideally I can find the error without making a temporary modification to mystartup_script
.Some approaches:
The text was updated successfully, but these errors were encountered: