Hello,
I am Running Self hosted Instance,
Wondering why adaptors Icons are not being rendered, I have tried to reinstall many times,
Checked the documentation but there is nothing mentioning rendering Icons
Kindly help
Hello,
I am Running Self hosted Instance,
Wondering why adaptors Icons are not being rendered, I have tried to reinstall many times,
Checked the documentation but there is nothing mentioning rendering Icons
Kindly help
Morning @stephencoduor ! Thanks for reaching out and flagging this issue. We’ve received your message and will look into it. Someone from our team will get back to you as soon as possible with more information.
Hey @stephencoduor , how are you running the lightning server? Are you using the prebuilt docker image or doing this locally?
In case you’re running this locally via mix phx.server
, then you can run the command: mix lightning.install_adaptor_icons
Thanks @midigofrank and @MartaSol for the quick response ,
I am running it on dev server Online. I am using the docker compose file which seems to be referencing Docker-dev file. Dockerfile-dev
On line 62 on Dockerfile -dev I see
RUN mix lightning.install_adaptor_icons
But for some reason even after images build successfully the icons dont render,
Sorry if this is a silly suggestion, but have you seen the running local guide?
Line 83 looks good: lightning/RUNNINGLOCAL.md at main · OpenFn/lightning · GitHub
(Same guidance as @midigofrank ?)
Hmm, I see.
The Dockerfile-dev
binds the volume ./priv/static:/app/priv/static
. From the current structure of the file, those icons are ONLY set during docker build
, therefore if the directory was tampered with mistakenly then it could result to the icons not loading.
I would advice that you use the prebuilt images instead: https://hub.docker.com/r/openfn/lightning
Thanks @taylordowns2000 , This is the info I was looking for