Assets :
- FAIL (code 404) https://sub.domain.tld/dist/css/common.c31173ad.css
- https://sub.domain.tld/assets/i18n/fr_FR.js
Errors :
- Asset https://sub.domain.tld/dist/css/common.c31173ad.css (automatically derived from the page's html) answered with code 404, expected 200? Effective url: https://sub.domain.tld/dist/css/common.c31173ad.css
I can find these files in the right location, but i am not familiar with uwsgi or may be something that I have missed.
I followed the official guide with some recommandations from indico devs
It’s been days of testing till I got it working but I don’t know how to fix this last issue.
Thanks everyone
Is the test actually querying assets where they are supposed to be in your local deployment? It’s been reported ( anecdotically) that the test forgets to append ‘path’ in front of the requests.
In your local setup, when inspecting ‘Network’ tab while loading the page, are all of the requests ending in (eventual) HTTP/200?
Can you tell what’s the full url for common.c31173ad.css in that network tab of yours ? is it https://sub.domain.tld/dist/css/common.c31173ad.css ? (That ‘dist/css’ thing sounds funky to me, could be a CI bug)
I really don’t know. But may be the app renders content differently depending on user agent. I can’t figure out why on browser there are no errors and the ci reports two files not found
I got help from one of the devs of indico.
It turns out that the latest version of indico requires python 3.12.2 at least. Using the default python version lead to an older and unsupported version of indico.
So I added a python_install function to the package for getting an alternate version of python on the server.
He also gave me some recommendations for the install script related to indico deployment.
Now the app installs and works correctly. I am waiting for the Ci tests to finish.
Thanks a lot for your support.