[GH-ISSUE #458] a server-side exception has occurred #292

Closed
opened 2026-03-02 11:48:31 +03:00 by kerem · 5 comments
Owner

Originally created by @funky123 on GitHub (Oct 3, 2024).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/458

Opening hoarder: Application error: a server-side exception has occurred (see the server logs for more information).
Digest: 3467703528

Logs in Docker - Compose:
`
[1003/140345.281492: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

[1003/140345.281915:WARNING:dns_config_service_linux.cc(427)] Failed to read DnsConfig.

[1003/140345.282254: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

[1003/140345.282288: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

[1003/140345.307909:INFO:policy_logger.cc(145)] :components/policy/core/common/config_dir_policy_loader.cc(118) Skipping mandatory platform policies because no policy file was found at: /etc/chromium/policies/managed

[1003/140345.307929:INFO:policy_logger.cc(145)] :components/policy/core/common/config_dir_policy_loader.cc(118) Skipping recommended platform policies because no policy file was found at: /etc/chromium/policies/recommended

[1003/140345.310545:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.

DevTools listening on ws://0.0.0.0:9222/devtools/browser/9e9bb0db-0ef5-428e-a777-68c0866e5839

[1003/140345.347504:WARNING:sandbox_linux.cc(418)] InitializeSandbox() called with multiple threads in process gpu-process.

[1003/140345.428887:WARNING:dns_config_service_linux.cc(427)] Failed to read DnsConfig.

`

Docker Compose File (no .env file since i used poartainer)
services: web: image: ghcr.io/hoarder-app/hoarder:${HOARDER_VERSION:-release} restart: unless-stopped volumes: - data:/data ports: - 3000:3000 environment: MEILI_ADDR: http://meilisearch:7700 BROWSER_WEB_URL: http://chrome:9222 # OPENAI_API_KEY: ... DATA_DIR: /data HOARDER_VERSION: release NEXTAUTH_URL: http://192.168.178.124:3000 MEILI_MASTER_KEY: asdasd3243242kh34j2h34lk234h2lk34jh23lk4 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: image: getmeili/meilisearch:v1.6 restart: unless-stopped environment: MEILI_NO_ANALYTICS: "true" NEXTAUTH_SECRET: asdasd3243242kh34j2h34lk234h2lk34jh23lk4 volumes: - meilisearch:/meili_data volumes: meilisearch: data:

Originally created by @funky123 on GitHub (Oct 3, 2024). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/458 Opening hoarder: Application error: a server-side exception has occurred (see the server logs for more information). Digest: 3467703528 Logs in Docker - Compose: ` [1003/140345.281492: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 [1003/140345.281915:WARNING:dns_config_service_linux.cc(427)] Failed to read DnsConfig. [1003/140345.282254: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 [1003/140345.282288: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 [1003/140345.307909:INFO:policy_logger.cc(145)] :components/policy/core/common/config_dir_policy_loader.cc(118) Skipping mandatory platform policies because no policy file was found at: /etc/chromium/policies/managed [1003/140345.307929:INFO:policy_logger.cc(145)] :components/policy/core/common/config_dir_policy_loader.cc(118) Skipping recommended platform policies because no policy file was found at: /etc/chromium/policies/recommended [1003/140345.310545:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable. DevTools listening on ws://0.0.0.0:9222/devtools/browser/9e9bb0db-0ef5-428e-a777-68c0866e5839 [1003/140345.347504:WARNING:sandbox_linux.cc(418)] InitializeSandbox() called with multiple threads in process gpu-process. [1003/140345.428887:WARNING:dns_config_service_linux.cc(427)] Failed to read DnsConfig. ` Docker Compose File (no .env file since i used poartainer) `services: web: image: ghcr.io/hoarder-app/hoarder:${HOARDER_VERSION:-release} restart: unless-stopped volumes: - data:/data ports: - 3000:3000 environment: MEILI_ADDR: http://meilisearch:7700 BROWSER_WEB_URL: http://chrome:9222 # OPENAI_API_KEY: ... DATA_DIR: /data HOARDER_VERSION: release NEXTAUTH_URL: http://192.168.178.124:3000 MEILI_MASTER_KEY: asdasd3243242kh34j2h34lk234h2lk34jh23lk4 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: image: getmeili/meilisearch:v1.6 restart: unless-stopped environment: MEILI_NO_ANALYTICS: "true" NEXTAUTH_SECRET: asdasd3243242kh34j2h34lk234h2lk34jh23lk4 volumes: - meilisearch:/meili_data volumes: meilisearch: data:`
kerem 2026-03-02 11:48:31 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@kamtschatka commented on GitHub (Oct 3, 2024):

that looks only like the chrome output and not like any hoarder output?

<!-- gh-comment-id:2391909084 --> @kamtschatka commented on GitHub (Oct 3, 2024): that looks only like the chrome output and not like any hoarder output?
Author
Owner

@funky123 commented on GitHub (Oct 4, 2024):

i just dont used portainer and created the .env file as in original installation guide and its working. But i am wondering how to just use a docker compose in portainer without need of .env file (since its not working this way)

<!-- gh-comment-id:2393372764 --> @funky123 commented on GitHub (Oct 4, 2024): i just dont used portainer and created the .env file as in original installation guide and its working. But i am wondering how to just use a docker compose in portainer without need of .env file (since its not working this way)
Author
Owner

@MohamedBassem commented on GitHub (Oct 4, 2024):

@funky123 it works. Set the environment variables in portainer as normal and replace the".env" file name in the compose file to be "stack.env"

<!-- gh-comment-id:2393375704 --> @MohamedBassem commented on GitHub (Oct 4, 2024): @funky123 it works. Set the environment variables in portainer as normal and replace the".env" file name in the compose file to be "stack.env"
Author
Owner

@kamtschatka commented on GitHub (Oct 13, 2024):

closing as there was no response. We can reopen if there is a response

<!-- gh-comment-id:2409029637 --> @kamtschatka commented on GitHub (Oct 13, 2024): closing as there was no response. We can reopen if there is a response
Author
Owner

@GAC-Machine commented on GitHub (Jan 11, 2025):

Same error as before. Not fixed as 2025-01-11.

[LOG]
Application error: a server-side exception has occurred (see the server logs for more information).
Digest: 2833486469

[System]
Running Docker for Windows (which includes Compose)
Platform Windows 11 Pro

Main Reference

https://www.reddit.com/r/selfhosted/comments/1graiao/help_installing_hoarder_for_a_seminoob/
https://docs.hoarder.app/Installation/docker/
https://linuxtldr.com/hoarder-bookmarking-app/

Terminal Log

2025-01-11 13:47:09 [next-auth][error][NO_SECRET] 
2025-01-11 13:47:09 https://next-auth.js.org/errors#no_secret Please define a `secret` in production. r [MissingSecretError]: Please define a `secret` in production.
2025-01-11 13:47:09     at t.assertConfig (/app/apps/web/.next/server/chunks/8195.js:3:20299)
2025-01-11 13:47:09     at m (/app/apps/web/.next/server/chunks/8195.js:3:13662)
2025-01-11 13:47:09     at async a (/app/apps/web/.next/server/chunks/8195.js:27:20595)
2025-01-11 13:47:09     at async a (/app/apps/web/.next/server/app/page.js:1:2960) {
2025-01-11 13:47:09   code: 'NO_SECRET'
2025-01-11 13:47:09 }
2025-01-11 13:47:09 [next-auth][error][NO_SECRET] 
2025-01-11 13:47:09 https://next-auth.js.org/errors#no_secret Please define a `secret` in production. r [MissingSecretError]: Please define a `secret` in production.
2025-01-11 13:47:09     at t.assertConfig (/app/apps/web/.next/server/chunks/8195.js:3:20299)
2025-01-11 13:47:09     at m (/app/apps/web/.next/server/chunks/8195.js:3:13662)
2025-01-11 13:47:09     at async a (/app/apps/web/.next/server/chunks/8195.js:27:20595)
2025-01-11 13:47:09     at async h (/app/apps/web/.next/server/chunks/350.js:1:10745) {
2025-01-11 13:47:09   code: 'NO_SECRET'
2025-01-11 13:47:09 }
2025-01-11 13:47:09 Error: There is a problem with the server configuration. Check the server logs for more information.
2025-01-11 13:47:09     at a (/app/apps/web/.next/server/chunks/8195.js:27:20843)
2025-01-11 13:47:09     at async a (/app/apps/web/.next/server/app/page.js:1:2960) {
2025-01-11 13:47:09   digest: '1111914970'
2025-01-11 13:47:09 }
2025-01-11 13:47:09 Error: There is a problem with the server configuration. Check the server logs for more information.
2025-01-11 13:47:09     at a (/app/apps/web/.next/server/chunks/8195.js:27:20843)
2025-01-11 13:47:09     at async h (/app/apps/web/.next/server/chunks/350.js:1:10745) {
2025-01-11 13:47:09   digest: '2833486469'
2025-01-11 13:47:09 }
2025-01-11 13:47:09 Error: There is a problem with the server configuration. Check the server logs for more information.
2025-01-11 13:47:09     at a (/app/apps/web/.next/server/chunks/8195.js:27:20843)
2025-01-11 13:47:09     at async h (/app/apps/web/.next/server/chunks/350.js:1:10745) {
2025-01-11 13:47:09   digest: '2833486469'
2025-01-11 13:47:09 }

.env file

HOARDER_VERSION=latest
NEXTAUTH_SECRET=SECRET_FAST
MEILI_MASTER_KEY=SECRET_FAST
NEXTAUTH_URL=http://localhost:3000

NOTE
In documentation, openssl is mentioned and you must use openssl rand -base64 36 command to generate random strings.
I've no idea how to use it (no guide about it, no docs found).

docker-compose.yml file

version: "3.8"
services:
  web:
    image: ghcr.io/hoarder-app/hoarder:${HOARDER_VERSION:-release}
    restart: unless-stopped
    volumes:
      - data:/data
    ports:
      - 32768:32768
    env_file:
      - .env
    environment:
      MEILI_ADDR: http://meilisearch:7700
      BROWSER_WEB_URL: http://chrome:9222
      # 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:
    image: getmeili/meilisearch:v1.11.1
    restart: unless-stopped
    env_file:
      - .env
    environment:
      MEILI_NO_ANALYTICS: "true"
    volumes:
      - meilisearch:/meili_data

volumes:
  meilisearch:
  data:

Questions

How can I fix this error ?
Am I missing something that I need to do ?

<!-- gh-comment-id:2585323086 --> @GAC-Machine commented on GitHub (Jan 11, 2025): Same error as before. Not fixed as 2025-01-11. [LOG] Application error: a server-side exception has occurred (see the server logs for more information). Digest: 2833486469 [System] Running Docker for Windows (which includes Compose) Platform Windows 11 Pro Main Reference >https://www.reddit.com/r/selfhosted/comments/1graiao/help_installing_hoarder_for_a_seminoob/ >https://docs.hoarder.app/Installation/docker/ >https://linuxtldr.com/hoarder-bookmarking-app/ Terminal Log ``` 2025-01-11 13:47:09 [next-auth][error][NO_SECRET] 2025-01-11 13:47:09 https://next-auth.js.org/errors#no_secret Please define a `secret` in production. r [MissingSecretError]: Please define a `secret` in production. 2025-01-11 13:47:09 at t.assertConfig (/app/apps/web/.next/server/chunks/8195.js:3:20299) 2025-01-11 13:47:09 at m (/app/apps/web/.next/server/chunks/8195.js:3:13662) 2025-01-11 13:47:09 at async a (/app/apps/web/.next/server/chunks/8195.js:27:20595) 2025-01-11 13:47:09 at async a (/app/apps/web/.next/server/app/page.js:1:2960) { 2025-01-11 13:47:09 code: 'NO_SECRET' 2025-01-11 13:47:09 } 2025-01-11 13:47:09 [next-auth][error][NO_SECRET] 2025-01-11 13:47:09 https://next-auth.js.org/errors#no_secret Please define a `secret` in production. r [MissingSecretError]: Please define a `secret` in production. 2025-01-11 13:47:09 at t.assertConfig (/app/apps/web/.next/server/chunks/8195.js:3:20299) 2025-01-11 13:47:09 at m (/app/apps/web/.next/server/chunks/8195.js:3:13662) 2025-01-11 13:47:09 at async a (/app/apps/web/.next/server/chunks/8195.js:27:20595) 2025-01-11 13:47:09 at async h (/app/apps/web/.next/server/chunks/350.js:1:10745) { 2025-01-11 13:47:09 code: 'NO_SECRET' 2025-01-11 13:47:09 } 2025-01-11 13:47:09 Error: There is a problem with the server configuration. Check the server logs for more information. 2025-01-11 13:47:09 at a (/app/apps/web/.next/server/chunks/8195.js:27:20843) 2025-01-11 13:47:09 at async a (/app/apps/web/.next/server/app/page.js:1:2960) { 2025-01-11 13:47:09 digest: '1111914970' 2025-01-11 13:47:09 } 2025-01-11 13:47:09 Error: There is a problem with the server configuration. Check the server logs for more information. 2025-01-11 13:47:09 at a (/app/apps/web/.next/server/chunks/8195.js:27:20843) 2025-01-11 13:47:09 at async h (/app/apps/web/.next/server/chunks/350.js:1:10745) { 2025-01-11 13:47:09 digest: '2833486469' 2025-01-11 13:47:09 } 2025-01-11 13:47:09 Error: There is a problem with the server configuration. Check the server logs for more information. 2025-01-11 13:47:09 at a (/app/apps/web/.next/server/chunks/8195.js:27:20843) 2025-01-11 13:47:09 at async h (/app/apps/web/.next/server/chunks/350.js:1:10745) { 2025-01-11 13:47:09 digest: '2833486469' 2025-01-11 13:47:09 } ``` .env file ``` HOARDER_VERSION=latest NEXTAUTH_SECRET=SECRET_FAST MEILI_MASTER_KEY=SECRET_FAST NEXTAUTH_URL=http://localhost:3000 ``` NOTE In documentation, `openssl` is mentioned and you must use `openssl rand -base64 36` command to generate random strings. I've no idea how to use it (no guide about it, no docs found). docker-compose.yml file ``` version: "3.8" services: web: image: ghcr.io/hoarder-app/hoarder:${HOARDER_VERSION:-release} restart: unless-stopped volumes: - data:/data ports: - 32768:32768 env_file: - .env environment: MEILI_ADDR: http://meilisearch:7700 BROWSER_WEB_URL: http://chrome:9222 # 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: image: getmeili/meilisearch:v1.11.1 restart: unless-stopped env_file: - .env environment: MEILI_NO_ANALYTICS: "true" volumes: - meilisearch:/meili_data volumes: meilisearch: data: ``` Questions >How can I fix this error ? >Am I missing something that I need to do ?
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#292
No description provided.