Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

Qlik Catalog Installation fails with the error Insufficient UIDs or GIDs available in user namespace

100% helpful (1/1)
cancel
Showing results for 
Search instead for 
Did you mean: 
Gerald_U
Support
Support

Qlik Catalog Installation fails with the error Insufficient UIDs or GIDs available in user namespace

Last Update:

Aug 23, 2023 3:43:25 AM

Updated By:

Sonja_Bauernfeind

Created date:

Aug 23, 2023 3:43:25 AM

Launching the license container after a Qlik Catalog Installation fails with the error:

Insufficient UIDs or GIDs available in user namespace

Additional error lines:

oci: initializing source oci:/var/tmp/podman3573106205:: open /var/tmp/podman3573106205/index.json: not a directory

oci-archive: loading index: open /var/tmp/oci1338584737/index.json: no such file or directory

docker-archive: writing blob: adding layer with blob "sha256:c3ba2f1415f1b416fae0f52868faf234c0a3a054b047decb7562f77f407b4cc7": processing tar file(potentially insufficient UIDs or GIDs available in user namespace (requested 64900:0 for /usr/local/bin/licenses): Check /etc/subuid and /etc/subgid if configured locally and run podman-system-migrate: lchown /usr/local/bin/licenses: invalid argument): exit status 1

dir: open /var/tmp/podman3573106205/manifest.json: not a directory
Error: Qlik Licenses container image load unsuccessful, exit code: 125loading Qlik Licenses container image

 

Resolution

  1. Increase the number of available UIDs and GIDs.

    By default, a limited range of UIDs and GIDs is available within user namespaces. You can increase this range to have more UIDs and GIDs available for your processes.

    To do this, you can modify the /etc/subuid and /etc/subgid files. These files allow you to specify ranges of UIDs and GIDs that can be used by user namespaces.

    Open the /etc/subuid file with a text editor (e.g., vi or nano) and add a new line to extend the UID range:
    your_username:100000:65536

    Replace your_username with your actual username. The numbers 100000 and 65536 represent the starting UID and the number of UIDs to make available, respectively.

    Similarly, open the /etc/subgid file and add a line to extend the GID range:
    your_username:100000:65536

  2. Reload the changes.

    After modifying the /etc/subuid and /etc/subgid files, you need to reload the changes. You can use the newuidmap and newgidmap commands for this purpose:

    sudo newuidmap your_username
    sudo newgidmap your_username

    Make sure to replace your_username with your actual username.

  3. Start the containers again, if it fails again, please contact support and provide the output. 

 

Cause 

Insufficient UIDs or GIDs available in user namespace (requested <UID>:<GID> for /<PATH> ).

 

Environment

Qlik Catalog 

 

Labels (1)
Version history
Last update:
‎2023-08-23 03:43 AM
Updated by: