# Install Mautic 4 from scratch, on Ubuntu 18.04 or Ubuntu 20.04 server failed

**URL:** <https://forum.mautic.org/t/install-mautic-4-from-scratch-on-ubuntu-18-04-or-ubuntu-20-04-server-failed/21035>\
**Category:** Mautic 4 Install/Upgrade Support\
**Created:** [September 27, 2021, 10:24am UTC](https://forum.mautic.org/t/install-mautic-4-from-scratch-on-ubuntu-18-04-or-ubuntu-20-04-server-failed/21035 "2021-09-27T10:24:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![masterale](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/masterale/32/433_2.png) [@masterale](https://forum.mautic.org/u/masterale)\
**Post date:** [September 27, 2021, 10:24am UTC](https://forum.mautic.org/t/install-mautic-4-from-scratch-on-ubuntu-18-04-or-ubuntu-20-04-server-failed/21035/1 "2021-09-27T10:24:01Z")

</div>

**Your software**  
_My PHP version is_ :  
_My MySQL/MariaDB version is_ (delete as applicable): MySQL/MariaDB version

**Updating/Installing Errors**  
_I am_ (delete as applicable): Installing / Updating  
_Upgrading/installing via_ (delete as applicable) : Web / Command Line

_These errors are showing in the installer_ :

_These errors are showing in the Mautic log_ :

**Your problem**  
_My problem is_ : Why when install Mautic 4 every installation dont work ? Every time 404 error on page when try to connect on. Someone have full instruction that work ?

_Steps I have tried to fix the problem_ :

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [September 27, 2021, 1:37pm UTC](https://forum.mautic.org/t/install-mautic-4-from-scratch-on-ubuntu-18-04-or-ubuntu-20-04-server-failed/21035/2 "2021-09-27T13:37:30Z")

</div>

is this a fresh install ?

is it showing a database error on webpage ?

Can you see anything in your logs ? Is the database setup ?
