# Localhost installation error

**URL:** <https://forum.shopware.com/t/localhost-installation-error/93827>\
**Category:** Shopware 6 (English)\
**Created:** [5. April 2022 um 17:40 UTC](https://forum.shopware.com/t/localhost-installation-error/93827 "2022-04-05T17:40:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![levent.93](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/levent.93/32/16698_2.png) [@levent.93](https://forum.shopware.com/u/levent.93)\
**Post date:** [5. April 2022 um 17:40 UTC](https://forum.shopware.com/t/localhost-installation-error/93827/1 "2022-04-05T17:40:52Z")

</div>

when database sectioni am getting  
Failed to generate key  
Error can some1 help?

---

<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:** [6. April 2022 um 10:52 UTC](https://forum.shopware.com/t/localhost-installation-error/93827/2 "2022-04-06T10:52:59Z")

</div>

Please post the complete error log.

---

<div class="post-metadata">

**Author:** ![levent.93](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/levent.93/32/16698_2.png) [@levent.93](https://forum.shopware.com/u/levent.93)\
**Post date:** [6. April 2022 um 14:51 UTC](https://forum.shopware.com/t/localhost-installation-error/93827/3 "2022-04-06T14:51:51Z")

</div>

i fix it i install linux server and setup again it fixed but i have new problem  
[http://sunucu.space/public/](http://sunucu.space/public/)  
site looking like this now :S

---

<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:** [6. April 2022 um 15:06 UTC](https://forum.shopware.com/t/localhost-installation-error/93827/4 "2022-04-06T15:06:19Z")

</div>

Your domain must point to the public folder, not to the installation folder.

---

<div class="post-metadata">

**Author:** ![levent.93](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/levent.93/32/16698_2.png) [@levent.93](https://forum.shopware.com/u/levent.93)\
**Post date:** [6. April 2022 um 15:15 UTC](https://forum.shopware.com/t/localhost-installation-error/93827/5 "2022-04-06T15:15:45Z")

</div>

i did, same problem. after installation i cant reach /admin page its give 404  
maybe for nginx i am trying apache now
