the-paperless-project / paperless

Scan, index, and archive all of your paper documents
GNU General Public License v3.0
7.84k stars 501 forks source link

docker-compose fails to build with the last version of Pipenv #694

Open CkuT opened 3 years ago

CkuT commented 3 years ago

Hey,

docker-compose up -d fails to build & start with the last version of Pipenv. The displayed error is very similar to this one: https://github.com/pypa/pipenv/issues/4220

A working workaround for me was to use an older version of Pipenv in the Dockerfile, as described in the linked issue above:

    cd /usr/src/paperless && \
-   pip3 install --upgrade pip pipenv && \
+   pip3 install --upgrade pip pipenv==2018.11.26 && \
    pipenv install --system --deploy && \
smarticu5 commented 3 years ago

I'm seeing the exact same. Thanks for the workaround!

suhrmann commented 3 years ago

I am having this same error and your fix helps on Raspberry Pi. Big thx CkuT !!!

$ uname -a
Linux raspberrypi 4.19.118-v7l+ #1311 SMP Mon Apr 27 14:26:42 BST 2020 armv7l GNU/Linux
Tooa commented 3 years ago

Thanks for the workaround. Do you mind opening a pull request to fix the issue?