-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
β 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