Installation: HTTP 500 error when trying


#1

I installed Dreamfactory using the instruction from https://github.com/dreamfactorysoftware/dsp-core/wiki/Install-Debian-Ubuntu

The operating system is “Ubuntu 14.04.2 LTS”

log/web.192.log says:

[2015-11-19 21:22:15][app][DEBUG ] Creating table: df_sys_event
[2015-11-19 21:22:15][app][DEBUG ] Creating table: df_sys_service_doc
[2015-11-19 21:22:29][app][ERROR ] CDbCommand::execute() failed: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘dreamfactory.df_sys_cache’ doesn’t exist. The SQL statement executed was: D
ELETE FROM df_sys_cache WHERE expire>0 AND expire<1447960932.
[2015-11-19 21:22:29][app][DEBUG ] System administrator required.
[2015-11-19 21:23:25][app][DEBUG ] System administrator required.

So it seems that tables were created ok to the database (I checked that really exist), and now each attempt to access gives this “System administrator required.”

Any idea where to start debugging?


#2

Of course I progressed immediately after posting. This seems to be the behavior if one accesses the host without any path. A bit misleading for a beginner…


#3

You should automatically be directed to the right path if you turned on mod_rewrite and configured your Apache virtual host according to the example.

Also, I don’t know if you have a specific reason to use DreamFactory 1.9 (dsp-core)
but if not, I recommend using 2.0 instead.

http://wiki.dreamfactory.com/DreamFactory/Installation