[GH-ISSUE #1578] Bug: Chromium fails to run in ArchiveBox due to DBus errors #2453

Closed
opened 2026-03-01 17:59:09 +03:00 by kerem · 2 comments
Owner

Originally created by @Iliannnn on GitHub (Oct 31, 2024).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1578

Describe the bug

I'm encountering issues running Chromium in ArchiveBox due to a failure to connect to DBus. When I attempt to run the browser with the provided commands, I receive multiple error messages indicating that it cannot connect to the DBus system bus socket. It seems like Chromium modified their argument names, but I couldn't really find a documentation where you can find them.

I also tried to run DBus inside the container, but with no success.

Steps to reproduce

  1. Install Chromium as per wiki (sudo apt install chromium-browser / sudo apt install chromium)
  2. Create a directory for ArchiveBox data: mkdir -p ~/archivebox/data && cd ~/archivebox.
  3. Use the following docker-compose file:

services:
    archivebox:
        image: archivebox/archivebox:latest
        network_mode: "service:wireguard"
        volumes:
            - ./data:/data
            - ./cookies.txt:/cookies.txt
            # - ./data/personas/Default/chrome_profile/Default:/data/personas/Default/chrome_profile/Default:rw
        environment:
            - PUID=1000
            - PGID=1000
            - ADMIN_USERNAME=xxxx
            - ADMIN_PASSWORD=xxxxxxxxxxxxxxxxx
            - CSRF_TRUSTED_ORIGINS=https://archive.xxxxxxxx.xxx
            - ALLOWED_HOSTS=*
            - PUBLIC_INDEX=False
            - PUBLIC_SNAPSHOTS=False
            - PUBLIC_ADD_VIEW=False
            # - SEARCH_BACKEND_ENGINE=sonic
            # - SEARCH_BACKEND_HOST_NAME=sonic
            # - SEARCH_BACKEND_PASSWORD=xxxxxxxxxxxxxxxxx
            - COOKIES_FILE=/cookies.txt
            # - CHROME_USER_DATA_DIR=/data/personas/Default/chrome_profile
            - DISPLAY=novnc:0.0
            # - CHROME_BINARY=chromium
            - SAVE_ARCHIVE_DOT_ORG=False

    archivebox_scheduler:
        image: archivebox/archivebox:latest
        command: schedule --foreground --update --every=day
        environment:
            - TIMEOUT=120                       # use a higher timeout than the main container to give slow tasks more time when retrying
            # - PUID=502                        # set to your host user's UID & GID if you encounter permissions issues
            # - PGID=20
        volumes:
            - ./data:/data
        # cpus: 2                               # uncomment / edit these values to limit scheduler container resource consumption
        # mem_limit: 2048m
        # restart: always

    sonic:
        image: valeriansaliou/sonic:latest
        build:
            # custom build just auto-downloads archivebox's default sonic.cfg as a convenience
            # not needed after first run / if you have already have ./etc/sonic.cfg present
            dockerfile_inline: |
                FROM quay.io/curl/curl:latest AS config_downloader
                RUN curl -fsSL 'https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/stable/etc/sonic.cfg' > /tmp/sonic.cfg
                FROM valeriansaliou/sonic:latest
                COPY --from=config_downloader /tmp/sonic.cfg /etc/sonic.cfg
        expose:
            - 1491
        environment:
            - SEARCH_BACKEND_PASSWORD=v4Qi6ZNAmeF9vi
        volumes:
            #- ./sonic.cfg:/etc/sonic.cfg:ro    # use this if you prefer to download the config on the host and mount it manually
            - ./data/sonic:/var/lib/sonic/store

    novnc:
        image: theasp/novnc:latest
        network_mode: "service:wireguard"
        environment:
            - DISPLAY_WIDTH=1920
            - DISPLAY_HEIGHT=1080
            - RUN_XTERM=no

    wireguard:
       image: linuxserver/wireguard:latest
       cap_add:
         - NET_ADMIN
         - SYS_MODULE
       environment:
         - PUID=1000
         - PGID=1000
         - TZ=Europe/Brussels
       ports:
         - 8000:8000
         - 8080:8080
       sysctls:
         - net.ipv4.conf.all.rp_filter=2
         - net.ipv4.conf.all.src_valid_mark=1
       volumes:
         - /lib/modules:/lib/modules
         - ./wireguard.conf:/config/wg0.conf:rw
       networks:
        - net01
       restart: unless-stopped

networks:
  net01:
    driver: bridge
  1. Init: docker compose run archivebox init --setup
  2. Start the containers: docker compose up -d novnc archivebox
  3. Execute the command:
    docker compose run archivebox /usr/bin/chromium-browser --user-data-dir=/data/personas/Default/chrome_profile --profile-directory=Default --disable-gpu --disable-features=dbus --disable-dev-shm-usage --start-maximized --no-sandbox --disable-setuid-sandbox --no-zygote --disable-sync --no-first-run
    
  4. Received the following error output regarding DBus connections.
    [7:72:1031/095645.486443:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
    [7:7:1031/095645.487214:ERROR:ozone_platform_x11.cc(243)] Missing X server or $DISPLAY
    [7:7:1031/095645.487224:ERROR:env.cc(258)] The platform failed to initialize.  Exiting.
    

Tried a different command

docker compose run archivebox /usr/bin/chromium-browser --user-data-dir=/data/personas/Default/chrome_profile --profile-directory=Default --disable-gpu --disable-features=dbus --disable-dev-shm-usage --start-maximized --no-sandbox --disable-setuid-sandbox --no-zygote --disable-sync --no-first-run --headless=new

That resulted in this error:

[7:72:1031/095323.678677:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[7:75:1031/095323.679898:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[7:75:1031/095323.679944:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[7:72:1031/095323.684931:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[7:72:1031/095323.684974:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[7:72:1031/095323.685002:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[7:72:1031/095323.685159:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[86:86:1031/095323.746294:ERROR:angle_platform_impl.cc(44)] DisplayVkXcb.cpp:58 (initialize): xcb_connect() failed, error 1
ERR: DisplayVkXcb.cpp:58 (initialize): xcb_connect() failed, error 1
[86:86:1031/095323.746434:ERROR:angle_platform_impl.cc(44)] Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Not initialized.
ERR: Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Not initialized.
[86:86:1031/095323.746489:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Not initialized.
[86:86:1031/095323.746656:ERROR:gl_display.cc(786)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[86:86:1031/095323.746705:ERROR:gl_display.cc(820)] Initialization of all EGL display types failed.
[86:86:1031/095323.746754:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[86:86:1031/095323.763476:ERROR:angle_platform_impl.cc(44)] DisplayVkXcb.cpp:58 (initialize): xcb_connect() failed, error 1
ERR: DisplayVkXcb.cpp:58 (initialize): xcb_connect() failed, error 1
[86:86:1031/095323.763531:ERROR:angle_platform_impl.cc(44)] Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Not initialized.
ERR: Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Not initialized.
[86:86:1031/095323.763550:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Not initialized.
[86:86:1031/095323.763562:ERROR:gl_display.cc(786)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[86:86:1031/095323.763573:ERROR:gl_display.cc(820)] Initialization of all EGL display types failed.
[86:86:1031/095323.763582:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[86:86:1031/095323.766797:ERROR:viz_main_impl.cc(198)] Exiting GPU process due to errors during initialization
[7:7:1031/095323.769468:ERROR:chrome_browser_cloud_management_controller.cc(161)] Cloud management controller initialization aborted as CBCM is not enabled. Please use the --enable-chrome-browser-cloud-management command line flag to enable it if you are not using the official Google Chrome build.
[7:72:1031/095323.785600:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[7:72:1031/095323.785630:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")

(process:7): GLib-GIO-CRITICAL **: 09:53:23.807: g_settings_schema_source_lookup: assertion 'source != NULL' failed
[7:142:1031/095323.958101:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[7:142:1031/095323.958140:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[7:142:1031/095323.958246:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[7:142:1031/095323.958280:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[7:142:1031/095323.958309:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[137:137:1031/095323.996573:ERROR:angle_platform_impl.cc(44)] DisplayVkXcb.cpp:58 (initialize): xcb_connect() failed, error 1
ERR: DisplayVkXcb.cpp:58 (initialize): xcb_connect() failed, error 1
[137:137:1031/095323.996631:ERROR:angle_platform_impl.cc(44)] Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Not initialized.
ERR: Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Not initialized.
[137:137:1031/095323.996657:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Not initialized.
[137:137:1031/095323.996668:ERROR:gl_display.cc(786)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[137:137:1031/095323.996686:ERROR:gl_display.cc(820)] Initialization of all EGL display types failed.
[137:137:1031/095323.996712:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[137:137:1031/095324.006080:ERROR:angle_platform_impl.cc(44)] DisplayVkXcb.cpp:58 (initialize): xcb_connect() failed, error 1
ERR: DisplayVkXcb.cpp:58 (initialize): xcb_connect() failed, error 1
[137:137:1031/095324.006109:ERROR:angle_platform_impl.cc(44)] Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Not initialized.
ERR: Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Not initialized.
[137:137:1031/095324.006125:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Not initialized.
[137:137:1031/095324.006135:ERROR:gl_display.cc(786)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[137:137:1031/095324.006145:ERROR:gl_display.cc(820)] Initialization of all EGL display types failed.
[137:137:1031/095324.006152:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[137:137:1031/095324.008481:ERROR:viz_main_impl.cc(198)] Exiting GPU process due to errors during initialization
Warning: vkCreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
    at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:101)

Warning: Failed to load libEGL.so: libEGL.so: cannot open shared object file: No such file or directory
    at DiscoverPhysicalDevices (../../third_party/dawn/src/dawn/native/opengl/BackendGL.cpp:75)

ArchiveBox version

0.7.2
ArchiveBox v0.7.2 COMMIT_HASH=315c9f3 BUILD_TIME=2024-04-24 22:47:02 1713998822
IN_DOCKER=True IN_QEMU=False ARCH=x86_64 OS=Linux PLATFORM=Linux-6.1.0-26-amd64-x86_64-with-glibc2.36 PYTHON=Cpython
FS_ATOMIC=True FS_REMOTE=True FS_USER=1000:1000 FS_PERMS=644
DEBUG=False IS_TTY=True TZ=UTC SEARCH_BACKEND=ripgrep LDAP=False

[i] Dependency versions:
 √  PYTHON_BINARY         v3.11.9         valid     /usr/local/bin/python3.11                                                   
 √  SQLITE_BINARY         v2.6.0          valid     /usr/local/lib/python3.11/sqlite3/dbapi2.py                                 
 √  DJANGO_BINARY         v3.1.14         valid     /usr/local/lib/python3.11/site-packages/django/__init__.py                  
 √  ARCHIVEBOX_BINARY     v0.7.2          valid     /usr/local/bin/archivebox                                                   

 √  CURL_BINARY           v8.5.0          valid     /usr/bin/curl                                                               
 √  WGET_BINARY           v1.21.3         valid     /usr/bin/wget                                                               
 √  NODE_BINARY           v20.12.2        valid     /usr/bin/node                                                               
 √  SINGLEFILE_BINARY     v1.1.46         valid     /app/node_modules/single-file-cli/single-file                               
 √  READABILITY_BINARY    v0.0.11         valid     /app/node_modules/readability-extractor/readability-extractor               
 √  MERCURY_BINARY        v1.0.0          valid     /app/node_modules/@postlight/parser/cli.js                                  
 √  GIT_BINARY            v2.39.2         valid     /usr/bin/git                                                                
 √  YOUTUBEDL_BINARY      v2023.12.30     valid     /usr/local/bin/yt-dlp                                                       
 √  CHROME_BINARY         v124.0.6367.29  valid     /usr/bin/chromium-browser                                                   
 √  RIPGREP_BINARY        v13.0.0         valid     /usr/bin/rg                                                                 

[i] Source-code locations:
 √  PACKAGE_DIR           23 files        valid     /app/archivebox                                                             
 √  TEMPLATES_DIR         3 files         valid     /app/archivebox/templates                                                   
 -  CUSTOM_TEMPLATES_DIR  -               disabled  None                                                                        

[i] Secrets locations:
 -  CHROME_USER_DATA_DIR  -               disabled  None                                                                        
 √  COOKIES_FILE          557.4 KB        valid     /cookies.txt                                                                

[i] Data locations:
 √  OUTPUT_DIR            6 files @       valid     /data                                                                       
 √  SOURCES_DIR           0 files         valid     ./sources                                                                   
 √  LOGS_DIR              1 files         valid     ./logs                                                                      
 √  ARCHIVE_DIR           0 files         valid     ./archive                                                                   
 √  CONFIG_FILE           81.0 Bytes      valid     ./ArchiveBox.conf                                                           
 √  SQL_INDEX             204.0 KB        valid     ./index.sqlite3

System info

OS: Debian GNU/Linux 12 (bookworm)
Docker version: Docker version 27.3.1, build ce12230

Originally created by @Iliannnn on GitHub (Oct 31, 2024). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1578 <!-- Please fill out the following information, feel free to delete sections if they're not applicable or if long issue templates annoy you. (the only required section is the version information) --> #### Describe the bug I'm encountering issues running Chromium in ArchiveBox due to a failure to connect to DBus. When I attempt to run the browser with the provided commands, I receive multiple error messages indicating that it cannot connect to the DBus system bus socket. It seems like Chromium modified their argument names, but I couldn't really find a documentation where you can find them. I also tried to run DBus inside the container, but with no success. #### Steps to reproduce 1. [Install Chromium as per wiki](https://github.com/ArchiveBox/ArchiveBox/wiki/Chromium-Install#installing-chromium) (`sudo apt install chromium-browser` / `sudo apt install chromium`) 2. Create a directory for ArchiveBox data: `mkdir -p ~/archivebox/data && cd ~/archivebox`. 3. Use the following docker-compose file: ```yaml services: archivebox: image: archivebox/archivebox:latest network_mode: "service:wireguard" volumes: - ./data:/data - ./cookies.txt:/cookies.txt # - ./data/personas/Default/chrome_profile/Default:/data/personas/Default/chrome_profile/Default:rw environment: - PUID=1000 - PGID=1000 - ADMIN_USERNAME=xxxx - ADMIN_PASSWORD=xxxxxxxxxxxxxxxxx - CSRF_TRUSTED_ORIGINS=https://archive.xxxxxxxx.xxx - ALLOWED_HOSTS=* - PUBLIC_INDEX=False - PUBLIC_SNAPSHOTS=False - PUBLIC_ADD_VIEW=False # - SEARCH_BACKEND_ENGINE=sonic # - SEARCH_BACKEND_HOST_NAME=sonic # - SEARCH_BACKEND_PASSWORD=xxxxxxxxxxxxxxxxx - COOKIES_FILE=/cookies.txt # - CHROME_USER_DATA_DIR=/data/personas/Default/chrome_profile - DISPLAY=novnc:0.0 # - CHROME_BINARY=chromium - SAVE_ARCHIVE_DOT_ORG=False archivebox_scheduler: image: archivebox/archivebox:latest command: schedule --foreground --update --every=day environment: - TIMEOUT=120 # use a higher timeout than the main container to give slow tasks more time when retrying # - PUID=502 # set to your host user's UID & GID if you encounter permissions issues # - PGID=20 volumes: - ./data:/data # cpus: 2 # uncomment / edit these values to limit scheduler container resource consumption # mem_limit: 2048m # restart: always sonic: image: valeriansaliou/sonic:latest build: # custom build just auto-downloads archivebox's default sonic.cfg as a convenience # not needed after first run / if you have already have ./etc/sonic.cfg present dockerfile_inline: | FROM quay.io/curl/curl:latest AS config_downloader RUN curl -fsSL 'https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/stable/etc/sonic.cfg' > /tmp/sonic.cfg FROM valeriansaliou/sonic:latest COPY --from=config_downloader /tmp/sonic.cfg /etc/sonic.cfg expose: - 1491 environment: - SEARCH_BACKEND_PASSWORD=v4Qi6ZNAmeF9vi volumes: #- ./sonic.cfg:/etc/sonic.cfg:ro # use this if you prefer to download the config on the host and mount it manually - ./data/sonic:/var/lib/sonic/store novnc: image: theasp/novnc:latest network_mode: "service:wireguard" environment: - DISPLAY_WIDTH=1920 - DISPLAY_HEIGHT=1080 - RUN_XTERM=no wireguard: image: linuxserver/wireguard:latest cap_add: - NET_ADMIN - SYS_MODULE environment: - PUID=1000 - PGID=1000 - TZ=Europe/Brussels ports: - 8000:8000 - 8080:8080 sysctls: - net.ipv4.conf.all.rp_filter=2 - net.ipv4.conf.all.src_valid_mark=1 volumes: - /lib/modules:/lib/modules - ./wireguard.conf:/config/wg0.conf:rw networks: - net01 restart: unless-stopped networks: net01: driver: bridge ``` 4. Init: docker compose run archivebox init --setup 5. Start the containers: `docker compose up -d novnc archivebox` 6. Execute the command: ```bash docker compose run archivebox /usr/bin/chromium-browser --user-data-dir=/data/personas/Default/chrome_profile --profile-directory=Default --disable-gpu --disable-features=dbus --disable-dev-shm-usage --start-maximized --no-sandbox --disable-setuid-sandbox --no-zygote --disable-sync --no-first-run ``` 7. Received the following error output regarding DBus connections. ``` [7:72:1031/095645.486443:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory [7:7:1031/095645.487214:ERROR:ozone_platform_x11.cc(243)] Missing X server or $DISPLAY [7:7:1031/095645.487224:ERROR:env.cc(258)] The platform failed to initialize. Exiting. ``` #### Tried a different command ``` docker compose run archivebox /usr/bin/chromium-browser --user-data-dir=/data/personas/Default/chrome_profile --profile-directory=Default --disable-gpu --disable-features=dbus --disable-dev-shm-usage --start-maximized --no-sandbox --disable-setuid-sandbox --no-zygote --disable-sync --no-first-run --headless=new ``` That resulted in this error: ``` [7:72:1031/095323.678677:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory [7:75:1031/095323.679898:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory [7:75:1031/095323.679944:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory [7:72:1031/095323.684931:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [7:72:1031/095323.684974:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [7:72:1031/095323.685002:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [7:72:1031/095323.685159:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [86:86:1031/095323.746294:ERROR:angle_platform_impl.cc(44)] DisplayVkXcb.cpp:58 (initialize): xcb_connect() failed, error 1 ERR: DisplayVkXcb.cpp:58 (initialize): xcb_connect() failed, error 1 [86:86:1031/095323.746434:ERROR:angle_platform_impl.cc(44)] Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Not initialized. ERR: Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Not initialized. [86:86:1031/095323.746489:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Not initialized. [86:86:1031/095323.746656:ERROR:gl_display.cc(786)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED [86:86:1031/095323.746705:ERROR:gl_display.cc(820)] Initialization of all EGL display types failed. [86:86:1031/095323.746754:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed. [86:86:1031/095323.763476:ERROR:angle_platform_impl.cc(44)] DisplayVkXcb.cpp:58 (initialize): xcb_connect() failed, error 1 ERR: DisplayVkXcb.cpp:58 (initialize): xcb_connect() failed, error 1 [86:86:1031/095323.763531:ERROR:angle_platform_impl.cc(44)] Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Not initialized. ERR: Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Not initialized. [86:86:1031/095323.763550:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Not initialized. [86:86:1031/095323.763562:ERROR:gl_display.cc(786)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED [86:86:1031/095323.763573:ERROR:gl_display.cc(820)] Initialization of all EGL display types failed. [86:86:1031/095323.763582:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed. [86:86:1031/095323.766797:ERROR:viz_main_impl.cc(198)] Exiting GPU process due to errors during initialization [7:7:1031/095323.769468:ERROR:chrome_browser_cloud_management_controller.cc(161)] Cloud management controller initialization aborted as CBCM is not enabled. Please use the --enable-chrome-browser-cloud-management command line flag to enable it if you are not using the official Google Chrome build. [7:72:1031/095323.785600:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [7:72:1031/095323.785630:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") (process:7): GLib-GIO-CRITICAL **: 09:53:23.807: g_settings_schema_source_lookup: assertion 'source != NULL' failed [7:142:1031/095323.958101:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory [7:142:1031/095323.958140:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory [7:142:1031/095323.958246:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory [7:142:1031/095323.958280:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory [7:142:1031/095323.958309:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory [137:137:1031/095323.996573:ERROR:angle_platform_impl.cc(44)] DisplayVkXcb.cpp:58 (initialize): xcb_connect() failed, error 1 ERR: DisplayVkXcb.cpp:58 (initialize): xcb_connect() failed, error 1 [137:137:1031/095323.996631:ERROR:angle_platform_impl.cc(44)] Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Not initialized. ERR: Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Not initialized. [137:137:1031/095323.996657:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Not initialized. [137:137:1031/095323.996668:ERROR:gl_display.cc(786)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED [137:137:1031/095323.996686:ERROR:gl_display.cc(820)] Initialization of all EGL display types failed. [137:137:1031/095323.996712:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed. [137:137:1031/095324.006080:ERROR:angle_platform_impl.cc(44)] DisplayVkXcb.cpp:58 (initialize): xcb_connect() failed, error 1 ERR: DisplayVkXcb.cpp:58 (initialize): xcb_connect() failed, error 1 [137:137:1031/095324.006109:ERROR:angle_platform_impl.cc(44)] Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Not initialized. ERR: Display.cpp:1086 (initialize): ANGLE Display::initialize error 12289: Not initialized. [137:137:1031/095324.006125:ERROR:gl_display.cc(515)] EGL Driver message (Critical) eglInitialize: Not initialized. [137:137:1031/095324.006135:ERROR:gl_display.cc(786)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED [137:137:1031/095324.006145:ERROR:gl_display.cc(820)] Initialization of all EGL display types failed. [137:137:1031/095324.006152:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed. [137:137:1031/095324.008481:ERROR:viz_main_impl.cc(198)] Exiting GPU process due to errors during initialization Warning: vkCreateInstance: Found no drivers! Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:101) Warning: Failed to load libEGL.so: libEGL.so: cannot open shared object file: No such file or directory at DiscoverPhysicalDevices (../../third_party/dawn/src/dawn/native/opengl/BackendGL.cpp:75) ``` #### ArchiveBox version <!-- Run the archivebox version command locally then copy paste the result here: --> ``` 0.7.2 ArchiveBox v0.7.2 COMMIT_HASH=315c9f3 BUILD_TIME=2024-04-24 22:47:02 1713998822 IN_DOCKER=True IN_QEMU=False ARCH=x86_64 OS=Linux PLATFORM=Linux-6.1.0-26-amd64-x86_64-with-glibc2.36 PYTHON=Cpython FS_ATOMIC=True FS_REMOTE=True FS_USER=1000:1000 FS_PERMS=644 DEBUG=False IS_TTY=True TZ=UTC SEARCH_BACKEND=ripgrep LDAP=False [i] Dependency versions: √ PYTHON_BINARY v3.11.9 valid /usr/local/bin/python3.11 √ SQLITE_BINARY v2.6.0 valid /usr/local/lib/python3.11/sqlite3/dbapi2.py √ DJANGO_BINARY v3.1.14 valid /usr/local/lib/python3.11/site-packages/django/__init__.py √ ARCHIVEBOX_BINARY v0.7.2 valid /usr/local/bin/archivebox √ CURL_BINARY v8.5.0 valid /usr/bin/curl √ WGET_BINARY v1.21.3 valid /usr/bin/wget √ NODE_BINARY v20.12.2 valid /usr/bin/node √ SINGLEFILE_BINARY v1.1.46 valid /app/node_modules/single-file-cli/single-file √ READABILITY_BINARY v0.0.11 valid /app/node_modules/readability-extractor/readability-extractor √ MERCURY_BINARY v1.0.0 valid /app/node_modules/@postlight/parser/cli.js √ GIT_BINARY v2.39.2 valid /usr/bin/git √ YOUTUBEDL_BINARY v2023.12.30 valid /usr/local/bin/yt-dlp √ CHROME_BINARY v124.0.6367.29 valid /usr/bin/chromium-browser √ RIPGREP_BINARY v13.0.0 valid /usr/bin/rg [i] Source-code locations: √ PACKAGE_DIR 23 files valid /app/archivebox √ TEMPLATES_DIR 3 files valid /app/archivebox/templates - CUSTOM_TEMPLATES_DIR - disabled None [i] Secrets locations: - CHROME_USER_DATA_DIR - disabled None √ COOKIES_FILE 557.4 KB valid /cookies.txt [i] Data locations: √ OUTPUT_DIR 6 files @ valid /data √ SOURCES_DIR 0 files valid ./sources √ LOGS_DIR 1 files valid ./logs √ ARCHIVE_DIR 0 files valid ./archive √ CONFIG_FILE 81.0 Bytes valid ./ArchiveBox.conf √ SQL_INDEX 204.0 KB valid ./index.sqlite3 ``` <!-- Tickets without full version info will be closed until it is provided; we need the full output here to help you solve your issue. --> #### System info OS: Debian GNU/Linux 12 (bookworm) Docker version: Docker version 27.3.1, build ce12230
kerem closed this issue 2026-03-01 17:59:09 +03:00
Author
Owner

@Iliannnn commented on GitHub (Oct 31, 2024):

Got it working by temporarily removing Wireguard.

<!-- gh-comment-id:2449628845 --> @Iliannnn commented on GitHub (Oct 31, 2024): Got it working by temporarily removing Wireguard.
Author
Owner

@pirate commented on GitHub (Oct 31, 2024):

dbus ererors usually red herrings, chrome in docker doesn't come with dbus and it normally runs fine.

<!-- gh-comment-id:2449709429 --> @pirate commented on GitHub (Oct 31, 2024): dbus ererors usually red herrings, chrome in docker doesn't come with dbus and it normally runs fine.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#2453
No description provided.