Code Monkey home page Code Monkey logo

Comments (12)

KarlStraussberger avatar KarlStraussberger commented on July 18, 2024

The main cause of this issue is the way libupnp was compiled (#178).

How did you retrieve your container? Which distro was the base for it? Did it already come with libupnp?

from gerbera.

M0M0M3 avatar M0M0M3 commented on July 18, 2024

I used the docker-compose from here:
https://hub.docker.com/r/gerbera/gerbera

---
version: "2.1"
services:
  gerbera:
    image: gerbera/gerbera
    container_name: gerbera
    network_mode: host
    volumes:
      - gerbera-config:/var/run/gerbera
      - /some/files:/mnt/content:ro

volumes:
  gerbera-config:
    external: false

from gerbera.

KarlStraussberger avatar KarlStraussberger commented on July 18, 2024

Seems you're running into a server crash. The upnp messages seem out of scope here.

Can you try the latest container: gerbera/gerbera:edge-transcoding

from gerbera.

M0M0M3 avatar M0M0M3 commented on July 18, 2024

This gives me a different error and also crashes:

Error loading shared library libavfilter.so.7: No such file or directory (needed by /usr/lib/libffmpegthumbnailer.so.4)

Error relocating /usr/lib/libffmpegthumbnailer.so.4: avfilter_graph_alloc: symbol not found

Error relocating /usr/lib/libffmpegthumbnailer.so.4: avfilter_graph_config: symbol not found

Error relocating /usr/lib/libffmpegthumbnailer.so.4: avfilter_link: symbol not found

Error relocating /usr/lib/libffmpegthumbnailer.so.4: av_buffersink_params_alloc: symbol not found

Error relocating /usr/lib/libffmpegthumbnailer.so.4: avfilter_get_by_name: symbol not found

Error relocating /usr/lib/libffmpegthumbnailer.so.4: avfilter_graph_create_filter: symbol not found

Error relocating /usr/lib/libffmpegthumbnailer.so.4: av_buffersrc_write_frame: symbol not found

Error relocating /usr/lib/libffmpegthumbnailer.so.4: avfilter_graph_free: symbol not found

Error relocating /usr/lib/libffmpegthumbnailer.so.4: avfilter_register_all: symbol not found

Error relocating /usr/lib/libffmpegthumbnailer.so.4: av_buffersink_get_frame: symbol not found

from gerbera.

KarlStraussberger avatar KarlStraussberger commented on July 18, 2024

I just updated the container to alpine 3.19.

It's the problem with ffmpeg libraries on alpine. I have to collect the required ones again.

from gerbera.

KarlStraussberger avatar KarlStraussberger commented on July 18, 2024

Sorry.

from gerbera.

M0M0M3 avatar M0M0M3 commented on July 18, 2024

No sorry needed! Really appreciate you looking into this! Thank you so much for the replys and troubleshooting with me.

Let me know when I should be good to go to check it again. Also, when checking, should I use gerbera/gerbera image? Or should I try again with: gerbera/gerbera:edge-transcoding?

I noticed the other one mentions transcoding, I dont know if it makes a difference but I want to use it mostly for direct play of music files, with no transcoding needed (at least I think I did not set anything up for transcoding).

from gerbera.

KarlStraussberger avatar KarlStraussberger commented on July 18, 2024

I don't understand how alpine handles dependencies, but now it works (a least on my side)

from gerbera.

M0M0M3 avatar M0M0M3 commented on July 18, 2024

Ok great, i'll try again tonight once i get home with using the gerbera/gerbera image.

from gerbera.

M0M0M3 avatar M0M0M3 commented on July 18, 2024

Hello, I tried everything again last night. I first just rebuilt container but it was still crashing. I then deleted config and started from scratch, added each autoscan (inotify) folder individually, instead of one big folder. Everything seemed to be going smoothly but eventually it still crashed 2 hours after my setup had been completed. This time there is nothing useful in the logs. So it seems issue is not to do with what I posted here.
I am now trying to just remove the autoscan from all folders and see if it still crashes.

from gerbera.

KarlStraussberger avatar KarlStraussberger commented on July 18, 2024

If you build the container yourself, you may try building the Dockerfile.debug version and run gerbera within the debugger (gdb)

EDIT: You can also run gerbera with --debug to get a looong debug printout

from gerbera.

M0M0M3 avatar M0M0M3 commented on July 18, 2024

Heya, thanks for the tip. For now I dont want to yet go down that path, as have not done the docker building from scratch yet.

So atm, it seems to be running fine, but I did notice it shuts down around 22:01 for some reason in the evening. Will investigate into this some more.

I shall close this ticket as original issue has been solved, I no longer see the error messages about 'libupnp'.

Thanks for your help!

from gerbera.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.