Skip to content

Ollama script error (curl: (22) The requested URL returned error: 404)Β #5536

@woody4165

Description

@woody4165

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

yes

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

ollama lxc

πŸ“‚ 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/ollama.sh)"

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

  • Default Settings
  • Advanced Settings

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

Ubuntu 24.04

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

Hi

I'm trying to use the Ollama script on an updated Proxmox 8.4.1 and I get a curl 404 error as below

🧩 Using Advanced Settings on node nuc
πŸ–₯️ Operating System: ubuntu | 🌟 Version: 24.04
πŸ“¦ Container Type: Privileged
πŸ” Root Password: ********
πŸ†” Container ID: 102
🏠 Hostname: ollama
πŸ’Ύ Disk Size: 90 GB
🧠 CPU Cores: 4
πŸ› οΈ RAM Size: 12288 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;ai
πŸ”‘ Root SSH Access: yes
πŸ” Verbose Mode: no
πŸš€ Creating a Ollama LXC using the above advanced settings
βœ”οΈ Using local for Template Storage.
βœ”οΈ Using DATI for Container Storage.
βœ”οΈ LXC Template List Updated
βœ”οΈ LXC Template 'ubuntu-24.04-standard_24.04-2_amd64.tar.zst' is ready to use.
βœ”οΈ Started LXC Container
βœ”οΈ Customized LXC Container
curl: (22) The requested URL returned error: 404
Remove this Container? <y/N> y
βœ”οΈ Removed this Container
lxc-attach: 102: ../src/lxc/attach.c: get_attach_context: 406 Connection refused - Failed to get init pid
lxc-attach: 102: ../src/lxc/attach.c: lxc_attach: 1470 Connection refused - Failed to get attach context

If I say N to remove the container I get other error and again the question regarding removing the container.
[ERROR] in line 1285: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/install/$var_install.sh)" $?

Remove this Container? <y/N> y
/dev/fd/63: line 61: pop_var_context: head of shell_variables not a function context

πŸ”„ Steps to reproduce the issue.

Just followed normal script for lxc container

❌ Paste the full error output (if available).

🧩 Using Advanced Settings on node nuc
πŸ–₯️ Operating System: ubuntu | 🌟 Version: 24.04
πŸ“¦ Container Type: Privileged
πŸ” Root Password: ********
πŸ†” Container ID: 102
🏠 Hostname: ollama
πŸ’Ύ Disk Size: 90 GB
🧠 CPU Cores: 4
πŸ› οΈ RAM Size: 12288 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;ai
πŸ”‘ Root SSH Access: yes
πŸ” Verbose Mode: no
πŸš€ Creating a Ollama LXC using the above advanced settings
βœ”οΈ Using local for Template Storage.
βœ”οΈ Using DATI for Container Storage.
βœ”οΈ LXC Template List Updated
βœ”οΈ LXC Template 'ubuntu-24.04-standard_24.04-2_amd64.tar.zst' is ready to use.
βœ”οΈ Started LXC Container
βœ”οΈ Customized LXC Container
curl: (22) The requested URL returned error: 404
Remove this Container? <y/N> y
βœ”οΈ Removed this Container
lxc-attach: 102: ../src/lxc/attach.c: get_attach_context: 406 Connection refused - Failed to get init pid
lxc-attach: 102: ../src/lxc/attach.c: lxc_attach: 1470 Connection refused - Failed to get attach context

[ERROR] in line 1285: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/install/$var_install.sh)" $?

Remove this Container? <y/N> y
/dev/fd/63: line 61: pop_var_context: head of shell_variables not a function context

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

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggithubinvestigationWe are looking into it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions