Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

lucaspace's avatar

Error 500 without logs in production only in Vue.js components

Hello! I'm looking for help with a problem that is driving me crazy. My application is running on elasticbeanstalk. The application is correctly giving 2 years on prod (like it runs locally). However, something happened in the last few nights ( I have no idea what ) that breaks my application request coming from vuejs components. There are no errors in laravel logs. And the error returned from the application to the front-end is: error 500. When this happens I need to restart the server (without doing any kind of deploy) and everything goes back to normal. I can't even reproduce the error locally to test. I have to wait a random day that the application will crash and do the tests before it influences users.

Has anyone gone through a similar problem? Do you know where I can get more information about what's going on? Any clues?

The only suspicion I have is a command running at night: composer install. Apparently the command only returns two warnings: warnings

In theory, this shouldn't affect the application at all. But I don't have any more ideas. Could some angel help me save my job? Any idea or theory is welcome! Thanks

0 likes
0 replies

Please or to participate in this conversation.