# MAUTIC NOT WORKING ON UBUNTU 16.04

**URL:** https://forum.mautic.org/t/mautic-not-working-on-ubuntu-16-04/7574
**Category:** Product Support
**Created:** [February 16, 2017, 9:51pm UTC](https://forum.mautic.org/t/mautic-not-working-on-ubuntu-16-04/7574 "2017-02-16T21:51:51Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![renegadeza](https://avatars.discourse-cdn.com/v4/letter/r/6bbea6/32.png) [@renegadeza](https://forum.mautic.org/u/renegadeza)
#### Post date: [February 16, 2017, 9:51pm UTC](https://forum.mautic.org/t/mautic-not-working-on-ubuntu-16-04/7574/1 "2017-02-16T21:51:51Z")

</div>

HI all, i have tried 5 times now to get mautic working, tried with different version of PHP etc.  
  
  
  
gives the same error each time, ive followed the install docs, and tried other things. im stumped?  
  
  
  
Not Found  
  
  
  
The requested URL /mautic was not found on this server.  
  
  
  
Apache/2.4.18 (Ubuntu) Server at xxx.xxx.xxx.x Port 80

---

<div class="post-metadata">

### Author: ![renegadeza](https://avatars.discourse-cdn.com/v4/letter/r/6bbea6/32.png) [@renegadeza](https://forum.mautic.org/u/renegadeza)
#### Post date: [February 16, 2017, 9:51pm UTC](https://forum.mautic.org/t/mautic-not-working-on-ubuntu-16-04/7574/2 "2017-02-16T21:51:51Z")

</div>

HI all, i have tried 5 times now to get mautic working, tried with different version of PHP etc.

gives the same error each time, ive followed the install docs, and tried other things. im stumped?

Not Found

The requested URL /mautic was not found on this server.

Apache/2.4.18 (Ubuntu) Server at xxx.xxx.xxx.x Port 80

---

<div class="post-metadata">

### Author: ![martinstrom](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/martinstrom/32/433_2.png) [@martinstrom](https://forum.mautic.org/u/martinstrom)
#### Post date: [February 17, 2017, 5:48pm UTC](https://forum.mautic.org/t/mautic-not-working-on-ubuntu-16-04/7574/3 "2017-02-17T17:48:05Z")

</div>

[quote=20209:@renegadeza]HI all, i have tried 5 times now to get mautic working, tried with different version of PHP etc.

gives the same error each time, ive followed the install docs, and tried other things. im stumped?

Not Found

The requested URL /mautic was not found on this server.

Apache/2.4.18 (Ubuntu) Server at xxx.xxx.xxx.x Port 80[/quote]

I run 4 mautic installation on 4 different Ubuntu 16.04 so yes it mautic works on Ubuntu.  
We run our servers on digitalocean with serverpilot administration on them. It is really easy to install mautic or any other apps on the server when using digitalocean + serverpilot together.

---

<div class="post-metadata">

### Author: ![renegadeza](https://avatars.discourse-cdn.com/v4/letter/r/6bbea6/32.png) [@renegadeza](https://forum.mautic.org/u/renegadeza)
#### Post date: [February 18, 2017, 8:43pm UTC](https://forum.mautic.org/t/mautic-not-working-on-ubuntu-16-04/7574/4 "2017-02-18T20:43:27Z")

</div>

Thanks for the reply. Im hosting the Server privately, only need help with getting it working. There must be something im missing, ive followed all the steps googled my ass off, and same result. has any one got a step by step on how to get this working properly, either IIS 7 or Linux. ill be extremely greatful.

---

<div class="post-metadata">

### Author: ![JohnnyDisco](https://avatars.discourse-cdn.com/v4/letter/j/b9e5f3/32.png) [@JohnnyDisco](https://forum.mautic.org/u/JohnnyDisco)
#### Post date: [February 19, 2017, 7:25am UTC](https://forum.mautic.org/t/mautic-not-working-on-ubuntu-16-04/7574/5 "2017-02-19T07:25:15Z")

</div>

Hey Renegadeza,

I’ve literally just done this myself, it took me sometime to get things going maybe 4 times of combining multiple different guides to get it done “right” as it felt like bits were missing from each guide but with a combination of this forum and Google I was able to get it working albeit with one very specific problem. My installation works fine with php7.

Which guide did you follow, one of these?

[https://hostpresto.com/community/tutorials/install-and-configure-mautic-on-ubuntu-16-04/](http://example.com)

or

[https://www.linuxbabe.com/ubuntu/install-mautic-onubuntu-16-04-marketing-automation-software](http://example.com)

---

<div class="post-metadata">

### Author: ![renegadeza](https://avatars.discourse-cdn.com/v4/letter/r/6bbea6/32.png) [@renegadeza](https://forum.mautic.org/u/renegadeza)
#### Post date: [February 19, 2017, 12:48pm UTC](https://forum.mautic.org/t/mautic-not-working-on-ubuntu-16-04/7574/6 "2017-02-19T12:48:35Z")

</div>

Thanks man, ill try these two links and see what happens.

---

<div class="post-metadata">

### Author: ![JohnnyDisco](https://avatars.discourse-cdn.com/v4/letter/j/b9e5f3/32.png) [@JohnnyDisco](https://forum.mautic.org/u/JohnnyDisco)
#### Post date: [February 19, 2017, 2:16pm UTC](https://forum.mautic.org/t/mautic-not-working-on-ubuntu-16-04/7574/7 "2017-02-19T14:16:11Z")

</div>

No problem, shout if you get stuck as if you follow these guides there will be a couple of problems and as soon as you say it, I will remember how to fix, just can’t remember from the top of my head. Just as a FYI I did my install on a LAMP stack, I couldn’t get the redirects to work properly on LEMP.

Cheers

---

<div class="post-metadata">

### Author: ![renegadeza](https://avatars.discourse-cdn.com/v4/letter/r/6bbea6/32.png) [@renegadeza](https://forum.mautic.org/u/renegadeza)
#### Post date: [February 19, 2017, 4:28pm UTC](https://forum.mautic.org/t/mautic-not-working-on-ubuntu-16-04/7574/8 "2017-02-19T16:28:23Z")

</div>

This is the error every time, ive tried both lamp and lemp

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.

not sure what im missing,

---

<div class="post-metadata">

### Author: ![renegadeza](https://avatars.discourse-cdn.com/v4/letter/r/6bbea6/32.png) [@renegadeza](https://forum.mautic.org/u/renegadeza)
#### Post date: [February 19, 2017, 6:35pm UTC](https://forum.mautic.org/t/mautic-not-working-on-ubuntu-16-04/7574/9 "2017-02-19T18:35:21Z")

</div>

Ok got it working, and installed but the time on the campaigns and activity are wrong, have set the timezone.

any ideas

---

<div class="post-metadata">

### Author: ![awurman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/awurman/32/458_2.png) [@awurman](https://forum.mautic.org/u/awurman)
#### Post date: [February 19, 2017, 9:04pm UTC](https://forum.mautic.org/t/mautic-not-working-on-ubuntu-16-04/7574/10 "2017-02-19T21:04:39Z")

</div>

Try to move the mautic folder to /var/www/html , its a common mistake (for test only) after that you modify the sites and everything .  
I had the same problem the first time.

---

<div class="post-metadata">

### Author: ![autoize](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/autoize/32/105_2.png) [@autoize](https://forum.mautic.org/u/autoize)
#### Post date: [February 21, 2017, 12:26am UTC](https://forum.mautic.org/t/mautic-not-working-on-ubuntu-16-04/7574/11 "2017-02-21T00:26:28Z")

</div>

If you are receiving the message, “The site is currently offline due to encountering an error. If the problem persists, please contact the system administrator.”, most likely it is because of a permissions issue. Try the following:

On Ubuntu, Apache usually runs as the www-data user. Some implementations of Apache run as the apache user.  
Try the following, swapping out /path/to/mautic for your actual Mautic folder name.

```auto
chown -R www-data:www-data /var/www/html/path/to/mautic
```

This should resolve the 500 error, then for good measure you should set these directories as writable.  
First change directory to your Mautic folder then run the following commands.

`cd /var/www/html/path/to/mautic
chmod -R 755 /app
chmod -R 755 /media
chmod -R 755 /translations`
