Skip to content

Unarchive task fails if paperless_ngx_conf_usermap_uid != 1000 #239

Open
@borismw

Description

@borismw

Steps to reproduce:

  • run this paperless-ngx role with paperless_ngx_conf_usermap_uid != 1000

What happens?

  • On the following tasks the program doing the actual unpacking fails with bad address
    • tasks/base_dependencies/python.yml -> Download and extract python sources
    • tasks/paperless_ngx/release_files.yml -> Download and extract paperless-ngx

Hi 👋🏾
thanks a lot for this ansible role, it is great work and I really appreciate it. I noticed that when I choose a uid other than 1000 for the paperlessngx system user, the ansible.builtin.unarchive step fails. Since the files in the archives are owned by a user with the uid 1000 the untar process refuses to change its ownership. This happens even though the tasks are have the become field set to true. I hope this is reproducible. I will come up with a PR #240 with a proposal on how to fix this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions