# Installation: HTTP 500 error when trying

**URL:** <https://community.dreamfactory.com/t/installation-http-500-error-when-trying/1804>\
**Category:** GitHub Installers\
**Created:** [November 19, 2015, 8:12pm UTC](https://community.dreamfactory.com/t/installation-http-500-error-when-trying/1804 "2015-11-19T20:12:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KariSysta](https://avatars.discourse-cdn.com/v4/letter/k/48db29/32.png) [@KariSysta](https://community.dreamfactory.com/u/KariSysta)\
**Post date:** [November 19, 2015, 8:12pm UTC](https://community.dreamfactory.com/t/installation-http-500-error-when-trying/1804/1 "2015-11-19T20:12:48Z")

</div>

I installed Dreamfactory using the instruction from [https://github.com/dreamfactorysoftware/dsp-core/wiki/Install-Debian-Ubuntu](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?

---

<div class="post-metadata">

**Author:** ![KariSysta](https://avatars.discourse-cdn.com/v4/letter/k/48db29/32.png) [@KariSysta](https://community.dreamfactory.com/u/KariSysta)\
**Post date:** [November 19, 2015, 8:36pm UTC](https://community.dreamfactory.com/t/installation-http-500-error-when-trying/1804/2 "2015-11-19T20:36:22Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [November 19, 2015, 8:39pm UTC](https://community.dreamfactory.com/t/installation-http-500-error-when-trying/1804/3 "2015-11-19T20:39:44Z")

</div>

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.

> **[dreamfactorysoftware/dreamfactory](https://github.com/dreamfactorysoftware/dreamfactory)**
>
> DreamFactory API Management Platform. Contribute to dreamfactorysoftware/dreamfactory development by creating an account on GitHub.

[https://wiki.dreamfactory.com/DreamFactory/Installation](https://wiki.dreamfactory.com/DreamFactory/Installation)
