OCI container error for searxng

razvanab

New Member
Jul 24, 2025
2
0
1
Hi

I need some help please.
I am trying to get an oci container up and running. "searxng/searxng" and I get this error:

Code:
()
  Logical volume "vm-100-disk-0" created.
  Logical volume pve/vm-100-disk-0 changed.
Creating filesystem with 2621440 4k blocks and 655360 inodes
Filesystem UUID: 3d87a41a-d69b-443b-97ff-1b66e24699ba
Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
Detected OCI archive
creating base directory for volume at /etc/searxng
creating base directory for volume at /var/cache/searxng
Auto-Enabling host-managed network for network device net0.
unknown ID 'void' in /etc/os-release file, trying fallback detection
  Logical volume "vm-100-disk-0" successfully removed.
TASK ERROR: unable to create CT 100 - unable to detect OS distribution
 
Hi

I need some help please.
I am trying to get an oci container up and running. "searxng/searxng" and I get this error:

Code:
()
  Logical volume "vm-100-disk-0" created.
  Logical volume pve/vm-100-disk-0 changed.
Creating filesystem with 2621440 4k blocks and 655360 inodes
Filesystem UUID: 3d87a41a-d69b-443b-97ff-1b66e24699ba
Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
Detected OCI archive
creating base directory for volume at /etc/searxng
creating base directory for volume at /var/cache/searxng
Auto-Enabling host-managed network for network device net0.
unknown ID 'void' in /etc/os-release file, trying fallback detection
  Logical volume "vm-100-disk-0" successfully removed.
TASK ERROR: unable to create CT 100 - unable to detect OS distribution
Hi, I saw your post on a discord server, I was facing the same problem but used the suggestion at https://forum.proxmox.com/threads/start-unmanaged-container-from-the-web-ui.68727/post-308058 with a couple of modifications and that has got me most of the way to where I want to be - hope it helps you too
 
  • Like
Reactions: razvanab
Hey guys, I was able to generate the SearXNG OCI container using your suggestions, however, when I run the container, I keep seeing the error:
Code:
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
[WARNING] Configuration allows spawning up to 4 Python threads, which seems quite high compared to the number of CPU cores available. Consider reviewing your configuration and using `backpressure` to limit the concurrency on the Python interpreter. If this configuration is intentional, you can safely ignore this message.
[INFO] Starting granian (main PID: 1)
[INFO] Listening at: http://:::8080
[INFO] Spawning worker-1 with PID: 943
Process granian-worker:
Traceback (most recent call last):
  File "/usr/local/searxng/.venv/lib/python3.14/site-packages/granian/_internal.py", line 47, in load_module
    __import__(module_name)
    ~~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/local/searxng/searx/webapp.py", line 57, in <module>
    from searx import infopage
  File "/usr/local/searxng/searx/infopage/__init__.py", line 37, in <module>
    from ..locales import LOCALE_NAMES
  File "/usr/local/searxng/searx/locales.py", line 40, in <module>
    from searx import (
    ...<3 lines>...
    )
  File "/usr/local/searxng/searx/data/__init__.py", line 14, in <module>
    from .core import log, data_dir, get_cache
  File "/usr/local/searxng/searx/data/core.py", line 8, in <module>
    from searx.cache import ExpireCacheCfg, ExpireCacheSQLite
  File "/usr/local/searxng/searx/cache.py", line 18, in <module>
    import sqlite3
  File "/usr/lib/python3.14/sqlite3/__init__.py", line 57, in <module>
    from sqlite3.dbapi2 import *
  File "/usr/lib/python3.14/sqlite3/dbapi2.py", line 27, in <module>
    from _sqlite3 import *
ImportError: /usr/lib/python3.14/lib-dynload/_sqlite3.cpython-314-x86_64-linux-gnu.so: undefined symbol: sqlite3_deserialize

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.14/multiprocessing/process.py", line 320, in _bootstrap
    self.run()
    ~~~~~~~~^^
  File "/usr/lib/python3.14/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/searxng/.venv/lib/python3.14/site-packages/granian/server/mp.py", line 90, in wrapped
    callback = callback_loader()
  File "/usr/local/searxng/.venv/lib/python3.14/site-packages/granian/_internal.py", line 65, in load_target
    module = load_module(path)
  File "/usr/local/searxng/.venv/lib/python3.14/site-packages/granian/_internal.py", line 50, in load_module
    raise RuntimeError(
        f"While importing '{module_name}', an ImportError was raised:\n\n{traceback.format_exc()}"
    )
RuntimeError: While importing 'searx.webapp', an ImportError was raised:

Traceback (most recent call last):
  File "/usr/local/searxng/.venv/lib/python3.14/site-packages/granian/_internal.py", line 47, in load_module
    __import__(module_name)
    ~~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/local/searxng/searx/webapp.py", line 57, in <module>
    from searx import infopage
  File "/usr/local/searxng/searx/infopage/__init__.py", line 37, in <module>
    from ..locales import LOCALE_NAMES
  File "/usr/local/searxng/searx/locales.py", line 40, in <module>
    from searx import (
    ...<3 lines>...
    )
  File "/usr/local/searxng/searx/data/__init__.py", line 14, in <module>
    from .core import log, data_dir, get_cache
  File "/usr/local/searxng/searx/data/core.py", line 8, in <module>
    from searx.cache import ExpireCacheCfg, ExpireCacheSQLite
  File "/usr/local/searxng/searx/cache.py", line 18, in <module>
    import sqlite3
  File "/usr/lib/python3.14/sqlite3/__init__.py", line 57, in <module>
    from sqlite3.dbapi2 import *
  File "/usr/lib/python3.14/sqlite3/dbapi2.py", line 27, in <module>
    from _sqlite3 import *
ImportError: /usr/lib/python3.14/lib-dynload/_sqlite3.cpython-314-x86_64-linux-gnu.so: undefined symbol: sqlite3_deserialize

[ERROR] Unexpected exit from worker-1
[INFO] Shutting down granian

[EOF - dtach terminating]

I did try several settings for my container, but always see that error or the container is not running at all. Did you see something like this while doing your setup?
Thanks for your help!