# Running mautic from github

**URL:** <https://forum.mautic.org/t/running-mautic-from-github/1812>\
**Category:** Product Support\
**Created:** [May 8, 2015, 2:37pm UTC](https://forum.mautic.org/t/running-mautic-from-github/1812 "2015-05-08T14:37:24Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![axecute](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@axecute](https://forum.mautic.org/u/axecute)\
**Post date:** [May 8, 2015, 2:37pm UTC](https://forum.mautic.org/t/running-mautic-from-github/1812/1 "2015-05-08T14:37:24Z")

</div>

Hi, I setup mautic, but I get this error:  
  
  
  
The site is currently offline due to encountering an error. If the problem persists, please contact the system administrator.  
  
System administrators, check server logs for errors.  
  
  
  
How do I access the installer? I followed some instructions on github to configure and setup the database.

---

<div class="post-metadata">

**Author:** ![axecute](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@axecute](https://forum.mautic.org/u/axecute)\
**Post date:** [May 8, 2015, 2:37pm UTC](https://forum.mautic.org/t/running-mautic-from-github/1812/2 "2015-05-08T14:37:24Z")

</div>

Hi, I setup mautic, but I get this error:

The site is currently offline due to encountering an error. If the problem persists, please contact the system administrator.  
System administrators, check server logs for errors.

How do I access the installer? I followed some instructions on github to configure and setup the database.

---

<div class="post-metadata">

**Author:** ![chad.windnagle](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@chad.windnagle](https://forum.mautic.org/u/chad.windnagle)\
**Post date:** [May 8, 2015, 2:39pm UTC](https://forum.mautic.org/t/running-mautic-from-github/1812/3 "2015-05-08T14:39:57Z")

</div>

So first off - do you want to run mautic off of Github? you don’t need to unless you’re going to actively be writing code for Mautic. If you’re not going to do that, using the package we provide at [mautic.org/download](http://mautic.org/download) is a ‘cleaner’ way to go.

That said - since you are using the development version, what happens if you go to [yoursite.com/index\_dev.php](http://yoursite.com/index_dev.php)? It should give you some errors.

Can you make sure that app/cache is writable? That’s usually what causes this error in my experience.

---

<div class="post-metadata">

**Author:** ![axecute](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@axecute](https://forum.mautic.org/u/axecute)\
**Post date:** [May 8, 2015, 3:50pm UTC](https://forum.mautic.org/t/running-mautic-from-github/1812/4 "2015-05-08T15:50:15Z")

</div>

I tried the package at [mautic.org/download](http://mautic.org/download), but there were files missing that I had to get off of github, so I thought I would just try the github version.

index\_dev.php says You are not allowed to access this file. Check index\_dev.php for more information.

app/cache is writable too

---

<div class="post-metadata">

**Author:** ![chad.windnagle](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@chad.windnagle](https://forum.mautic.org/u/chad.windnagle)\
**Post date:** [May 8, 2015, 3:53pm UTC](https://forum.mautic.org/t/running-mautic-from-github/1812/5 "2015-05-08T15:53:25Z")

</div>

Ah the index only works if you add your IP address to the array.

I think you should go back tot he full package - it shouldn’t be missing anything if you upload the entire thing.

---

<div class="post-metadata">

**Author:** ![axecute](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@axecute](https://forum.mautic.org/u/axecute)\
**Post date:** [May 8, 2015, 11:39pm UTC](https://forum.mautic.org/t/running-mautic-from-github/1812/6 "2015-05-08T23:39:02Z")

</div>

After downloading the .zip and extracting it on the server:

Warning: include(/home/public/mautic/offline.php): failed to open stream: No such file or directory in /home/public/mautic/index.php on line 52

Warning: include(): Failed opening ‘/home/public/mautic/offline.php’ for inclusion (include\_path=’.:/usr/local/php/5.4.33-nfsn1/lib/:/usr/local/php/lib/’) in /home/public/mautic/index.php on line 52

* * *

[bloginatoraxe /home/public/mautic]$ ls  
1.0.5.zip addons bin index.php robots.txt translations  
LICENSE.txt app favicon.ico media themes vendor

---

<div class="post-metadata">

**Author:** ![chad.windnagle](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@chad.windnagle](https://forum.mautic.org/u/chad.windnagle)\
**Post date:** [May 9, 2015, 1:17am UTC](https://forum.mautic.org/t/running-mautic-from-github/1812/7 "2015-05-09T01:17:45Z")

</div>

Hi Axecute:

So I checked the 1.0.5, 1.0.4, and 1.0.3 distributions and none of them have offline.php. This appears to be an oversight on the build side! you can grab that one file from the github repo.

BUT - we shouldn’t even be hitting the include for that if things are working properly.

What should happen is after you extract and you hit the index.php file, the install process should take over and execute. Did you ever make it to the installer? If not then something else is up. Can you make sure that mod\_rewrite is enabled on your server? What happens if you go to [domain.com/installer](http://domain.com/installer)?

---

<div class="post-metadata">

**Author:** ![axecute](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@axecute](https://forum.mautic.org/u/axecute)\
**Post date:** [May 9, 2015, 3:19pm UTC](https://forum.mautic.org/t/running-mautic-from-github/1812/8 "2015-05-09T15:19:01Z")

</div>

The forums say that mod\_rewrite is on the server, I’m not sure how to verify it though. When I go to /installer it just says the original error message

“The site is currently offline due to encountering an error. If the problem persists, please contact the system administrator.  
System administrators, check server logs for errors.”

Since it says to check the server logs I tried to report it as a system problem, but they replied saying it’s not a system problem.

---

<div class="post-metadata">

**Author:** ![zpetterd](https://avatars.discourse-cdn.com/v4/letter/z/f14d63/32.png) [@zpetterd](https://forum.mautic.org/u/zpetterd)\
**Post date:** [May 11, 2015, 2:34am UTC](https://forum.mautic.org/t/running-mautic-from-github/1812/9 "2015-05-11T02:34:53Z")

</div>

Hi Axecute,

Mod\_rewrite is a module that is attached to Apache (most servers use Apache). This gives a bit of a background about what it is [http://www.workingwith.me.uk/articles/scripting/mod\_rewrite](http://www.workingwith.me.uk/articles/scripting/mod_rewrite) . You need mod\_rewrite enabled on your website to run Mautic and many other web platforms.

Is this on hosting you pay for or your own server? Which provider is it with?

Zac

---

<div class="post-metadata">

**Author:** ![chad.windnagle](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@chad.windnagle](https://forum.mautic.org/u/chad.windnagle)\
**Post date:** [May 11, 2015, 1:08pm UTC](https://forum.mautic.org/t/running-mautic-from-github/1812/10 "2015-05-11T13:08:05Z")

</div>

Hi axecute,

Is there a way for you to look at the php error logs yourself? Mautic has error logs, but since it looks like Mautic isn’t even booting up, so Mautic’s logs aren’t firing, so general PHP / Apache logs will show errors.

---

<div class="post-metadata">

**Author:** ![javier](https://avatars.discourse-cdn.com/v4/letter/j/9dc877/32.png) [@javier](https://forum.mautic.org/u/javier)\
**Post date:** [January 26, 2016, 5:52am UTC](https://forum.mautic.org/t/running-mautic-from-github/1812/11 "2016-01-26T05:52:53Z")

</div>

I finally installed it.

I found the error here “Bitnamimautic-1.2.3-0apache2logs” and it said:

“[2016-01-26 05:11:42] mautic.ERROR: Fatal: Maximum execution time of 120 seconds exceeded - in file C:Bitnamimautic-1.2.3-0appsmautichtdocsvendordoctrinedballibDoctrineDBALDriverPDOStatement.php - at line 35 [] []”

So I went to “C:Bitnamimautic-1.2.3-0php” opened php.ini with notepad (you must have visible extensions, other wise you won’t be able to see the file, and changed “max\_execution\_time = 300” it was on 30 sec before the change. Then restarted MySQL and Apache, and voila!!! is working perfect.

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [January 26, 2016, 7:59am UTC](https://forum.mautic.org/t/running-mautic-from-github/1812/12 "2016-01-26T07:59:48Z")

</div>

@javier I can see you are very happy that you managed to fix your problem, but this is the third thread where I see the same comment about it. Once is enough, please.

---

<div class="post-metadata">

**Author:** ![dalip09](https://avatars.discourse-cdn.com/v4/letter/d/839c29/32.png) [@dalip09](https://forum.mautic.org/u/dalip09)\
**Post date:** [May 9, 2016, 9:59pm UTC](https://forum.mautic.org/t/running-mautic-from-github/1812/13 "2016-05-09T21:59:31Z")

</div>

I have Matuic installed on my cpanel - I don’t seem to be able to to find C:Bitnamimautic-1.2.3-0php file

Please keep answe very simple if possible

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 2, 2020, 10:59pm UTC](https://forum.mautic.org/t/running-mautic-from-github/1812/14 "2020-02-02T22:59:59Z")

</div>


