Moving the code to another server hides resources
As the title suggests, I tried deploying my Filament code to a "production" server and I'm suddenly missing resources in the menu.
Same code, same DB (even dumped it instead of migrations to make sure), no roles or permissions or anything like that that would hide them. Also kidna no pattern, sometimes it's resources, a couple of custom pages, no overlapping logic that would make sense.
Any points as to the obvious thing I"m missing? I might be a bit sleep deprived π
3 Replies
Did you restart phpFPM? If you have opcache it won't register the changes without a flush i.e. restart
no cache no nothing, also phpfpm would under no circumstance explain this weird behavior lol
this is something stupid that I'm missing
so phpFrm with opcache would explain this scenario, since the changes wouldn't look like they have applied in certain scenarios dependng on the cache. But as you said no OP Cache... then I do not know.