Skip to content

Error in backend container #278

@woutercoppens

Description

@woutercoppens

I'm trying to run SurfSense in containers via podman. The quadlets and env-files can be found at:
https://github.com/woutercoppens/Bluefin_Linux/tree/main/quadlets

The backend gives an error: [Errno -2] Name or service not known and restarts the container:

aug 21 12:06:51 aipc surfsense_backend[21159]: /usr/local/lib/python3.12/site-packages/chonkie/chunker/code.py:75: UserWarning: The language is set>
aug 21 12:06:51 aipc surfsense_backend[21159]: warnings.warn("The language is set to auto. This would adversely affect the performance of the c>
aug 21 12:06:51 aipc surfsense_backend[21159]: INFO:flashrank.Ranker:Downloading ms-marco-MiniLM-L-12-v2...
aug 21 12:06:51 aipc surfsense_backend[21159]: Downloading https://github.com/zackees/ffmpeg_bins/raw/main/v5.0/linux.zip -> /usr/local/lib/python3>
aug 21 12:06:51 aipc surfsense_backend[21159]:
aug 21 12:06:51 aipc surfsense_backend[21159]: Download of https://github.com/zackees/ffmpeg_bins/raw/main/v5.0/linux.zip -> /usr/local/lib/python3>
aug 21 12:06:51 aipc surfsense_backend[21159]: Extracting /usr/local/lib/python3.12/site-packages/static_ffmpeg/bin/linux.zip -> /usr/local/lib/pyt>
aug 21 12:06:51 aipc surfsense_backend[21159]: Loading FlashRankRanker model ms-marco-MiniLM-L-12-v2 (this message can be suppressed by setting ver>
aug 21 12:06:51 aipc surfsense_backend[21159]: Loading model FlashRank model ms-marco-MiniLM-L-12-v2...
aug 21 12:06:52 aipc surfsense_backend[21159]: [736B blob data]
aug 21 12:06:52 aipc surfsense_backend[21159]: INFO: Will watch for changes in these directories: ['/app/app']
aug 21 12:06:55 aipc surfsense_backend[21159]: INFO: Started server process [1]
aug 21 12:06:55 aipc surfsense_backend[21159]: INFO: Waiting for application startup.
aug 21 12:06:55 aipc surfsense_backend[21159]: INFO: Application startup complete.
aug 21 12:06:55 aipc surfsense_backend[21159]: ERROR: [Errno -2] Name or service not known
aug 21 12:06:55 aipc surfsense_backend[21159]: INFO: Waiting for application shutdown.
aug 21 12:06:55 aipc surfsense_backend[21159]: INFO: Application shutdown complete.
aug 21 12:06:56 aipc podman[21696]: 2025-08-21 12:06:56.964702181 +0200 CEST m=+8.690999104 container died d6c08c77dd4069b534a798e67394670b37091e06>
aug 21 12:06:57 aipc podman[21696]: 2025-08-21 12:06:57.424760885 +0200 CEST m=+9.151057798 container remove d6c08c77dd4069b534a798e67394670b37091e>
aug 21 12:06:57 aipc surfsense_backend[21696]: d6c08c77dd4069b534a798e67394670b37091e061e44cc4d5081fe8a174689d6
aug 21 12:06:57 aipc systemd[3351]: surfsense_backend.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ An ExecStart= process belonging to unit UNIT has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
aug 21 12:06:57 aipc systemd[3351]: surfsense_backend.service: Failed with result 'exit-code'.`

How can I put the container in debug mode to see what is going on?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions