Bug#1061790: gerbera: Missing files JS files prevent UI from working

2024-02-10 Thread Graham Cobb
Package: gerbera
Version: 2.0.0+dfsg-1
Followup-For: Bug #1061790

Dear Maintainer,

I use Gerbera rarely and have been running an old version.
I upgraded to 2.0.0+dfsg-1 and now see the same problem.

Note: in my case, I do not run Gerbera from systemd - I just invoke
it from my user terminal session.

Please let me know if I can provide any further information.

Graham

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-5-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_IE.utf8, LC_CTYPE=en_IE.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_IE.utf8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gerbera depends on:
ii  adduser 3.137
ii  fonts-font-awesome  5.0.10+really4.7.0~dfsg-4.1
ii  fonts-lato  2.015-1
ii  init-system-helpers 1.66
ii  libavcodec607:6.1.1-1
ii  libavformat60   7:6.1.1-1
ii  libavutil58 7:6.1.1-1
ii  libc6   2.37-13
ii  libcurl3-gnutls 8.5.0-2
ii  libduktape207   2.7.0-2+b1
ii  libebml51.4.5-1
ii  libexif12   0.6.24-1+b1
ii  libexiv2-27 0.27.6-1+b1
ii  libffmpegthumbnailer4v5 2.2.2+git20220218+dfsg-2+b1
ii  libfmt9 9.1.0+ds1-2
ii  libgcc-s1   13.2.0-9
ii  libixml11   1:1.14.18-1
ii  libjs-bootstrap44.6.1+dfsg1-4
ii  libjs-jquery3.6.1+dfsg+~3.5.14-1
ii  libjs-jquery-ui 1.13.2+dfsg-1
ii  libjs-popper.js 1.16.1+ds-6
ii  libjs-prototype 1.7.3-1
ii  libmagic1   1:5.45-2+b1
ii  libmariadb3 1:10.11.6-1
ii  libmatroska71.7.1-1
ii  libpugixml1v5   1.14-0.1
ii  libspdlog1.12 [libspdlog1.12-fmt9]  1:1.12.0+ds-2
ii  libsqlite3-03.44.2-1
ii  libstdc++6  13.2.0-9
ii  libtag1v5   1.13.1-1
ii  libupnp17   1:1.14.18-1
ii  libuuid12.39.3-6
ii  node-js-cookie  3.0.1+~3.0.0-3

gerbera recommends no packages.

Versions of packages gerbera suggests:
ii  firefox-esr [www-browser]  115.6.0esr-1
pn  gerbera-doc
ii  konqueror [www-browser]4:22.12.3-2
ii  links2 [www-browser]   2.29-1+b1
ii  lynx [www-browser] 2.9.0dev.12-1
ii  w3m [www-browser]  0.5.3+git20230121-2+b2

-- Configuration Files:
/etc/gerbera/config.xml changed:

http://mediatomb.cc/config/2; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://mediatomb.cc/config/2 
http://mediatomb.cc/config/2.xsd;>
  
  

  

  

gerbera
uuid:69d46ab1-48be-4104-a6c8-50a09af2561a
/var/lib/gerbera
/usr/share/gerbera/web

1800

  
gerbera.db
  
  
localhost
gerbera
gerbera
  







  
128
5
yes
no
  
  
*

  video

  

  
  

  /usr/share/gerbera/js/common.js
  /usr/share/gerbera/js/playlists.js
  
/usr/share/gerbera/js/import.js
  


  























  
  




  
  
















  


  





  

  
  

  
  
  
  


  
audio/L16
no
yes
no


  
  
video/mpeg
yes
yes
yes


  

  



-- debconf-show failed



Bug#1061790: gerbera: Missing files JS files prevent UI from working

2024-01-29 Thread Wesley Schwengle
Package: gerbera
Version: 2.0.0+dfsg-1
Severity: important
X-Debbugs-Cc: wes...@schwengle.net

Dear Maintainer,

I was trying to see how gerbera does m3u playlist support so I installed it
from the repo and tried to access the web UI. What happens is that you only get
to see a login button. Once you click that you get an 404 Not Found error on
http://my.ip:49152/?

When you open http://my.ip:49152 with a developer tool the following files seem
to be missing:

* vendor/tether/tether.min.js
* vendor/md5.min.js
* vendor/font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0
* vendor/font-awesome/fonts/fontawesome-webfont.woff?v=4.7.0
* vendor/font-awesome/fonts/fontawesome-webfont.ttf?v=4.7.0

I compiled Gerbera from source in $HOME/.local/gerbera and with the same
configuration (abeit a minor change to reflect the change of webroot) the app
works as intented: When enabling the UI and the account you get the
user/password textblocks and you can login.

It seems that the build is not placing the files where one expects them to be.



-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'experimental'), (500, 'testing'), (10, 
'stable-updates'), (10, 'stable-security'), (10, 'oldstable-security'), (10, 
'oldoldstable'), (10, 'stable'), (10, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.6.11-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gerbera depends on:
ii  adduser 3.137
ii  fonts-font-awesome  5.0.10+really4.7.0~dfsg-4.1
ii  fonts-lato  2.015-1
ii  init-system-helpers 1.66
ii  libavcodec-extra60 [libavcodec60]   7:6.1.1-1
ii  libavformat60   7:6.1.1-1
ii  libavutil58 7:6.1.1-1
ii  libc6   2.37-14
ii  libcurl3-gnutls 8.5.0-2
ii  libduktape207   2.7.0-2+b1
ii  libebml51.4.5-1
ii  libexif12   0.6.24-1+b1
ii  libexiv2-27 0.27.6-1+b1
ii  libffmpegthumbnailer4v5 2.2.2+git20220218+dfsg-2+b1
ii  libfmt9 9.1.0+ds1-2
ii  libgcc-s1   14-20240127-1
ii  libixml11   1:1.14.18-1
ii  libjs-bootstrap44.6.1+dfsg1-4
ii  libjs-jquery3.6.1+dfsg+~3.5.14-1
ii  libjs-jquery-ui 1.13.2+dfsg-1
ii  libjs-popper.js 1.16.1+ds-6
ii  libjs-prototype 1.7.3-1
ii  libmagic1   1:5.45-2+b1
ii  libmariadb3 1:10.11.6-2
ii  libmatroska71.7.1-1
ii  libpugixml1v5   1.14-0.1
ii  libspdlog1.12 [libspdlog1.12-fmt9]  1:1.12.0+ds-2
ii  libsqlite3-03.45.0-1
ii  libstdc++6  14-20240127-1
ii  libtag1v5   1.13.1-1
ii  libupnp17   1:1.14.18-1
ii  libuuid12.39.3-6
ii  node-js-cookie  3.0.1+~3.0.0-3

gerbera recommends no packages.

Versions of packages gerbera suggests:
ii  chromium [www-browser]121.0.6167.85-1
ii  firefox-esr [www-browser] 115.7.0esr-1
ii  gerbera-doc   2.0.0+dfsg-1
ii  google-chrome-beta [www-browser]  122.0.6261.6-1
ii  google-chrome-stable [www-browser]121.0.6167.85-1
ii  google-chrome-unstable [www-browser]  123.0.6262.5-1
ii  lynx [www-browser]2.9.0rel.0-2
ii  w3m [www-browser] 0.5.3+git20230121-2+b2

-- Configuration Files:
/etc/gerbera/config.xml changed [not included]

-- no debconf information