-
Notifications
You must be signed in to change notification settings - Fork 362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rebranding issues when trying to change logos using environment variables #432
Comments
Hrm - could you try changing the mount path as follows:
Assuming that you are using one of the Docker containers, the command in the Dockerfile Try changing that path and relaunch the container. On Docker container boot, |
I changed the mounting path as suggested, but unfortunately nothing changed. I'm currently using this image |
Give me a bit and I'll test this out today. |
Ok my bad that I missed this. Adding custom logos has to be done outside of the asset pack and instead directly in Mount your images to I just tested this locally with this config (and result): |
I've followed your instructions and the logos seem to be working now. Unfortunately, I have noticed that the brand symbols do not work in the same way as the logos.
Any idea why it behaves this way? |
This is a bug - I'll put in a fix very soon. Once it's fixed, it'll work the same way as the main logo. |
Ok, thank you |
Could you try your changes with the new docker image/tag: Let me know how it goes. That image should fix the icon branding. |
Works perfectly, no errors and the icon is getting displayed. |
Excellent. Thanks for pointing out the issue(s). I'll point the |
Hello, i am trying to use the new rebranding feature, but I'm currently unable to proceed.
I tried specifying the brand logos and brand icons via environment variables in the docker-compose file, but the program won't recognize them.
Following is a partial view of the docker-compose.yml I'm using.
The image files on my host are located under
/opt/pwpush/app/img/light
and/opt/pwpush/app/img/dark
.I also tried giving the environment variable the absolute path to be on the safe side, but that didn't work.
I've come to notice that the log file keeps writing the following error, which seems to me like the program isn't aware of any new branding files.
relative Path:
ActionController::RoutingError (No route matches [GET] "/media/img/test/light/Logo_LT_192x192.png"):
absolute Path:
ActionController::RoutingError (No route matches [GET] "/opt/PasswordPusher/public/packs/media/img/test/light/Logo_LT_192x192.png"):
In addition to that, i've seen that there is a manifest.js file under
public/packs/manifest.json
which seems to have some kind of resource mapping, but with no entry of the newly added image files.Lastly i tried using the documented method of http resources as the image path for the branding, which worked perfectly fine.
The text was updated successfully, but these errors were encountered: