aws-samples / sagemaker-studio-lifecycle-config-examples

MIT No Attribution
77 stars 50 forks source link

[install-autoshutdown-server-extension] stdbuf: failed to run command ‘/opt/ml/lifecycleconfig/lifecycle_script.sh’ #44

Open fulcrum29 opened 5 months ago

fulcrum29 commented 5 months ago

Hey, When starting Studio Classic jupyter server with autoshutdown-server-extension as default lifecycle configuration I get stdbuf: failed to run command ‘/opt/ml/lifecycleconfig/lifecycle_script.sh’: No such file or directory I am running jupyter-server-3 image for jupyterServer

durgasury commented 5 months ago

Hi, any chance you're setting it up on the AWS console on a Windows laptop? If yes, can you try setting up the LCC (specifically, create the LCC) through AWS CLI or Boto3?

adrian-best commented 3 months ago

Hi @durgasury I'm encountering the same issue. I'm setting it up via AWS CLI on windows. stdbuf: failed to run command ‘/opt/ml/lifecycleconfig/lifecycle_script.sh’: No such file or directory

Edit: Studio classic jupyter-server 3.0

fulcrum29 commented 3 months ago

hey, @adrian-best It worked for my by setting it up via AWS CLI on WSL, there is probably some issue with windows new line character