cp6 / my-idlers

Web app for displaying, organizing and storing information about servers (VPS), shared hosting, reseller hosting, domains and more.
https://demo.myidlers.com
MIT License
225 stars 29 forks source link

Error with cached routes #102

Open Gamerboy59 opened 12 months ago

Gamerboy59 commented 12 months ago

After I cached routes with php artisan route:cache I'm getting a 500 error for HEAD not supported for /.. I suppose something is wrong or outdated at the routes config in the routes/* folder but I couldn't find it at a glance. Only the core / root path appears to be effected.

cp6 commented 12 months ago

Shared hosting environment?

Gamerboy59 commented 12 months ago

Yes, Plesk. Using this webapp without pre-caching, so all requests are handled by php, it's working fine,

cp6 commented 11 months ago

Ok I cant really find any answers for this currently, was it working previously in this environment?

Gamerboy59 commented 11 months ago

No, this error appears for a while already. I couldn't find an answer but it's likely this is related to #57. I tested another Laravel app (not my-idlers) and it's working fine when caching routes hence I guess it's something with this app and not my webserver. Additionally, I was just testing it on my other cPanel host but same error. It works as long as the routes aren't cached so I removed this command from my git provisioneer plugin.

cp6 commented 11 months ago

Are you able to please show the output of php artisan route:list ?