Install fails on Debian 13
Hi,
I created an LXC container with Debian 13 for the paperless ngx install. The ansible role (version 4.1.0) fails with the following message:
```bash
TASK [paperless_ngx.paperless_ngx : Install python virtualenv] **************************************************************
[ERROR]: Task failed: Module failed: Error executing command: [Errno 2] No such file or directory: b'/opt/python/3.11/bin/pip3.11'
Origin: /home/daniel/Projekte/paperless-ngx-ansible/roles/paperless_ngx.paperless_ngx/tasks/paperless_ngx/venv.yml:4:3
2 # upstream virtualenv in Ubuntu 20.04 is broken
3 # https://github.com/pypa/virtualenv/issues/1873
4 - name: Install python virtualenv
^ column 3
fatal: [paperless]: FAILED! => {"changed": false, "cmd": "/opt/python/3.11/bin/pip3.11 install --upgrade --user virtualenv", "msg": "Error executing command.", "rc": 2, "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
PLAY RECAP ******************************************************************************************************************
paperless : ok=51 changed=8 unreachable=0 failed=1 skipped=22 rescued=0 ignored=0
```
I used ssh to look around and found in `/opt` only:
```bash
root@Paperless:~# ls /opt
paperless-ngx
```
Since there is now folder called `python` the install fails. That's at least my understanding.
The reason for this seems to be
```bash
TASK [paperless_ngx.paperless_ngx : Download and extract python sources] ****************************************************
skipping: [paperless]
TASK [paperless_ngx.paperless_ngx : Run configure for python] ***************************************************************
skipping: [paperless]
```
关闭于 2025-12-26 5 条评论