The POST method is not supported for route login. Supported methods: GET, HEAD.
Hi guys!
I am deploying a Laravel FilamanetPHP app in my VPS and after I login in show me this error.
What should I do? Please any solution?
Solution:Jump to solution
The problem with me was with the VPS itself it wasn't configure right after I reinstalled from the beginning now is working ok. Please check if your VPS is installed correctly.
15 Replies
Same error after deploy. Did you solve this?
No! I don't know why because the route on Filament are not in routes file are in vendor and I don't know why
whats your filament version?
"filament/filament": "^3.2",
Any update regarding this issue?
Did you solve this?
same error using v3.2.28, only happen after deploy, not in local
Did you clear all route cache?
I'm currently experiencing this problem after I updated to the latest version of Filament today. Have tried route:cache & route:clear, still no positive outcome.
Has anyone been able to find a solution to this?
BTW, this only happens in production
@Abdulla Fahem Did you find a solution?
Solution
The problem with me was with the VPS itself it wasn't configure right after I reinstalled from the beginning now is working ok. Please check if your VPS is installed correctly.
I'm actually using DO via Laravel Forge for deployment. I believe Forge handles all that, and this isn't actually my first deployment
I use hostinger VPS KVM2 Ubuntu 22.04 LTS and it was the first time in hostinger to deploy an app. As usual via Laravel Forge should work I don't know.
Same error after deploy. Did you solve this?
Who has a solution to this problem?
any solution ?
It was my Nginx configuration that was causing the issue. You may start by looking into that first
Is there a fix for this? I upgraded to Filament v3.2.44 and now I cannot log in anymore to the admin panel...
Edit: I fixed this for my installation by re-publishing the Livewire assets . I also added the following to composer.json in the scripts/post-autoload-dump section:-
@php artisan vendor:publish --force --tag=livewire:assets --ansi`