Posts by spupuz



    This error affects the engine (not the database) and is the same permission issue:

    Code
    socket.socketpair()
    
    PermissionError: [Errno 13] Permission denied


    What's happening:

    1. Uvicorn (the Python web server) tries to start
    2. Python's asyncio needs to create an internal "self-pipe" using
      Code
      socket.socketpair()
    3. The pve kernel blocks this system call for security reasons
    4. The engine crashes and Docker restarts it in a loop (you can see repeated attempts every ~3 seconds)


    Summary:

    ComponentErrorCause
    PostgreSQL
    Code
    could not create Unix socket
    Kernel blocks Unix socket creation
    Engine
    Code
    socket.socketpair() Permission denied
    Kernel blocks socketpair syscall

    Both are caused by security restrictions in the pve kernel.


    ✅ Solution

    The user needs to add

    Code
    privileged: true

    to all containers in

    Code
    docker-compose.yml

    :

    Then restart:

    Code
    bash
    
    
    
    
    
    docker compose down
    
    docker compose up -d


    🔧 If privileged mode still doesn't work

    The issue is at the host system level (pve kernel). The user should try:

    cab you try with these parameters:



    or if this does not work then test with:



    Code
    db:
    image: postgres:15-alpine
    privileged: true
    # ...
    
    
    engine:
    image: spupuz/vibenvr-engine:latest
    privileged: true
    # ...

    still error:




    log: vibeNVR.zip

    Used last docker compose and properly configured the .env?


    try this and provide output of command docker logs vibenvr-db


    I have added a delay and more retry for db setup / startup let me know

    log:



    try this and provide output of command docker logs vibenvr-db



    Code
        # security_opt:
        #   - seccomp:unconfined 

    uncomment these line above in the following docker compose


    Hi everyone,

    I wanted to share a project I’ve been working on called VibeNVR. It’s a simple, privacy-respecting local NVR designed to be fast and easy to set up without any cloud dependencies.

    Why I built this:

    As an OMV user, I’ve always valued keeping my data local and my system lean. I found that many existing NVR solutions were either too heavy for modest hardware or felt a bit dated. I decided to experiment with AI and "vibe coding" to see if I could create something modern and efficient that fits perfectly into a self-hosted environment.

    Key Features:

    • Simple & Fast: Quick setup so you can start recording in minutes.
    • Privacy-First: 100% local. No cloud, no unexpected phoning home.
    • Lightweight: Designed to run efficiently without hogging system resources.
    • Flexible: Records what you need, where you want it.

    This is still a project born out of experimentation, so I’d love to get some feedback from this community. If you’re looking for a no-fuss way to manage your cameras on your OMV setup, give it a try!

    GitHub Repository: https://github.com/spupuz/VibeNVR

    If you find it useful, a star on GitHub would be greatly appreciated! I’m looking forward to hearing your thoughts or answering any questions you might have.

    Cheers!