Created attachment 164324 [details] rpm spec I try to build libreoffice online 7.0.0.2 on openSUSE Tumbleweed. The Web Services Daemon works fine. But css and js resources can not be loaded, they are all in Invalid URI. The terminal reports me many Invalid URI requests like this: kit-08144-07256 2020-08-15 02:56:42.585376 [ kit_spare_002 ] WRN Linking/copying files from /usr/lib64/libreoffice to /var/lib/libreoffice-online/child-roots/ldNyM1hbV3jlAULp/lo/ is taking too much time. Enabling verbose link/copy logging.| kit/Kit.cpp:264 wsd-07254-08141 2020-08-15 02:56:56.023990 [ websrv_poll ] WRN FileServerRequestHandler: File not found: Invalid URI request: [/loleaflet/7.0.0/bundle.css].| wsd/FileServer.cpp:487 wsd-07254-08141 2020-08-15 02:56:56.544312 [ websrv_poll ] WRN FileServerRequestHandler: File not found: Invalid URI request: [/loleaflet/7.0.0/branding.js].| wsd/FileServer.cpp:487 wsd-07254-08141 2020-08-15 02:56:56.728547 [ websrv_poll ] WRN FileServerRequestHandler: File not found: Invalid URI request: [/loleaflet/7.0.0/branding.css].| wsd/FileServer.cpp:487 wsd-07254-08141 2020-08-15 02:56:56.791324 [ websrv_poll ] WRN FileServerRequestHandler: File not found: Invalid URI request: [/loleaflet/7.0.0/branding.js].| wsd/FileServer.cpp:487 wsd-07254-08141 2020-08-15 02:56:56.798298 [ websrv_poll ] WRN FileServerRequestHandler: File not found: Invalid URI request: [/loleaflet/7.0.0/device-desktop.css].| wsd/FileServer.cpp:487 wsd-07254-08141 2020-08-15 02:56:56.802575 [ websrv_poll ] WRN FileServerRequestHandler: File not found: Invalid URI request: [/loleaflet/7.0.0/branding-desktop.css].| wsd/FileServer.cpp:487 wsd-07254-08141 2020-08-15 02:56:56.870321 [ websrv_poll ] WRN FileServerRequestHandler: File not found: Invalid URI request: [/loleaflet/7.0.0/bundle.js].| wsd/FileServer.cpp:487
Created attachment 164325 [details] loolwsd.xml
Created attachment 164865 [details] fix-version-hash.patch This patch can workaround this issue.
I know what the reason is. The source package does not provide git hash which downloads from https://github.com/LibreOffice/online/tags. "git_hash=`cd ${srcdir} && ( cat dist_git_hash 2> /dev/null || git log -1 --format=%h 2> /dev/null )`" is invalid in the package. I think you can provide a better way to get the git hash.