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
Hello @SN-VFox! I'm Dosu, your friendly bot here to help you solve bugs, answer questions, and navigate your journey as a contributor. I'm ready to assist while you wait for a human maintainer. Let's tackle this together! 🚀
To resolve the issue of custom HTML/CSS overrides not reflecting changes in Stirling-PDF version 0.46.1, ensure the following steps are correctly implemented:
Java Properties: Confirm that the Java property -DCUSTOM_HTML_FILES=true is correctly set in your service configuration, as shown in your ExecStart command. This should enable the application to use custom HTML/CSS files.
Directory Structure: Verify that your custom files are placed in the correct directory. For static files like images, icons, CSS, fonts, or JavaScript, they should be located in /opt/Stirling-PDF/customFiles/static/. Your directory listing shows files are correctly placed here.
Caching and Server Restart: Ensure there are no caching issues. Sometimes, changes might not reflect due to cached versions of the files. Restart the Stirling-PDF service to ensure changes are applied.
Configuration Files: Check the /configs/custom_settings.yml file to ensure there are no conflicting settings that might override your custom configurations. This file allows you to input your own settings on top of Stirling-PDF's existing ones [1][2].
If these steps are correctly followed and the issue persists, consider checking the logs for any errors related to file access or permissions that might prevent the application from using the custom files.
Uh oh!
There was an error while loading. Please reload this page.
Installation Method
Local Installation
The Problem
https://docs.stirlingpdf.com/Advanced%20Configuration/UI%20Customisation#configuration-examples
No custom logo/favico etc... change when doing this on a jar run, according to the documentation.
Version of Stirling-PDF
0.46.1
Last Working Version of Stirling-PDF
No response
Page Where the Problem Occurred
No response
Docker Configuration
Relevant Log Output
Additional Information
[Unit]
Description=Stirling-PDF service
After=syslog.target network.target libreoffice-listener.service
Requires=libreoffice-listener.service
[Service]
SuccessExitStatus=143
Type=simple
User=root
Group=root
EnvironmentFile=/opt/Stirling-PDF/.env
WorkingDirectory=/opt/Stirling-PDF
ExecStart=/usr/bin/java
-DCUSTOM_HTML_FILES=true
-jar /opt/Stirling-PDF/Stirling-PDF.jar
ExecStop=/bin/kill -15 %n
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
root@Stirling-PDF:/opt/Stirling-PDF# ls -la /opt/Stirling-PDF/customFiles/static/
total 244
drwxr-xr-x 2 root root 4096 May 14 09:12 .
drwxr-xr-x 5 root root 4096 May 14 07:50 ..
-rw-r--r-- 1 root root 50571 May 14 07:42 favicon.ico
-rw-r--r-- 1 root root 50571 May 14 08:01 logo-dark.png
-rw-r--r-- 1 root root 50571 May 14 08:01 logo.png
-rw-r--r-- 1 root root 79119 May 14 08:09 stirling-icon.svg
No custom logo/favico etc... change when doing this on a jar run, according to the documentation.
Browsers Affected
No response
No Duplicate of the Issue
The text was updated successfully, but these errors were encountered: