The Wayback Machine - https://web.archive.org/web/20210114093947/https://github.com/gozoinks/unifi-pfsense/issues/110
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

Check for tmp space before install, make TMPDIR #110

Open
leifnel opened this issue Jun 26, 2018 · 0 comments
Open

Check for tmp space before install, make TMPDIR #110

leifnel opened this issue Jun 26, 2018 · 0 comments

Comments

@leifnel
Copy link

@leifnel leifnel commented Jun 26, 2018

The default size of /tmp is 40MB, so the installation fails when installing mongodb, where the size of mongodb-2.6.12_4.txz.XXXXX is 46MB

In case the tmp is too small, the script should either just stop, or offer to make a TMPDIR at for instance /usr/local/tmp or a user-selectable path.

I solved it by

sh 
mkdir /usr/local/tmp
TMPDIR=/usr/local/tmp; export TMPDIR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.