Resources are not loaded when using Octane #6458
Replies: 4 comments 5 replies
-
Octane only loads the service provider once in Octane while Nova added resources within Nova::serving() event so it only loaded when serving Nova requests. |
Beta Was this translation helpful? Give feedback.
-
@VincentBean @crynobone I'm commenting here because today I found myself into the same scenario. |
Beta Was this translation helpful? Give feedback.
-
@crynobone So in other words, this will not be supported? @jmverges Thank you! We have chosen to add an additional nginx rule so that Nova is handled via FPM:
|
Beta Was this translation helpful? Give feedback.
-
@crynobone would be the same for Tool routes? I have the code like this and should be inside serving?
|
Beta Was this translation helpful? Give feedback.
-
Description:
When using Octane, resources from packages are not loaded. They are not added to the menu and give a 404. When checking the contents of
Nova::$resources
it does not add them. Resources that exist inapp/Nova
do load via theresourcesIn
.Without Octane they do load and appear in the menu.
I've tested this on MacOS using Valet and on Ubuntu.
I have found one other mention on this issue by @rasmuscnielsen here: #6294 (comment)
But he never followed up with an issue.
Detailed steps to reproduce the issue on a fresh Nova installation:
I've setup a repo with these two packages, which both register the Nova resource with
Nova::resource
in the service provider:Beta Was this translation helpful? Give feedback.
All reactions