Bug#1061790: gerbera: Missing files JS files prevent UI from working
Package: gerbera
Version: 2.2.0+dfsg-1+b3
Followup-For: Bug #1061790
I have found a workround for this problem. The following hack makes gerbera work again for me.
As root:
cd /usr/share/gerbera/web/vendor/jquery
ln -s jquery-3.6.0.min.js jquery-3.7.1.min.js
ln -s jquery-3.6.0.min.map jquery-3.7.1.min.map
cd /usr/share/gerbera/web/vendor
ln -s bootstrap bootstrap-4.6.2
If it doesn't work for you, look in the gerbera log for lines which say things like:
2024-11-19 22:50:49.252 error: [server.cc:667] operator()(): Exception: [./src/util/grb_fs.cc:166] FILE* GrbFile::open(const char*, bool) Error: Could not open /usr/share/gerbera/web/vendor/bootstrap-4.6.2/css/bootstrap.min.css: No such file or directory
Then work out which file or directory is present on *your* system that might be the missing file, and
create a softlink to it. Of course, there is no guarantee that making an old file pretend to be
a newer file will work properly but it seems to be working for me.
I have made no attempt to analyse how or why my system has different files in /usr/share/gerbera/web/vendor.
I will note that my version of gerbera has been updated over *many* years (using the debian packages, installed
and upgraded using apt) so maybe the upgrade process is buggy on older installations.
So, not a solution, but maybe a workround for someone needing this to work again.
Graham
Reply to: