# Failure during installation

**URL:** <https://forum.shopware.com/t/failure-during-installation/93409>\
**Category:** Shopware 6 (English)\
**Created:** [12. März 2022 um 13:11 UTC](https://forum.shopware.com/t/failure-during-installation/93409 "2022-03-12T13:11:00Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![nobanker](https://avatars.discourse-cdn.com/v4/letter/n/71e660/32.png) [@nobanker](https://forum.shopware.com/u/nobanker)\
**Post date:** [12. März 2022 um 13:11 UTC](https://forum.shopware.com/t/failure-during-installation/93409/1 "2022-03-12T13:11:00Z")

</div>

during installation  
after installing the database  
after defining the form where shop name and administrator information are asked

i get to a url like [http://localhost/sw6/public/admin](http://localhost/sw6/public/admin)  
with a message:

# Not Found

The requested URL was not found on this server.

when i go to  
[http://localhost/sw6/public](http://localhost/sw6/public)  
i get this

 ![Screenshot from 2022-03-12 15-10-03](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/d/5/d54df2ee7f480fc2ec23b98074364e873cb6e6a8.png)

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [12. März 2022 um 17:55 UTC](https://forum.shopware.com/t/failure-during-installation/93409/2 "2022-03-12T17:55:58Z")

</div>

You have to set your document root to the public folder.

> **[Shopware 6 - First Steps - Installation](https://docs.shopware.com/en/shopware-6-en/first-steps/installing-shopware-6)**
>
> These instructions will explain what you need to consider before installing Shopware 6 and guide you through the installation process by using the installer.

---

<div class="post-metadata">

**Author:** ![nobanker](https://avatars.discourse-cdn.com/v4/letter/n/71e660/32.png) [@nobanker](https://forum.shopware.com/u/nobanker)\
**Post date:** [13. März 2022 um 08:33 UTC](https://forum.shopware.com/t/failure-during-installation/93409/3 "2022-03-13T08:33:53Z")

</div>

now when i hit localhost, i go to localhost/index.php  
and get a message

# Oops! An Error Occurred

## The server returned a „500 Internal Server Error“.

Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [13. März 2022 um 09:20 UTC](https://forum.shopware.com/t/failure-during-installation/93409/4 "2022-03-13T09:20:06Z")

</div>

There is an .env file where you can find a var with the value „prod“. Change it ton“dev“ and you are in the development mode and you will get a Symfony error note, with a lot of information.

---

<div class="post-metadata">

**Author:** ![nobanker](https://avatars.discourse-cdn.com/v4/letter/n/71e660/32.png) [@nobanker](https://forum.shopware.com/u/nobanker)\
**Post date:** [13. März 2022 um 09:49 UTC](https://forum.shopware.com/t/failure-during-installation/93409/5 "2022-03-13T09:49:34Z")

</div>

where is this .env file ?

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [13. März 2022 um 10:18 UTC](https://forum.shopware.com/t/failure-during-installation/93409/6 "2022-03-13T10:18:15Z")

</div>

Sorry, I forgot to mention it. It is in the main directory /

---

<div class="post-metadata">

**Author:** ![nobanker](https://avatars.discourse-cdn.com/v4/letter/n/71e660/32.png) [@nobanker](https://forum.shopware.com/u/nobanker)\
**Post date:** [13. März 2022 um 10:28 UTC](https://forum.shopware.com/t/failure-during-installation/93409/7 "2022-03-13T10:28:06Z")

</div>

i get

 ![Screenshot from 2022-03-13 12-27-29](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/c/5/c54569d03e766a9371876a9aa6919f41ab73c109.png)

---

<div class="post-metadata">

**Author:** ![nobanker](https://avatars.discourse-cdn.com/v4/letter/n/71e660/32.png) [@nobanker](https://forum.shopware.com/u/nobanker)\
**Post date:** [13. März 2022 um 11:20 UTC](https://forum.shopware.com/t/failure-during-installation/93409/8 "2022-03-13T11:20:36Z")

</div>

i fixed it with re-install but still get other errors

---

<div class="post-metadata">

**Author:** ![nobanker](https://avatars.discourse-cdn.com/v4/letter/n/71e660/32.png) [@nobanker](https://forum.shopware.com/u/nobanker)\
**Post date:** [13. März 2022 um 11:44 UTC](https://forum.shopware.com/t/failure-during-installation/93409/9 "2022-03-13T11:44:37Z")

</div>

now i am stuck here

 ![Screenshot from 2022-03-13 13-44-03](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/5/f/5f11a13d2ddb8d48336786af103cde505b7f7e22.png)

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [13. März 2022 um 12:03 UTC](https://forum.shopware.com/t/failure-during-installation/93409/10 "2022-03-13T12:03:45Z")

</div>

You cannot register any domain. You can only register the domain your shop is running at. And do not try to register localhost. It must be a valid top level domain.

But you can skip the registration part if you do not need access to the shopware store.

---

<div class="post-metadata">

**Author:** ![nobanker](https://avatars.discourse-cdn.com/v4/letter/n/71e660/32.png) [@nobanker](https://forum.shopware.com/u/nobanker)\
**Post date:** [13. März 2022 um 12:06 UTC](https://forum.shopware.com/t/failure-during-installation/93409/11 "2022-03-13T12:06:00Z")

</div>

> [@Max\_Shop](#):
>
> you

how can i skip this step ? i tried to put a valid domain but no luck

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [13. März 2022 um 12:06 UTC](https://forum.shopware.com/t/failure-during-installation/93409/12 "2022-03-13T12:06:52Z")

</div>

Disable „Create a new shop domain“ and skip that step. Maybe go one step back and skip there, not sure.

---

<div class="post-metadata">

**Author:** ![nobanker](https://avatars.discourse-cdn.com/v4/letter/n/71e660/32.png) [@nobanker](https://forum.shopware.com/u/nobanker)\
**Post date:** [13. März 2022 um 12:15 UTC](https://forum.shopware.com/t/failure-during-installation/93409/13 "2022-03-13T12:15:32Z")

</div>

yes, step back and skip, solved it

but still do not get why i need to reserve one domain for the application to work  
you said i have to set document root to the public folder so this means one domain for the application

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [13. März 2022 um 12:32 UTC](https://forum.shopware.com/t/failure-during-installation/93409/14 "2022-03-13T12:32:48Z")

</div>

No it does not.

A domain points to a server (ip 4 or 6). The server Apache or nginx redirects the request to the document root.

DNS: domain.tld points to server x.y.z  
Server x.y.z.: request for domain.tld points to document root /public

---

<div class="post-metadata">

**Author:** ![nobanker](https://avatars.discourse-cdn.com/v4/letter/n/71e660/32.png) [@nobanker](https://forum.shopware.com/u/nobanker)\
**Post date:** [13. März 2022 um 14:40 UTC](https://forum.shopware.com/t/failure-during-installation/93409/15 "2022-03-13T14:40:14Z")

</div>

for instance  
when localhost is connected with var/www/sw6/public,  
i cannot use other applications installed at var/www

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [13. März 2022 um 15:00 UTC](https://forum.shopware.com/t/failure-during-installation/93409/16 "2022-03-13T15:00:51Z")

</div>

Of course, you can.

You should read some how-to articles about apache configuration.

---

<div class="post-metadata">

**Author:** ![nobanker](https://avatars.discourse-cdn.com/v4/letter/n/71e660/32.png) [@nobanker](https://forum.shopware.com/u/nobanker)\
**Post date:** [14. März 2022 um 09:28 UTC](https://forum.shopware.com/t/failure-during-installation/93409/17 "2022-03-14T09:28:50Z")

</div>

ok, i will try, thank you for the support
