Skip to content

Failing to create LXC with "flock: cannot set up timer"Β #5591

@gmontard

Description

@gmontard

βœ… Have you read and understood the above guidelines?

yes

πŸ“œ What is the name of the script you are using?

Uptime Kuma

πŸ“‚ What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/uptimekuma.sh)"

βš™οΈ What settings are you using?

  • Default Settings
  • Advanced Settings

πŸ–₯️ Which Linux distribution are you using?

Debian 12

πŸ“ Provide a clear and concise description of the issue.

Uptime Kuma requires to create an LXC, when it's trying to create it, it throws a very weird error about a timeout on the lockfile of the template.

πŸ”„ Steps to reproduce the issue.

bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/uptimekuma.sh)"

❌ Paste the full error output (if available).

🧩 Using Advanced Settings on node pve-nas
πŸ–₯️ Operating System: debian
🌟 Version: 12
πŸ“¦ Container Type: Unprivileged
πŸ” Root Password: Automatic Login
πŸ†” Container ID: 114
🏠 Hostname: uptimekuma
πŸ’Ύ Disk Size: 4 GB
🧠 CPU Cores: 1
πŸ› οΈ RAM Size: 1024 MiB
πŸŒ‰ Bridge: vmbr0
πŸ“‘ IPv4: DHCP
πŸ“‘ IPv6: SLAAC/AUTO
πŸ“‘ APT-Cacher IP Address: Default
βš™οΈ Interface MTU Size: Default
πŸ” DNS Search Domain: Host
πŸ“‘ DNS Server IP Address: Host
🏷️ Vlan: Default
πŸ“‘ Tags: community-script;analytics;monitoring
πŸ”‘ Root SSH Access: no
πŸ—‚οΈ Enable FUSE Support: no
πŸ” Verbose Mode: yes
πŸš€ Creating a Uptime Kuma LXC using the above advanced settings
βœ”οΈ Using local for Template Storage.
βœ”οΈ Using local-lvm for Container Storage.
βœ”οΈ Cluster is quorate
βœ”οΈ LXC Template List Updated
βœ”οΈ LXC Template 'debian-12-standard_12.7-1_amd64.tar.zst' is ready to use.
flock: cannot set up timer: Resource temporarily unavailable
βœ–οΈ Timeout while waiting for template lock

[ERROR] in line 1096: exit code 0: while executing command bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/misc/create_lxc.sh)" $?

πŸ–ΌοΈ Additional context (optional).

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions