Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fulcrum29 opened this issue Feb 22, 2024 · 4 comments

Comments

@fulcrum29
Copy link

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
Copy link
Contributor

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
Copy link

adrian-best commented Apr 12, 2024

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
Copy link
Author

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

@jernkuan
Copy link

This worked for me

Replace \r\n with \n in notepad++ before copy and pasting
#17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants