ManageIQ all files return 404 Not found

49 Views Asked by At

I cloned the repo https://github.com/ManageIQ/manageiq/ and used the Dockerfile to build the docker image. But when I start the container none of the files are served.

It seems the files required are under public/ directory but I'm not sure where it should be copied manually. I tried copying all files to app/assets/ but still I get the same error.

Any idea where the public/* files should be copied to?

This is how the default login page looks like

enter image description here

And there's a lot of errors on the console.

enter image description here

config/application.rb says the following and I've tried that already as stated above.

# TODO: Move to asset pipeline enabled by moving assets from public to app/assets
config.asset_path = "%s"
1

There are 1 best solutions below

0
On

The monolithic docker image is not built directly from source as is normally expected from a Dockerfile. Instead, it is built on top of the podified (kubernetes) image for the UI worker, with some bootstrapping on top (ref). The podified images use RPMs that are built nightly from the various source repositories, which includes packing the UI code that is found in /public/packs.

If the image build is failing then either there is something wrong with the UI worker image or some services are not starting. You best bet is to open an issue at https://github.com/ManageIQ/manageiq/issues .