You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
404 on /js/ resources when using APP_BASE (passbolt:latest-ce-non-root on docker-compose)聽#175
The page itself seems to load, but as all of the javascript is broken, it does not show anything. Here is the output of curl against the page (ignoring the self-signed certificate)
@johanneskastl I think the issue is that APP_BASE is for the subdirectory on the server. Try leaving APP_BASE as default and setting APP_FULL_BASE_URL to the full url with path. If you need further assistance and determine this is not a bug, we can help in the forum.
Try leaving APP_BASE as default and setting APP_FULL_BASE_URL to the full url with path.
That does not work either. I still get 404s on the /js/ resources.
I can see that the error messages and the html code now contains links to the URL with the /passbolt URL, i.e. those are built from the APP_FULL_BASE_URL.
It seems that the APP_FULL_BASE_URL is also being used to reference the JS resources, i.e. it contains the /passbolt subdirectory:
@johanneskastl Your original post settings were working as they should although it was not as you expected. Compared to default settings which I'm assuming did not meet what you needed, what are you hoping to do?
Activity
johanneskastl commentedon Jul 27, 2022
Just tested again using the rootfull containers (passbolt/passbolt:latest-ce, 7f2c57bf190a) and I see the same behaviour.
garrettboone commentedon Jul 27, 2022
@johanneskastl I think the issue is that APP_BASE is for the subdirectory on the server. Try leaving APP_BASE as default and setting APP_FULL_BASE_URL to the full url with path. If you need further assistance and determine this is not a bug, we can help in the forum.
johanneskastl commentedon Jul 27, 2022
That does not work either. I still get 404s on the /js/ resources.
I can see that the error messages and the html code now contains links to the URL with the
/passboltURL, i.e. those are built from the APP_FULL_BASE_URL.It seems that the APP_FULL_BASE_URL is also being used to reference the JS resources, i.e. it contains the
/passboltsubdirectory:garrettboone commentedon Jul 27, 2022
@johanneskastl Your original post settings were working as they should although it was not as you expected. Compared to default settings which I'm assuming did not meet what you needed, what are you hoping to do?
garrettboone commentedon Jul 27, 2022
Also see here for full settings that can help with less common situations https://github.com/passbolt/passbolt_api/blob/master/config/app.default.php
dlen commentedon Nov 16, 2022
Thanks a lot for your report!
This should be fixed with the latest release of the debian package passbolt/passbolt_api@e46f868 . Reopen if necessary.