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

500 Error on /admin/ after installing with docker #1068

Closed
continue47 opened this issue Apr 4, 2024 · 2 comments
Closed

500 Error on /admin/ after installing with docker #1068

continue47 opened this issue Apr 4, 2024 · 2 comments

Comments

@continue47
Copy link

Hello,

I installed microweber with docker, accessed the IP and filled in the required detailed for installation. After that it redirected me to /admin/ which returned a 500 error.

I turned on debugging in config/app.php and this is the error:

Vite manifest not found at: /var/www/html/public/build/manifest.json (View: /var/www/html/src/MicroweberPackages/Admin/resources/views/layouts/partials/header.blade.php) (View: /var/www/html/src/MicroweberPackages/Admin/resources/views/layouts/partials/header.blade.php) (View: /var/www/html/src/MicroweberPackages/Admin/resources/views/layouts/partials/header.blade.php)

How can I fix this?

Thank you.

@peter-mw
Copy link
Member

peter-mw commented Apr 4, 2024

did you try with docker-compose up or with the regular docker image ?

@continue47
Copy link
Author

did you try with docker-compose up or with the regular docker image ?

docker compose up -d

After cloning the repo.

I managed to fix it by entering the container (docker exec -it container_name bash) and doing npm install && npm run build

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

No branches or pull requests

2 participants