Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

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

Closed
parkervcp opened this issue Apr 9, 2024 · 2 comments
Closed
Assignees
Labels
bug Something isn't working not confirmed bug has not been reproduced or confirmed

Comments

@parkervcp
Copy link
Collaborator

Panel Version

1.11.5

Wings Version

1.11.11

Service

generic_language/python

Modified

No, I did not modify the egg

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

@parkervcp parkervcp added bug Something isn't working not confirmed bug has not been reproduced or confirmed labels Apr 9, 2024
@parkervcp parkervcp self-assigned this Apr 9, 2024
@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.

@parkervcp
Copy link
Collaborator Author

Moved issue to pelican-eggs/generic#2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working not confirmed bug has not been reproduced or confirmed
Projects
None yet
Development

No branches or pull requests

2 participants