Make sure the API rails app tmp directory is writable by www-data