error 500 in some js and css after update to v3
I upgraded to v3, but some styles and js are not loading (error 500) do you know why it is? som epics about the error attached.
Thanks for your help!!
17 Replies
Did you publish the assets?
artisan filament:assets
?Thanks Den for your quick answer!! yes, same error. Here my artisan about:
Check the folder
public/css
and public/js
for the filesDid you use the build command after upgrade?
the files are there ~
what is the build command?
Then check why your webserver throws 500 error for files that are there.
Is this the actual data on your production server?
yes, im connected via ssh
Sorry, I faced the same issue, after made composer update
then I ran sail artisan filament:upgrade
after that I ran sail build
using sail...
that fixed the issue
Tried visiting your site but it just throws an error: https://assets.capitalfriend.es/
I have it in the admin route, https://assets.capitalfriend.es/public/admin
I've never used the principal page yet
I have probably skipped some step when updating to v3, I will try a little more, otherwise I will restore everything to version 2 again π
thanks a lot for your help!!
Your URL should never contain
/public
. Your webserver has a wrong setupOkie, I've removed the /public. Now its the same but in https://assets.capitalfriend.es/admin
Now it is a 404 error, and some livewire cautions
The file structure is the same?
yep, its the same route, the files are still there in the indicated folders
So the files are still in
public/css/...
And your servers DocumentRoot points to /public
now?nope, it was pointing to httpdocs. I changed on my server, now its loading the views. Now I+ll continue debugging. Thanks a lot Dennis, you are the best πͺ