question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to start Papermerge inside Docker

See original GitHub issue

In case you experience issues with docker image provided by linuxserver.io/papermerge, please open bug report in their repository.

Description Followed the description in the documentation to get started for setup.

  1. create a local docker-compose.yaml
  2. create .env file with content from mentioned as starting point inside documentation
APP_IMAGE=ghcr.io/papermerge/papermerge
APP_TAG=latest
PAPERMERGE_JS_IMAGE=ghcr.io/papermerge/papermerge.js
PAPERMERGE_JS_TAG=latest

DB_USER=postgres
DB_NAME=postgres
DB_PASSWORD=postgres
DB_HOST=db
DB_PORT=5432

USE_HOSTNAME=papermerge.local

REDIS_HOST=redis
REDIS_PORT=6379

ES_HOSTS=es
ES_PORT=9200

SECRET_KEY=12345abcdxyz

SUPERUSER_USERNAME=admin
SUPERUSER_EMAIL=admin@example.com
SUPERUSER_PASSWORD=admin
  1. Start on pwsh
docker compose -f docker-compose.yaml --env-file .env up
  1. login works as expected with default credentials (admin/admin)
  2. try to add folder

Expected No exception and application can be used

Actual error in js - Uncaught (in promise) TypeError: Q.randomUUID is not a function grafik

Info:

  • OS: Windows 10 Enterprise
  • Docker Desktop for windows v4.11.0 + WSL2
  • Browser Firefox/Edge/Chrome
  • Database PostgreSQL 14.4
  • Papermerge Version 2.1.0a37

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
4nxcommented, Aug 21, 2022

@ciur I can confirm that this fixed the problem.

0reactions
ciurcommented, Aug 21, 2022

The fix is now part of 2.1.0a39 docker image.

@makaanneo, @4nx could you please check papermerge.js:2.1.0a39 docker image and confirm that indeed it fixes the issue ?

Latest tag for backend docker image is 2.1.0a38 Latest tag for frontend docker image is 2.1.0a39

Read more comments on GitHub >

github_iconTop Results From Across the Web

Known Issues — Papermerge documentation - Read the Docs
If you use docker-compose file provided by papermerge repository, you will notice following error in papermerge_app docker container:.
Read more >
Common Issues — Papermerge DMS documentation
If you use docker-compose file provided by papermerge repository, you will notice following error in papermerge_app docker container:.
Read more >
[Support] Linuxserver.io - Papermerge - Page 4
I just updated my papermerge container to the latest version of papermerge 2.0.0.rc35 - after restarting my container i only get error 500...
Read more >
How to Fix and Debug Docker Containers Like a Superhero
Use the docker run --rm -it --name MYCONTAINER [IMAGE] bash command to open an interactive terminal within your container. Take the container's ...
Read more >
New Update broke my Instance (Docker) : r/Papermerge - Reddit
I updated linuxserver/papermerge and now i get a "Server Error (500)" after I ... line 1156, in execute_sql cursor.execute(sql, params) File ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found