Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Error 500 on homepage #6918

Open
2 of 3 tasks
davordragic opened this issue May 30, 2023 · 3 comments
Open
2 of 3 tasks

[Bug]: Error 500 on homepage #6918

davordragic opened this issue May 30, 2023 · 3 comments
Labels
bug Bug reports

Comments

@davordragic
Copy link

davordragic commented May 30, 2023

Describe the Bug

I successfully installed version 4.1.4 without any issues. However, when I tried installing version 4.2.0, I encountered an error stating "rmdir path/.env.example failed".

Even after successfully installing version 4.1.4, I encountered a 500 error when accessing the homepage. Unfortunately, no error message was displayed, making it difficult to identify the cause of the error. You can access the website at the following URL: http://vuetest.harvey.optiweb.si/.

Additionally, I noticed another unusual behavior that might be related to the Magento 2 configuration. When navigating back to the homepage, the URL appends "/default".

Furthermore, during the initialization process, there was an error related to the Magento URL. It claimed that "vuetest.harvey.optiweb.si" was invalid. I had to remove the ".si" from the URL, and the initialization process proceeded without any issues. Afterward, I fixed the URL in the .env file.

Current behavior

Error 500 without error message

Expected behavior

Status 200 and shown menu and other elements

Steps to reproduce

Install Magento 2.4.5
Install vue frontstore 4.1.4 with Magento 2

What version of Vue Storefront are you using?

4.1.4

What version of Node.js are you using?

v16.20.0

What browser (and version) are you using?

Chrome, Safari, Firefox

What operating system (and version) are you using?

macos

Relevant log output

GET http://vuetest.harvey.optiweb.si/ 500 (Internal Server Error)

This is only error I can find.

Able to fix / change the documentation?

  • Yes
  • No

Code of Conduct

  • I agree to follow this project's Code of Conduct
@davordragic davordragic added the bug Bug reports label May 30, 2023
@rohrig
Copy link
Contributor

rohrig commented May 30, 2023

Hi @davordragic 👋 ,
can you please check out this installation guide ? This should get you going in the right direction. If you need additional help, feel free to ask 😄

@davordragic
Copy link
Author

wait a second... It started working when DNS A record was resolved ... makes sense

@davordragic
Copy link
Author

Only 1 issue I still have.
Why does url append /default? This is probably store name (Magento 2 is clean install with demo content).
How to hide that "/default"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug reports
Projects
None yet
Development

No branches or pull requests

2 participants