Skip to content

Cannot change ownership to uid 197609, gid 197121: Invalid argument #54

Open
@botagas

Description

@botagas

Describe the bug

Install script fails after the unpacking phase. It is unable to set UID/GID with the error: Invalid argument.
This might be only relevant to LXCs.

Context

  • Hardware: LXC in Proxmox. 32GB RAM (nonECC), Ryzen 7 2700, RTX 2060, Asrock X370 Taichi MB.
  • YunoHost version: 12.0.7
  • I have access to my server: SSH, webadmin, keyboard/mouse
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no / yes
    • If yes, please explain:
  • Using, or trying to install package version/branch: 0.8.3.2~ynh2
  • If upgrading, current package version:

Steps to reproduce

  1. Try to install Kavita.
  2. Fail to do so.

Expected behavior

Successful install.

Logs

The log can be found here.

This error is most likely due to the default UID/GID used in Kavita, which is discussed in here. However, that was last year.
Various resources online have suggested a workaround using the arg --no-same-owner, such as here.

To do so, we have to edit the _common.sh file to add an arg to the ynh_setup_source function's tar command. I have tried to edit the _common.sh and install scripts in a separate fork here, which allows the app to successfully install.

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