[GH-ISSUE #881] chrome-1 exited with code 133 ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory #575

Closed
opened 2026-03-02 11:50:59 +03:00 by kerem · 4 comments
Owner

Originally created by @gilbrotheraway on GitHub (Jan 14, 2025).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/881

Describe the Bug

chrome-1 exited with code 133
web-1          | 2025-01-14T21:52:02.203Z info: [Crawler] Connecting to existing browser instance: http://chrome:9222
chrome-1       | [0114/215203.656054:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
chrome-1       | [0114/215203.656756:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
chrome-1       | [0114/215203.656986:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
chrome-1       | [0114/215203.658024:ERROR:platform_shared_memory_region_posix.cc(214)] Creating shared memory in /tmp/.org.chromium.Chromium.XXXXXX failed: Permission denied (13)
chrome-1       | [0114/215203.658066:ERROR:platform_shared_memory_region_posix.cc(217)] Unable to access(W_OK|X_OK) /tmp: Permission denied (13)
chrome-1       | [0114/215203.658051:ERROR:platform_shared_memory_region_posix.cc(214)] Creating shared memory in /tmp/.org.chromium.Chromium.XXXXXX failed: Permission denied (13)
chrome-1       | [0114/215203.658103:ERROR:platform_shared_memory_region_posix.cc(217)] Unable to access(W_OK|X_OK) /tmp: Permission denied (13)

Steps to Reproduce

pull && up, all settings default, root user and permissions etc

Expected Behaviour

...

Screenshots or Additional Context

No response

Device Details

No response

Exact Hoarder Version

v0.21.0

Have you checked the troubleshooting guide?

  • I have checked the troubleshooting guide and I haven't found a solution to my problem
Originally created by @gilbrotheraway on GitHub (Jan 14, 2025). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/881 ### Describe the Bug ``` chrome-1 exited with code 133 web-1 | 2025-01-14T21:52:02.203Z info: [Crawler] Connecting to existing browser instance: http://chrome:9222 chrome-1 | [0114/215203.656054:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory chrome-1 | [0114/215203.656756:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory chrome-1 | [0114/215203.656986:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory chrome-1 | [0114/215203.658024:ERROR:platform_shared_memory_region_posix.cc(214)] Creating shared memory in /tmp/.org.chromium.Chromium.XXXXXX failed: Permission denied (13) chrome-1 | [0114/215203.658066:ERROR:platform_shared_memory_region_posix.cc(217)] Unable to access(W_OK|X_OK) /tmp: Permission denied (13) chrome-1 | [0114/215203.658051:ERROR:platform_shared_memory_region_posix.cc(214)] Creating shared memory in /tmp/.org.chromium.Chromium.XXXXXX failed: Permission denied (13) chrome-1 | [0114/215203.658103:ERROR:platform_shared_memory_region_posix.cc(217)] Unable to access(W_OK|X_OK) /tmp: Permission denied (13) ``` ### Steps to Reproduce pull && up, all settings default, root user and permissions etc ### Expected Behaviour ... ### Screenshots or Additional Context _No response_ ### Device Details _No response_ ### Exact Hoarder Version v0.21.0 ### Have you checked the troubleshooting guide? - [X] I have checked the troubleshooting guide and I haven't found a solution to my problem
kerem 2026-03-02 11:50:59 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@MohamedBassem commented on GitHub (Jan 15, 2025):

Can you share your docker compose?

<!-- gh-comment-id:2591947045 --> @MohamedBassem commented on GitHub (Jan 15, 2025): Can you share your docker compose?
Author
Owner

@gilbrotheraway commented on GitHub (Jan 15, 2025):

version: "3.8"
services:
  web:
    #user: "${UID}:${GID}"
    image: ghcr.io/hoarder-app/hoarder:${HOARDER_VERSION:-release} #v0.19
    restart: unless-stopped
    volumes:
      - ${PATH_TO_APPDATA}/hoarder/config:/data
    ports:
      - 3003:3000
    env_file:
      - hoarder.env
    environment:
      TZ: ${TIME_ZONE_VALUE}
      MEILI_ADDR: http://meilisearch:7700
      BROWSER_WEB_URL: http://chrome:9222
      OPENAI_API_KEY: ${OPENAI_API_KEY}
      DATA_DIR: /data
 chrome:
   image: gcr.io/zenika-hub/alpine-chrome:123
    restart: unless-stopped
    command:
      - --no-sandbox
      - --disable-gpu
      - --disable-dev-shm-usage
      - --remote-debugging-address=0.0.0.0
      - --remote-debugging-port=9222
      - --hide-scrollbars
  meilisearch:
    #user: "${UID}:${GID}"
    image: getmeili/meilisearch:v1.11.1 #v1.6
    restart: unless-stopped
    env_file:
      - hoarder.env
    environment:
      MEILI_NO_ANALYTICS: "true"
    volumes:
      - ${PATH_TO_APPDATA}/hoarder/meilisearch:/meili_data

<!-- gh-comment-id:2593907938 --> @gilbrotheraway commented on GitHub (Jan 15, 2025): ``` version: "3.8" services: web: #user: "${UID}:${GID}" image: ghcr.io/hoarder-app/hoarder:${HOARDER_VERSION:-release} #v0.19 restart: unless-stopped volumes: - ${PATH_TO_APPDATA}/hoarder/config:/data ports: - 3003:3000 env_file: - hoarder.env environment: TZ: ${TIME_ZONE_VALUE} MEILI_ADDR: http://meilisearch:7700 BROWSER_WEB_URL: http://chrome:9222 OPENAI_API_KEY: ${OPENAI_API_KEY} DATA_DIR: /data chrome: image: gcr.io/zenika-hub/alpine-chrome:123 restart: unless-stopped command: - --no-sandbox - --disable-gpu - --disable-dev-shm-usage - --remote-debugging-address=0.0.0.0 - --remote-debugging-port=9222 - --hide-scrollbars meilisearch: #user: "${UID}:${GID}" image: getmeili/meilisearch:v1.11.1 #v1.6 restart: unless-stopped env_file: - hoarder.env environment: MEILI_NO_ANALYTICS: "true" volumes: - ${PATH_TO_APPDATA}/hoarder/meilisearch:/meili_data ```
Author
Owner

@gilbrotheraway commented on GitHub (Feb 21, 2025):

@MohamedBassem i think the issue is that on some systems /tmp is mountd on /dev/shm so when you set the flag - --disable-dev-shm-usage chrome has nowhere to go
https://github.com/puppeteer/puppeteer/issues/1834

please correct me if i'm wrong

<!-- gh-comment-id:2674306305 --> @gilbrotheraway commented on GitHub (Feb 21, 2025): @MohamedBassem i think the issue is that on some systems /tmp is mountd on /dev/shm so when you set the flag - --disable-dev-shm-usage chrome has nowhere to go https://github.com/puppeteer/puppeteer/issues/1834 please correct me if i'm wrong
Author
Owner

@BenRoe commented on GitHub (Dec 22, 2025):

@gilbrotheraway can you explain how you solved the issue?
I get this error

[1222/115551.973714:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
<!-- gh-comment-id:3681808498 --> @BenRoe commented on GitHub (Dec 22, 2025): @gilbrotheraway can you explain how you solved the issue? I get this error ``` [1222/115551.973714:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory ```
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/karakeep#575
No description provided.