[GH-ISSUE #11174] Linkwarden 2.13.5 new install using adv settings and verbose mode fails again on CARGO env #2388

Closed
opened 2026-02-26 12:52:17 +03:00 by kerem · 9 comments
Owner

Originally created by @mkotek on GitHub (Jan 25, 2026).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/11174

Originally assigned to: @MickLesk on GitHub.

Have you read and understood the above guidelines?

yes

🔎 Did you run the script with verbose mode enabled?

Yes, verbose mode was enabled and the output is included below

📜 What is the name of the script you are using?

Linkwarden 2.13.5

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/linkwarden.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Ubuntu 24.04

📈 Which Proxmox version are you on?

9.1.4

📝 Provide a clear and concise description of the issue.

When trying to install linkwarden using advanced settings, during istall it needs the env variable to be set as rust binary is not found after instalartion:
✖️ Rust binary not found after installation
✖️ in line 24: exit code 24 (Unknown error): while executing command return 1
✖️ Installation failed in container 110 (exit code: 24)

The log file for the instalation is empty BTW.

🔄 Steps to reproduce the issue.

  1. Start install of linkwarden
  2. Set options using Advanced Settings and Verbose install
  3. Install fails on the Rust not found
  4. No way to restart the script

Paste the full error output (if available).

Partial logs (no errors before:
Processing triggers for man-db (2.12.0-4build2) ...
✔️ Installed Dependencies
Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Get:1 https://deb.nodesource.com/node_22.x nodistro InRelease [12.1 kB]
Get:2 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages [9068 B]
Hit:3 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:5 http://archive.ubuntu.com/ubuntu noble-security InRelease
Fetched 21.2 kB in 0s (50.9 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
nodejs
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 37.6 MB of archives.
After this operation, 237 MB of additional disk space will be used.
Get:1 https://deb.nodesource.com/node_22.x nodistro/main amd64 nodejs amd64 22.22.0-1nodesource1 [37.6 MB]
Fetched 37.6 MB in 0s (89.6 MB/s)
Selecting previously unselected package nodejs.
(Reading database ... 26466 files and directories currently installed.)
Preparing to unpack .../nodejs_22.22.0-1nodesource1_amd64.deb ...
Unpacking nodejs (22.22.0-1nodesource1) ...
Setting up nodejs (22.22.0-1nodesource1) ...
Processing triggers for man-db (2.12.0-4build2) ...

removed 56 packages, and changed 100 packages in 2s

15 packages are looking for funding
run npm fund for details
✔️ Setup Node.js 22
Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:2 https://deb.nodesource.com/node_22.x nodistro InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu noble-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Hit:1 https://deb.nodesource.com/node_22.x nodistro InRelease
Get:2 https://apt.postgresql.org/pub/repos/apt noble-pgdg InRelease [107 kB]
Get:3 https://apt.postgresql.org/pub/repos/apt noble-pgdg/main amd64 Packages [356 kB]
Hit:4 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:5 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:6 http://archive.ubuntu.com/ubuntu noble-security InRelease
Fetched 463 kB in 0s (996 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Hit:1 https://deb.nodesource.com/node_22.x nodistro InRelease
Hit:2 https://apt.postgresql.org/pub/repos/apt noble-pgdg InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:5 http://archive.ubuntu.com/ubuntu noble-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ssl-cert is already the newest version (1.1.2ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libcommon-sense-perl libjson-perl libjson-xs-perl libllvm19 libpq5 libtypes-serialiser-perl libxslt1.1
postgresql-client-common postgresql-common
Suggested packages:
libpq-oauth postgresql-doc-16
The following NEW packages will be installed:
libcommon-sense-perl libjson-perl libjson-xs-perl libllvm19 libpq5 libtypes-serialiser-perl libxslt1.1 postgresql-16
postgresql-client-16 postgresql-client-common postgresql-common
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 47.8 MB of archives.
After this operation, 198 MB of additional disk space will be used.
Get:1 https://apt.postgresql.org/pub/repos/apt noble-pgdg/main amd64 postgresql-client-common all 287.pgdg24.04+1 [47.9 kB]
Get:2 https://apt.postgresql.org/pub/repos/apt noble-pgdg/main amd64 postgresql-common all 287.pgdg24.04+1 [112 kB]
Get:3 http://archive.ubuntu.com/ubuntu noble/main amd64 libjson-perl all 4.10000-1 [81.9 kB]
Get:4 https://apt.postgresql.org/pub/repos/apt noble-pgdg/main amd64 libpq5 amd64 18.1-1.pgdg24.04+2 [245 kB]
Get:5 https://apt.postgresql.org/pub/repos/apt noble-pgdg/main amd64 postgresql-client-16 amd64 16.11-1.pgdg24.04+1 [1935 kB]
Get:6 https://apt.postgresql.org/pub/repos/apt noble-pgdg/main amd64 postgresql-16 amd64 16.11-1.pgdg24.04+1 [16.3 MB]
Get:7 http://archive.ubuntu.com/ubuntu noble/main amd64 libcommon-sense-perl amd64 3.75-3build3 [20.4 kB]
Get:8 http://archive.ubuntu.com/ubuntu noble/main amd64 libtypes-serialiser-perl all 1.01-1 [11.6 kB]
Get:9 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libjson-xs-perl amd64 4.040-0ubuntu0.24.04.1 [83.7 kB]
Get:10 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libllvm19 amd64 1:19.1.1-1ubuntu124.04.2 [28.7 MB]
Get:11 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libxslt1.1 amd64 1.1.39-0exp1ubuntu0.24.04.3 [168 kB]
Fetched 47.8 MB in 1s (34.8 MB/s)
Preconfiguring packages ...
Selecting previously unselected package libjson-perl.
(Reading database ... 32641 files and directories currently installed.)
Preparing to unpack .../00-libjson-perl_4.10000-1_all.deb ...
Unpacking libjson-perl (4.10000-1) ...
Selecting previously unselected package postgresql-client-common.
Preparing to unpack .../01-postgresql-client-common_287.pgdg24.04+1_all.deb ...
Unpacking postgresql-client-common (287.pgdg24.04+1) ...
Selecting previously unselected package postgresql-common.
Preparing to unpack .../02-postgresql-common_287.pgdg24.04+1_all.deb ...
Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common'
Unpacking postgresql-common (287.pgdg24.04+1) ...
Selecting previously unselected package libcommon-sense-perl:amd64.
Preparing to unpack .../03-libcommon-sense-perl_3.75-3build3_amd64.deb ...
Unpacking libcommon-sense-perl:amd64 (3.75-3build3) ...
Selecting previously unselected package libtypes-serialiser-perl.
Preparing to unpack .../04-libtypes-serialiser-perl_1.01-1_all.deb ...
Unpacking libtypes-serialiser-perl (1.01-1) ...
Selecting previously unselected package libjson-xs-perl.
Preparing to unpack .../05-libjson-xs-perl_4.040-0ubuntu0.24.04.1_amd64.deb ...
Unpacking libjson-xs-perl (4.040-0ubuntu0.24.04.1) ...
Selecting previously unselected package libllvm19:amd64.
Preparing to unpack .../06-libllvm19_1%3a19.1.1-1ubuntu1
24.04.2_amd64.deb ...
Unpacking libllvm19:amd64 (1:19.1.1-1ubuntu124.04.2) ...
Selecting previously unselected package libpq5:amd64.
Preparing to unpack .../07-libpq5_18.1-1.pgdg24.04+2_amd64.deb ...
Unpacking libpq5:amd64 (18.1-1.pgdg24.04+2) ...
Selecting previously unselected package libxslt1.1:amd64.
Preparing to unpack .../08-libxslt1.1_1.1.39-0exp1ubuntu0.24.04.3_amd64.deb ...
Unpacking libxslt1.1:amd64 (1.1.39-0exp1ubuntu0.24.04.3) ...
Selecting previously unselected package postgresql-client-16.
Preparing to unpack .../09-postgresql-client-16_16.11-1.pgdg24.04+1_amd64.deb ...
Unpacking postgresql-client-16 (16.11-1.pgdg24.04+1) ...
Selecting previously unselected package postgresql-16.
Preparing to unpack .../10-postgresql-16_16.11-1.pgdg24.04+1_amd64.deb ...
Unpacking postgresql-16 (16.11-1.pgdg24.04+1) ...
Setting up postgresql-client-common (287.pgdg24.04+1) ...
Setting up libllvm19:amd64 (1:19.1.1-1ubuntu1
24.04.2) ...
Setting up libpq5:amd64 (18.1-1.pgdg24.04+2) ...
Setting up libcommon-sense-perl:amd64 (3.75-3build3) ...
Setting up libtypes-serialiser-perl (1.01-1) ...
Setting up libjson-perl (4.10000-1) ...
Setting up libxslt1.1:amd64 (1.1.39-0exp1ubuntu0.24.04.3) ...
Setting up libjson-xs-perl (4.040-0ubuntu0.24.04.1) ...
Setting up postgresql-client-16 (16.11-1.pgdg24.04+1) ...
update-alternatives: using /usr/share/postgresql/16/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode
Setting up postgresql-common (287.pgdg24.04+1) ...

Creating config file /etc/postgresql-common/createcluster.conf with new version
Building PostgreSQL dictionaries from installed myspell/hunspell packages...
Removing obsolete dictionary files:
Created symlink /etc/systemd/system/multi-user.target.wants/postgresql.service -> /usr/lib/systemd/system/postgresql.service.
Setting up postgresql-16 (16.11-1.pgdg24.04+1) ...
Creating new PostgreSQL cluster 16/main ...
/usr/lib/postgresql/16/bin/initdb -D /var/lib/postgresql/16/main --auth-local peer --auth-host scram-sha-256 --no-instructions
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale "en_US.UTF-8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".

Data page checksums are disabled.

fixing permissions on existing directory /var/lib/postgresql/16/main ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... Europe/Warsaw
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for libc-bin (2.39-0ubuntu8.6) ...
✔️ Setup PostgreSQL 16
Setup Rust (stable)info: downloading installer
info: profile set to 'default'
info: default host triple is x86_64-unknown-linux-gnu
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2026-01-22, rust version 1.93.0 (254b59607 2026-01-19)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
info: downloading component 'rustc'
74.4 MiB / 74.4 MiB (100 %) 47.1 MiB/s in 1s
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
20.7 MiB / 20.7 MiB (100 %) 17.2 MiB/s in 1s
info: installing component 'rust-std'
28.2 MiB / 28.2 MiB (100 %) 8.4 MiB/s in 1s
info: installing component 'rustc'
74.4 MiB / 74.4 MiB (100 %) 22.5 MiB/s in 3s
info: installing component 'rustfmt'
info: default toolchain set to 'stable-x86_64-unknown-linux-gnu'

stable-x86_64-unknown-linux-gnu installed - rustc 1.93.0 (254b59607 2026-01-19)

Rust is installed now. Great!

To get started you may need to restart your current shell.
This would reload your PATH environment variable to include
Cargo's bin directory ($HOME/.cargo/bin).

To configure your current shell, you need to source
the corresponding env file under $HOME/.cargo.

This is usually done by running one of the following (note the leading DOT):
. "$HOME/.cargo/env" # For sh/bash/zsh/ash/dash/pdksh
source "$HOME/.cargo/env.fish" # For fish
source $"($nu.home-path)/.cargo/env.nu" # For nushell
✖️ Rust binary not found after installation
✖️ in line 24: exit code 24 (Unknown error): while executing command return 1
✖️ Installation failed in container 110 (exit code: 24)

✔ Installation log: /tmp/install-lxc-110-c71b1600.log

Remove broken container 110? (Y/n) [auto-remove in 60s]:

🖼️ Additional context (optional).

How do I run the env command and restart the script or fizx the script to create a new instance succesfully?

Originally created by @mkotek on GitHub (Jan 25, 2026). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/11174 Originally assigned to: @MickLesk on GitHub. ### ✅ Have you read and understood the above guidelines? yes ### 🔎 Did you run the script with verbose mode enabled? Yes, verbose mode was enabled and the output is included below ### 📜 What is the name of the script you are using? Linkwarden 2.13.5 ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/linkwarden.sh)" ### ⚙️ What settings are you using? - [ ] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Ubuntu 24.04 ### 📈 Which Proxmox version are you on? 9.1.4 ### 📝 Provide a clear and concise description of the issue. When trying to install linkwarden using advanced settings, during istall it needs the env variable to be set as rust binary is not found after instalartion: ✖️ Rust binary not found after installation ✖️ in line 24: exit code 24 (Unknown error): while executing command return 1 ✖️ Installation failed in container 110 (exit code: 24) The log file for the instalation is empty BTW. ### 🔄 Steps to reproduce the issue. 1. Start install of linkwarden 2. Set options using Advanced Settings and Verbose install 3. Install fails on the Rust not found 4. No way to restart the script ### ❌ Paste the full error output (if available). Partial logs (no errors before: Processing triggers for man-db (2.12.0-4build2) ... ✔️ Installed Dependencies Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease Hit:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease Hit:3 http://archive.ubuntu.com/ubuntu noble-security InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. Get:1 https://deb.nodesource.com/node_22.x nodistro InRelease [12.1 kB] Get:2 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages [9068 B] Hit:3 http://archive.ubuntu.com/ubuntu noble InRelease Hit:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease Hit:5 http://archive.ubuntu.com/ubuntu noble-security InRelease Fetched 21.2 kB in 0s (50.9 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: nodejs 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 37.6 MB of archives. After this operation, 237 MB of additional disk space will be used. Get:1 https://deb.nodesource.com/node_22.x nodistro/main amd64 nodejs amd64 22.22.0-1nodesource1 [37.6 MB] Fetched 37.6 MB in 0s (89.6 MB/s) Selecting previously unselected package nodejs. (Reading database ... 26466 files and directories currently installed.) Preparing to unpack .../nodejs_22.22.0-1nodesource1_amd64.deb ... Unpacking nodejs (22.22.0-1nodesource1) ... Setting up nodejs (22.22.0-1nodesource1) ... Processing triggers for man-db (2.12.0-4build2) ... removed 56 packages, and changed 100 packages in 2s 15 packages are looking for funding run `npm fund` for details ✔️ Setup Node.js 22 Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease Hit:2 https://deb.nodesource.com/node_22.x nodistro InRelease Hit:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease Hit:4 http://archive.ubuntu.com/ubuntu noble-security InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. Hit:1 https://deb.nodesource.com/node_22.x nodistro InRelease Get:2 https://apt.postgresql.org/pub/repos/apt noble-pgdg InRelease [107 kB] Get:3 https://apt.postgresql.org/pub/repos/apt noble-pgdg/main amd64 Packages [356 kB] Hit:4 http://archive.ubuntu.com/ubuntu noble InRelease Hit:5 http://archive.ubuntu.com/ubuntu noble-updates InRelease Hit:6 http://archive.ubuntu.com/ubuntu noble-security InRelease Fetched 463 kB in 0s (996 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. Hit:1 https://deb.nodesource.com/node_22.x nodistro InRelease Hit:2 https://apt.postgresql.org/pub/repos/apt noble-pgdg InRelease Hit:3 http://archive.ubuntu.com/ubuntu noble InRelease Hit:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease Hit:5 http://archive.ubuntu.com/ubuntu noble-security InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. Reading package lists... Done Building dependency tree... Done Reading state information... Done ssl-cert is already the newest version (1.1.2ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: libcommon-sense-perl libjson-perl libjson-xs-perl libllvm19 libpq5 libtypes-serialiser-perl libxslt1.1 postgresql-client-common postgresql-common Suggested packages: libpq-oauth postgresql-doc-16 The following NEW packages will be installed: libcommon-sense-perl libjson-perl libjson-xs-perl libllvm19 libpq5 libtypes-serialiser-perl libxslt1.1 postgresql-16 postgresql-client-16 postgresql-client-common postgresql-common 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. Need to get 47.8 MB of archives. After this operation, 198 MB of additional disk space will be used. Get:1 https://apt.postgresql.org/pub/repos/apt noble-pgdg/main amd64 postgresql-client-common all 287.pgdg24.04+1 [47.9 kB] Get:2 https://apt.postgresql.org/pub/repos/apt noble-pgdg/main amd64 postgresql-common all 287.pgdg24.04+1 [112 kB] Get:3 http://archive.ubuntu.com/ubuntu noble/main amd64 libjson-perl all 4.10000-1 [81.9 kB] Get:4 https://apt.postgresql.org/pub/repos/apt noble-pgdg/main amd64 libpq5 amd64 18.1-1.pgdg24.04+2 [245 kB] Get:5 https://apt.postgresql.org/pub/repos/apt noble-pgdg/main amd64 postgresql-client-16 amd64 16.11-1.pgdg24.04+1 [1935 kB] Get:6 https://apt.postgresql.org/pub/repos/apt noble-pgdg/main amd64 postgresql-16 amd64 16.11-1.pgdg24.04+1 [16.3 MB] Get:7 http://archive.ubuntu.com/ubuntu noble/main amd64 libcommon-sense-perl amd64 3.75-3build3 [20.4 kB] Get:8 http://archive.ubuntu.com/ubuntu noble/main amd64 libtypes-serialiser-perl all 1.01-1 [11.6 kB] Get:9 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libjson-xs-perl amd64 4.040-0ubuntu0.24.04.1 [83.7 kB] Get:10 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libllvm19 amd64 1:19.1.1-1ubuntu1~24.04.2 [28.7 MB] Get:11 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libxslt1.1 amd64 1.1.39-0exp1ubuntu0.24.04.3 [168 kB] Fetched 47.8 MB in 1s (34.8 MB/s) Preconfiguring packages ... Selecting previously unselected package libjson-perl. (Reading database ... 32641 files and directories currently installed.) Preparing to unpack .../00-libjson-perl_4.10000-1_all.deb ... Unpacking libjson-perl (4.10000-1) ... Selecting previously unselected package postgresql-client-common. Preparing to unpack .../01-postgresql-client-common_287.pgdg24.04+1_all.deb ... Unpacking postgresql-client-common (287.pgdg24.04+1) ... Selecting previously unselected package postgresql-common. Preparing to unpack .../02-postgresql-common_287.pgdg24.04+1_all.deb ... Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common' Unpacking postgresql-common (287.pgdg24.04+1) ... Selecting previously unselected package libcommon-sense-perl:amd64. Preparing to unpack .../03-libcommon-sense-perl_3.75-3build3_amd64.deb ... Unpacking libcommon-sense-perl:amd64 (3.75-3build3) ... Selecting previously unselected package libtypes-serialiser-perl. Preparing to unpack .../04-libtypes-serialiser-perl_1.01-1_all.deb ... Unpacking libtypes-serialiser-perl (1.01-1) ... Selecting previously unselected package libjson-xs-perl. Preparing to unpack .../05-libjson-xs-perl_4.040-0ubuntu0.24.04.1_amd64.deb ... Unpacking libjson-xs-perl (4.040-0ubuntu0.24.04.1) ... Selecting previously unselected package libllvm19:amd64. Preparing to unpack .../06-libllvm19_1%3a19.1.1-1ubuntu1~24.04.2_amd64.deb ... Unpacking libllvm19:amd64 (1:19.1.1-1ubuntu1~24.04.2) ... Selecting previously unselected package libpq5:amd64. Preparing to unpack .../07-libpq5_18.1-1.pgdg24.04+2_amd64.deb ... Unpacking libpq5:amd64 (18.1-1.pgdg24.04+2) ... Selecting previously unselected package libxslt1.1:amd64. Preparing to unpack .../08-libxslt1.1_1.1.39-0exp1ubuntu0.24.04.3_amd64.deb ... Unpacking libxslt1.1:amd64 (1.1.39-0exp1ubuntu0.24.04.3) ... Selecting previously unselected package postgresql-client-16. Preparing to unpack .../09-postgresql-client-16_16.11-1.pgdg24.04+1_amd64.deb ... Unpacking postgresql-client-16 (16.11-1.pgdg24.04+1) ... Selecting previously unselected package postgresql-16. Preparing to unpack .../10-postgresql-16_16.11-1.pgdg24.04+1_amd64.deb ... Unpacking postgresql-16 (16.11-1.pgdg24.04+1) ... Setting up postgresql-client-common (287.pgdg24.04+1) ... Setting up libllvm19:amd64 (1:19.1.1-1ubuntu1~24.04.2) ... Setting up libpq5:amd64 (18.1-1.pgdg24.04+2) ... Setting up libcommon-sense-perl:amd64 (3.75-3build3) ... Setting up libtypes-serialiser-perl (1.01-1) ... Setting up libjson-perl (4.10000-1) ... Setting up libxslt1.1:amd64 (1.1.39-0exp1ubuntu0.24.04.3) ... Setting up libjson-xs-perl (4.040-0ubuntu0.24.04.1) ... Setting up postgresql-client-16 (16.11-1.pgdg24.04+1) ... update-alternatives: using /usr/share/postgresql/16/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode Setting up postgresql-common (287.pgdg24.04+1) ... Creating config file /etc/postgresql-common/createcluster.conf with new version Building PostgreSQL dictionaries from installed myspell/hunspell packages... Removing obsolete dictionary files: Created symlink /etc/systemd/system/multi-user.target.wants/postgresql.service -> /usr/lib/systemd/system/postgresql.service. Setting up postgresql-16 (16.11-1.pgdg24.04+1) ... Creating new PostgreSQL cluster 16/main ... /usr/lib/postgresql/16/bin/initdb -D /var/lib/postgresql/16/main --auth-local peer --auth-host scram-sha-256 --no-instructions The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with locale "en_US.UTF-8". The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". Data page checksums are disabled. fixing permissions on existing directory /var/lib/postgresql/16/main ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... Europe/Warsaw creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok syncing data to disk ... ok Processing triggers for man-db (2.12.0-4build2) ... Processing triggers for libc-bin (2.39-0ubuntu8.6) ... ✔️ Setup PostgreSQL 16 ⏳ Setup Rust (stable)info: downloading installer info: profile set to 'default' info: default host triple is x86_64-unknown-linux-gnu info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu' info: latest update on 2026-01-22, rust version 1.93.0 (254b59607 2026-01-19) info: downloading component 'cargo' info: downloading component 'clippy' info: downloading component 'rust-docs' info: downloading component 'rust-std' info: downloading component 'rustc' 74.4 MiB / 74.4 MiB (100 %) 47.1 MiB/s in 1s info: downloading component 'rustfmt' info: installing component 'cargo' info: installing component 'clippy' info: installing component 'rust-docs' 20.7 MiB / 20.7 MiB (100 %) 17.2 MiB/s in 1s info: installing component 'rust-std' 28.2 MiB / 28.2 MiB (100 %) 8.4 MiB/s in 1s info: installing component 'rustc' 74.4 MiB / 74.4 MiB (100 %) 22.5 MiB/s in 3s info: installing component 'rustfmt' info: default toolchain set to 'stable-x86_64-unknown-linux-gnu' stable-x86_64-unknown-linux-gnu installed - rustc 1.93.0 (254b59607 2026-01-19) Rust is installed now. Great! To get started you may need to restart your current shell. This would reload your PATH environment variable to include Cargo's bin directory ($HOME/.cargo/bin). To configure your current shell, you need to source the corresponding env file under $HOME/.cargo. This is usually done by running one of the following (note the leading DOT): . "$HOME/.cargo/env" # For sh/bash/zsh/ash/dash/pdksh source "$HOME/.cargo/env.fish" # For fish source $"($nu.home-path)/.cargo/env.nu" # For nushell ✖️ Rust binary not found after installation ✖️ in line 24: exit code 24 (Unknown error): while executing command return 1 ✖️ Installation failed in container 110 (exit code: 24) ✔ Installation log: /tmp/install-lxc-110-c71b1600.log Remove broken container 110? (Y/n) [auto-remove in 60s]: ### 🖼️ Additional context (optional). How do I run the env command and restart the script or fizx the script to create a new instance succesfully?
kerem 2026-02-26 12:52:17 +03:00
Author
Owner

@mkotek commented on GitHub (Jan 25, 2026):

I have also tried to install it using Default settings and failed.
Here is the result:
💡 PVE Version 9.1.4 (Kernel: 6.14.11-4-pve)
🆔 Container ID: 110
🖥️ Operating System: ubuntu (24.04)
📦 Container Type: Unprivileged
💾 Disk Size: 12 GB
🧠 CPU Cores: 2
🛠️ RAM Size: 4096 MiB
🚀 Creating a Linkwarden LXC using the above default settings

✔️ Storage local (Free: 32.3GB Used: 14.2GB) [Template]
✔️ Storage local-lvm (Free: 588.5GB Used: 189.8GB) [Container]
✔️ Storage 'local-lvm' (lvmthin) validated
✔️ Template storage 'local' validated
✔️ Cluster is quorate
✔️ Template search completed
✔️ Template ubuntu-24.04-standard_24.04-2_amd64.tar.zst [local]
✔️ LXC Container 110 was successfully created.
✔️ Started LXC Container
✔️ Network in LXC is reachable (ping)
✔️ Customized LXC Container
✔️ Set up Container OS
✔️ Network Connected: 192.168.11.19
✔️ IPv4 Internet Connected
✖️ IPv6 Internet Not Connected
✔️ Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ )
✔️ Updated Container OS
✔️ Installed Dependencies
/dev/fd/63: line 121: HOME: unbound variable
✖️ Installation failed in container 110 (exit code: 1)

<!-- gh-comment-id:3796472566 --> @mkotek commented on GitHub (Jan 25, 2026): I have also tried to install it using Default settings and failed. Here is the result: 💡 PVE Version 9.1.4 (Kernel: 6.14.11-4-pve) 🆔 Container ID: 110 🖥️ Operating System: ubuntu (24.04) 📦 Container Type: Unprivileged 💾 Disk Size: 12 GB 🧠 CPU Cores: 2 🛠️ RAM Size: 4096 MiB 🚀 Creating a Linkwarden LXC using the above default settings ✔️ Storage local (Free: 32.3GB Used: 14.2GB) [Template] ✔️ Storage local-lvm (Free: 588.5GB Used: 189.8GB) [Container] ✔️ Storage 'local-lvm' (lvmthin) validated ✔️ Template storage 'local' validated ✔️ Cluster is quorate ✔️ Template search completed ✔️ Template ubuntu-24.04-standard_24.04-2_amd64.tar.zst [local] ✔️ LXC Container 110 was successfully created. ✔️ Started LXC Container ✔️ Network in LXC is reachable (ping) ✔️ Customized LXC Container ✔️ Set up Container OS ✔️ Network Connected: 192.168.11.19 ✔️ IPv4 Internet Connected ✖️ IPv6 Internet Not Connected ✔️ Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ ) ✔️ Updated Container OS ✔️ Installed Dependencies /dev/fd/63: line 121: HOME: unbound variable ✖️ Installation failed in container 110 (exit code: 1)
Author
Owner

@vhsdream commented on GitHub (Jan 25, 2026):

@mkotek Are you running this from the actual Proxmox node console, or from an SSH connection?

It seems like your shell is unable to access any environment variables; I've just run through an installation of Linkwarden and it succeeded.

Image
<!-- gh-comment-id:3797047639 --> @vhsdream commented on GitHub (Jan 25, 2026): @mkotek Are you running this from the actual Proxmox node console, or from an SSH connection? It seems like your shell is unable to access any environment variables; I've just run through an installation of Linkwarden and it succeeded. <img width="735" height="350" alt="Image" src="https://github.com/user-attachments/assets/2839ac78-94ae-45eb-91f4-a37649d37343" />
Author
Owner

@mkotek commented on GitHub (Jan 25, 2026):

i have been using Proxmox console on the node I want the new LXC created, just like with any other script. The container is created, I can even login to it as expected. But the install script breaks on the way as reported.

<!-- gh-comment-id:3797126567 --> @mkotek commented on GitHub (Jan 25, 2026): i have been using Proxmox console on the node I want the new LXC created, just like with any other script. The container is created, I can even login to it as expected. But the install script breaks on the way as reported.
Author
Owner

@MickLesk commented on GitHub (Jan 25, 2026):

have you tried to reboot your host? very strange, your system can not load the env's, cant load HOME, and kills with exit code 1. Very Very Strange

<!-- gh-comment-id:3797129411 --> @MickLesk commented on GitHub (Jan 25, 2026): have you tried to reboot your host? very strange, your system can not load the env's, cant load HOME, and kills with exit code 1. Very Very Strange
Author
Owner

@mkotek commented on GitHub (Jan 25, 2026):

I can see, this error had been already occuring and has been supposedly fixed. For now, I have installed a dedicated Docker LXC and spun Linkwarden there. All without issues. As far as I understood the log files, the HOME env was the problem inside the container, not on my host, but I may be wrong.

<!-- gh-comment-id:3797329445 --> @mkotek commented on GitHub (Jan 25, 2026): I can see, this error had been already occuring and has been supposedly fixed. For now, I have installed a dedicated Docker LXC and spun Linkwarden there. All without issues. As far as I understood the log files, the HOME env was the problem inside the container, not on my host, but I may be wrong.
Author
Owner

@MickLesk commented on GitHub (Jan 25, 2026):

Where? Can you provide a meaningful answer to my questions? Otherwise, we will close the issue.

I cant reproduce it. My Linkwarden are updated fine. Install working fine too.

<!-- gh-comment-id:3797385082 --> @MickLesk commented on GitHub (Jan 25, 2026): Where? Can you provide a meaningful answer to my questions? Otherwise, we will close the issue. I cant reproduce it. My Linkwarden are updated fine. Install working fine too.
Author
Owner

@ZN00 commented on GitHub (Jan 26, 2026):

I have error with Cargo too

💡 PVE Version 9.1.4 (Kernel: 6.17.4-2-pve)
🖥️ Operating System: ubuntu
🌟 Version: 24.04
📦 Container Type: Unprivileged
🆔 Container ID: 103
🏠 Hostname: linkwarden
💾 Disk Size: 12 GB
🧠 CPU Cores: 2
🛠️ RAM Size: 4096 MiB
🌉 Bridge: vmbr0
📡 IPv4: dhcp
📡 IPv6: auto
🗂️ FUSE Support: no
📦 Nesting: Enabled
🎮 GPU Passthrough: no
💡 Timezone: America/Mazatlan
🔍 Verbose Mode: no
🚀 Creating a Linkwarden LXC using the above advanced settings

Image
<!-- gh-comment-id:3797744076 --> @ZN00 commented on GitHub (Jan 26, 2026): I have error with Cargo too 💡 PVE Version 9.1.4 (Kernel: 6.17.4-2-pve) 🖥️ Operating System: ubuntu 🌟 Version: 24.04 📦 Container Type: Unprivileged 🆔 Container ID: 103 🏠 Hostname: linkwarden 💾 Disk Size: 12 GB 🧠 CPU Cores: 2 🛠️ RAM Size: 4096 MiB 🌉 Bridge: vmbr0 📡 IPv4: dhcp 📡 IPv6: auto 🗂️ FUSE Support: no 📦 Nesting: Enabled 🎮 GPU Passthrough: no 💡 Timezone: America/Mazatlan 🔍 Verbose Mode: no 🚀 Creating a Linkwarden LXC using the above advanced settings <img width="929" height="514" alt="Image" src="https://github.com/user-attachments/assets/90d5437e-49a9-4a87-90ce-173b1868fd29" />
Author
Owner

@MickLesk commented on GitHub (Jan 26, 2026):

Thats another topic, its the cleanup

<!-- gh-comment-id:3798085624 --> @MickLesk commented on GitHub (Jan 26, 2026): Thats another topic, its the cleanup
Author
Owner

@MickLesk commented on GitHub (Jan 26, 2026):

Image
<!-- gh-comment-id:3800652611 --> @MickLesk commented on GitHub (Jan 26, 2026): <img width="862" height="773" alt="Image" src="https://github.com/user-attachments/assets/9202436f-735a-4dc3-ab22-b50fc718210a" />
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#2388
No description provided.