Actions
Bug #23919
openinstaller breaks if TMPDIR and/or TMP is set.
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
With help from tbrisker@irc.freenode.net I found out the installer fails if TMP and/or TMPDIR is set to a directory not writable by user other than root.
- foreman-rake db:migrate db:seed
mktemp: failed to create file via template ‘/root/.local/tmp/tmp.XXXXXXXXXX’: Permission denied
/usr/bin/tfm-rake: line 6: $TMP: ambiguous redirect
/usr/bin/tfm-rake: line 8: $TMP: ambiguous redirect
/usr/bin/tfm-rake: line 8: $TMP: ambiguous redirect
bash: no job control in this shell
after unsetting TMP and TMPDIR and running the installer again, the installation finishes succesfully.
Updated by Han Boetes almost 7 years ago
I'd also like to mention that the installer should have stopped when the db setup failed. It simply continued and made me search for something unrelated.
Updated by Ewoud Kohl van Wijngaarden almost 7 years ago
I suspect this is actually an issue in foreman-rake which is a bash script. I suspect that it exits with code 0 so the installer continues.
Actions