Routes not showing in Navigation

Hey - Beginner issue here. Having a problem with auth routes/navigation not filling out. When I run locally, I can see all the routes in the navigation bar and navigate the site fine, but when deployed it's 403 errors. After I deploy it (to Hetzner, using sail and mysql in docker), I'm unable to see almost all routes. It works to log in, so I know database connection is fine, but after logging in I don't see the same routes. I'm unsure how to debug this, the Laravel log doesn't seem to have anything identifiable, and as mentioned I can log in so I know the database connection is fine, just seems that the Resources aren't loading the navigation items? Anyone have any tips on what I can do to work out my issue it'd be appreciated
Solution:
Solved it - finaly worked it out, a migration had failed in production db so a table was missing some permission data
Jump to solution
2 Replies
Pekempy
PekempyOP8mo ago
production vs local, there's a lot missing. I've checked storage/logs/laravel.log but doesn't seem to be any error message in there at all unfortunately The two that are appearing are simple
NavigationItem::Make('My profile')
NavigationItem::Make('My profile')
The ones which aren't are Resources which is why I'm suspecting it of not loading the resources
No description
No description
Solution
Pekempy
Pekempy8mo ago
Solved it - finaly worked it out, a migration had failed in production db so a table was missing some permission data
Want results from more Discord servers?
Add your server