Error 500 on New-ish Bitnami Install

This seems to be the repeating chunk in the dreamfactory log:

#68 [internal function]: Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))
#69 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9459): call_user_func_array(Array, Array)
#70 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#71 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(9449): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#72 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(2209): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#73 /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php(2192): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#74 /opt/bitnami/apps/dreamfactory/htdocs/public/index.php(53): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#75 {main}  

This is all I found in the apache logs (/opt/bitnami/apache2/logs)

[Thu Oct 08 03:32:09.704998 2015] [ssl:warn] [pid 1861:tid 140485189674816] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Thu Oct 08 03:32:09.760014 2015] [ssl:warn] [pid 1862:tid 140485189674816] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Thu Oct 08 03:32:09.760635 2015] [lbmethod_heartbeat:notice] [pid 1862:tid 140485189674816] AH02282: No slotmem from mod_heartmonitor
[Thu Oct 08 03:32:09.773686 2015] [mpm_event:notice] [pid 1862:tid 140485189674816] AH00489: Apache/2.4.16 (Unix) OpenSSL/1.0.1p configured -- resuming normal operations
[Thu Oct 08 03:32:09.773725 2015] [core:notice] [pid 1862:tid 140485189674816] AH00094: Command line: '/opt/bitnami/apache2/bin/httpd.bin -f /opt/bitnami/apache2/conf/httpd.conf'
[Thu Oct 08 07:32:14.702739 2015] [pagespeed:warn] [pid 1875:tid 140484563273472] [mod_pagespeed 1.9.32.3-4523 @1875] Failed to read cache clean timestamp /opt/bitnami/apache2/var/cache/mod_pagespeed/!clean!time!.  Doing an extra cache clean to be safe.
[Thu Oct 08 07:32:14.703534 2015] [pagespeed:warn] [pid 2259:tid 140484428990208] [mod_pagespeed 1.9.32.3-4523 @2259] Failed to read cache clean timestamp /opt/bitnami/apache2/var/cache/mod_pagespeed/!clean!time!.  Doing an extra cache clean to be safe.
[Thu Oct 08 07:32:14.703958 2015] [pagespeed:warn] [pid 1874:tid 140484722734848] [mod_pagespeed 1.9.32.3-4523 @1874] Failed to read cache clean timestamp /opt/bitnami/apache2/var/cache/mod_pagespeed/!clean!time!.  Doing an extra cache clean to be safe.

And I found the AMIs here: https://bitnami.com/stack/dreamfactory/cloud/amazon by switching to US West (Oregon) and choosing the ami for Dreamfactory 2.0 Beta on the HVM server. I believe I tried before with the PV Server and had the same issue though.

EDIT –
also, just tried visiting the page again so I know what timestamp to check for in the logs. Found this in the apache access log:

172.31.43.148 - - [08/Oct/2015:17:16:42 +0000] "GET /api/v2/system/environment HTTP/1.1" 500 4519

I think I’ve narrowed it down to file permissions maybe? there’s a few lines in the dreamfactory log like this:

[2015-10-08 17:19:50] local.ERROR: exception 'ErrorException' with message 'file_put_contents(/opt/bitnami/apps/dreamfactory/htdocs/storage/framework/cache/99/b3/99b397fd14d6a0b39f78efb28b13808d): failed to open stream: Permission denied' in /opt/bitnami/apps/dreamfactory/htdocs/bootstrap/cache/compiled.php:6565

But I’m not sure what the permissions need to be in order to run these commands