# Installation Metasfresh

**URL:** <https://forum.metasfresh.org/t/installation-metasfresh/2051>\
**Category:** Uncategorized\
**Created:** [June 11, 2021, 5:01am UTC](https://forum.metasfresh.org/t/installation-metasfresh/2051 "2021-06-11T05:01:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![keesg](https://forum.metasfresh.org/letter_avatar_proxy/v4/letter/k/ecc23a/32.png) [@keesg](https://forum.metasfresh.org/u/keesg)\
**Post date:** [June 11, 2021, 5:01am UTC](https://forum.metasfresh.org/t/installation-metasfresh/2051/1 "2021-06-11T05:01:11Z")

</div>

Yesterday I tried to install Metasfresh on ubunte 20.04 (docker). It was the second try on a fresh server because the first time did not go smooth.  
Everything went wel till the last command “docker-compose up -d”.

after a few lines of correct start up I became this one “Creating metasfresh-docker\_webui\_1 … error”  
“ERROR: for webui Cannot create container for service webui: invalid mode: 8080”

What can I do already changed some things in the compose file:

webui:  
build: webui  
links:  
- webapi:webapi  
ports:  
- “8080:80”  
- “8443:443”  
restart: always  
volumes:

Is there something outside docker what needs to be set?

Regards Kees

---

<div class="post-metadata">

**Author:** ![michael](https://forum.metasfresh.org/letter_avatar_proxy/v4/letter/m/4bbf92/32.png) [@michael](https://forum.metasfresh.org/u/michael)\
**Post date:** [June 12, 2021, 10:43am UTC](https://forum.metasfresh.org/t/installation-metasfresh/2051/2 "2021-06-12T10:43:57Z")

</div>

Hello,  
why you changes des ports?  
Only you change the

```auto
#environment:
 #- WEBAPI_URL=http://beispiel.com:8080

```

Best regards  
Michael

---

<div class="post-metadata">

**Author:** ![keesg](https://forum.metasfresh.org/letter_avatar_proxy/v4/letter/k/ecc23a/32.png) [@keesg](https://forum.metasfresh.org/u/keesg)\
**Post date:** [June 12, 2021, 5:48pm UTC](https://forum.metasfresh.org/t/installation-metasfresh/2051/3 "2021-06-12T17:48:39Z")

</div>

I changed the ports back, but that didn’t work out

_webui:_

- build: webui\*
- links:\*
- 
  - webapi:webapi\*

- ports:\*
- 
  - “80:80”\*

- 
  - “443:443”\*

- restart: always\*

after docker-compose up -d I get the message below

_Creating metasfresh-docker\_webui\_1 … error_

_ERROR: for metasfresh-docker\_webui\_1 Cannot create container for service webui: invalid mode: 8080_

_ERROR: for webui Cannot create container for service webui: invalid mode: 8080_  
_ERROR: Encountered errors while bringing up the project._

---

<div class="post-metadata">

**Author:** ![michael](https://forum.metasfresh.org/letter_avatar_proxy/v4/letter/m/4bbf92/32.png) [@michael](https://forum.metasfresh.org/u/michael)\
**Post date:** [June 12, 2021, 7:07pm UTC](https://forum.metasfresh.org/t/installation-metasfresh/2051/4 "2021-06-12T19:07:39Z")

</div>

Hy,  
im not a Docker Expert.  
Have you install the Computer as virtual machine (VM) oder a LXC Container?  
Have you set the correctly timezone?

Regards  
Michael

---

<div class="post-metadata">

**Author:** ![keesg](https://forum.metasfresh.org/letter_avatar_proxy/v4/letter/k/ecc23a/32.png) [@keesg](https://forum.metasfresh.org/u/keesg)\
**Post date:** [June 12, 2021, 7:12pm UTC](https://forum.metasfresh.org/t/installation-metasfresh/2051/5 "2021-06-12T19:12:58Z")

</div>

I got a step further, put back the # in front of -WEBAPI\_url.  
after that it started correct but the I became a White landing page 🙂  
I found a solution of that by changing the config.js that is what I am trying now.
