dangogh opened a new issue #2053: TO goose migration fails with "permission 
denied"
URL: https://github.com/apache/incubator-trafficcontrol/issues/2053
 
 
   I've only seen this on centos 7.3.
   ```
   $ goose -env production upgrade
   goose: migrating db environment 'production', current version: 
20161208000001, target: 20180314000000
   fork/exec /tmp/go-build236706399/b001/exe/goose_main: permission denied
   ```
   
   Apparently this happens because the OS doesn't like executing things in 
`/tmp`.   Workaround is to set `TMPDIR` to something else, e.g. 
   ```
   export TMPDIR=~/tmp; mkdir $TMPDIR
   ```
   prior to running `postinstall`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to