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

[Bug]: Python egg install and startup fails when tmp folder is too small #2

Open
parkervcp opened this issue Apr 15, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@parkervcp
Copy link
Contributor

Panel Version

1.11.5

Wings Version

1.11.11

Service

python

Modified

Yes, I modified the egg (will provide details below)

Expected Behavior

This can be resolved by changing the start and install commands to be similar to the following.

TMPDIR=PATH_TO_A_BIGGER_ONE pip install [package name] --target ANOTHER_PATH_TO_A_BIGGER_ONE

Install and startup process requirements correctly.

Actual Behavior

Fails to pull all requirements due to /tmp being too small.

Steps To Reproduce

Install any python code with a requirements file that has more than 100mb of dependencies.

Install logs

No logs but is a known issue

@wdhdev
Copy link

wdhdev commented Apr 15, 2024

I can confirm this does happen. I think it also happens with Node.js but I'm not 100% sure on that. Normally I just get around this problem using mkdir /home/container/tmp && export TMPDIR=/home/container/tmp.

@QuintenQVD0
Copy link
Contributor

I see what I can do, maybe even on the image side.

@parkervcp
Copy link
Contributor Author

We can set the tmpdir in the egg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants