I am on openHAB 4.2.0.M3 and have noticed some strange behaviour since upgrading from 4.1.x:
My sitemaps are shown as expected - all colours, buttons, icons etc. are shown as they should.
However;
I also use xvfb-run wkhtmltoimage with an exec command every ½ hour, grabbing a snapshot of my openhab sitemap - and uploading it using FTP to a webpage.
But since upgrading I have noticed, that no icons (and no text color) is included in the grabbed picture. Also, when executing the relevant xvfb-run whtmltoimage command in the linux shell, there are error messages related to icons. Can anyone from this guess how I can fix this ?
martin@openhabian:~$ sudo xvfb-run wkhtmltoimage --disable-javascript --width 470 http://192.168.10.12:8080/basicui/app /etc/openhab/vollerupstrand-mobile.png
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Loading page (1/2)
Error: Failed to load http://192.168.10.12:8080/icon/image?iconset=classic&format=svg&anyFormat=true, with network status code 203 and http status code 404 - Error transferring http://192.168.10.12:8080/icon/image?iconset=classic&format=svg&anyFormat=true - server replied: Not Found
Error: Failed to load http://192.168.10.12:8080/icon/number?iconset=classic&format=svg&anyFormat=true&state=3.0345599875, with network status code 203 and http status code 404 - Error transferring http://192.168.10.12:8080/icon/number?iconset=classic&format=svg&anyFormat=true&state=3.0345599875 - server replied: Not Found
Rendering (2/2)
Done
Exit with code 1 due to network error: ContentNotFoundError