Login issue after deploying

Hi, I deployed a website this week, and I can't login to the filament panel, I know there is a modification to make in the User model, I did it, I don't have a 403 error, it just do nothing.. With the host, I don't have a terminal to write command, so I can't do composer install, php artisan etc...., it's really boring but I had to upload all the file on the server using FTP, I manually add the symlink for livewire (with php symlink() method in a /foo route), which is loaded, did I miss something ? In an another host, that have a terminal, I was able to perform all the commands and the login works perfectly But I can't find what's missing, I don't remember the need to use a special command for filament when deploying If you want to try, check the console or anything, here is the url https://clairec-skinbeauty.fr/admin/login
25 Replies
DrByte
DrByte6mo ago
I think the command you're referring to is php artisan filament:assets ... which basically copies the assets from Filament's vendor directory into your app's public/js and public/css directories. You can do that on your local PC and then upload those directories to your server, and not have to run the command on the server.
Toufloux
Toufloux6mo ago
Hi, thx for your replied, unfortunately, I tried and it doesn't work
JJSanders
JJSanders6mo ago
Filament
Admin panel 403 in production by Dan Harrin - Tricks - Filament
Filament is a collection of tools for rapidly building beautiful TALL stack apps, designed for humans.
Toufloux
Toufloux6mo ago
No, I did this, the panel works on another host. I don't get any errors, it just don't log me in, without any messages
JJSanders
JJSanders6mo ago
Can you verify in your database that the user exists?
Toufloux
Toufloux6mo ago
No description
Toufloux
Toufloux6mo ago
Yes there is the user
Toufloux
Toufloux6mo ago
If I enter wrong entries in the log in, I'll get the error message
No description
Toufloux
Toufloux6mo ago
But in my case, there is no message, nothing, the page just reload like nothing happen
JJSanders
JJSanders6mo ago
Can it be that. you don't have any rights and therefore you're not allowed in? Or maybe check access logs double check the canAccessPanel function
Toufloux
Toufloux6mo ago
How can I verify that ? Like I said, the same code works on another host, I'm not sure it's a code problem, maybe more a file, dependency one
JJSanders
JJSanders6mo ago
ssh into your server and check if it looks as expected maybe?
Toufloux
Toufloux6mo ago
I don't have SSH access with the offer the customer took, so I can only use small amount of commands directly in php, in laravel, in a route Like
Route::get('/foo', function () {
return Artisan::call('cache:clear');
});
Route::get('/foo', function () {
return Artisan::call('cache:clear');
});
but the filament artisan commands don't work and return a 500 server error
JJSanders
JJSanders6mo ago
That sucks
Toufloux
Toufloux6mo ago
Yeah XD
JJSanders
JJSanders6mo ago
So error logs are also not available?
Toufloux
Toufloux6mo ago
For the login there is no error so no, for the commands there is an entry in the laravel log file in storage/logs that pretty much says "PRODUCTION errors, the commands "filament blabla" doesn't exist"
JJSanders
JJSanders6mo ago
Can it be that composer didn't run on production? I would Advise you to change the hosing to an environment you have control over
Toufloux
Toufloux6mo ago
Unfortunately, the client chose a first price hosting plane, the one with SSH access is a lot more expensive, show won't want to pay more for only one functionnality
ingmontoya
ingmontoya6mo ago
did you try enabling debug mode to see what's going on?
Toufloux
Toufloux6mo ago
Just tried, doesn't give me any info the page juste reload itself, without any error message
Toufloux
Toufloux6mo ago
I see 2 Livewire, so I don't think the issue's coming from a livewire installation
No description
ingmontoya
ingmontoya6mo ago
so when you make the login, nothing happens?
Toufloux
Toufloux6mo ago
Nop, it's loading some ms, then the page reload and the page is as clean as the first page load
Want results from more Discord servers?
Add your server
More Posts