-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
β Have you read and understood the above guidelines?
yes
π What is the name of the script you are using?
linkwarden-install.sh
π 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
π Provide a clear and concise description of the issue.
I noticed an issue in the script linkwarden.sh
At line 47 of linkwarden.sh, the function install_adminer is being called: install_adminer
when choosing
Would you like to add Adminer? <y/N> y
0: line 47: install_adminer: command not found
[ERROR] in line 47: exit code 0: while executing command install_adminer
[ERROR] in line 1083: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"$var_install".sh)" $?
However, this function does not exist in the sourced tools.func script. Instead, the correct function that should be called is:
setup_adminer
This function is defined in tools.func at line 1435:
setup_adminer() {
...
}
Suggested Fix:
Update line 47 of linkwarden.sh from:
install_adminer
to:
setup_adminer
π Steps to reproduce the issue.
run
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/linkwarden.sh)"
in proxmox shell
press y when prompted to add Adminer then enter
β Paste the full error output (if available).
__ _ __ __
/ / ()__ / /___ ______ / / ____
/ / / / __ / /// | /| / / __ `/ / __ / _ / __
/ // / / / / ,< | |/ |/ / // / / / // / / / / /
/___/// ///|| |/|/_,// _,/___// /_/
βοΈ Using Default Settings on node pve3
π₯οΈ Operating System: ubuntu
π Version: 24.04
π¦ Container Type: Unprivileged
πΎ Disk Size: 12 GB
π§ CPU Cores: 2
π οΈ RAM Size: 4096 MiB
π Container ID: 187
π Creating a Linkwarden LXC using the above default settings
β Validating Storage
βοΈ Using local for Template Storage.
βοΈ Using local for Container Storage.
βοΈ Cluster is quorate
βοΈ LXC Template 'ubuntu-24.04-standard_24.04-2_amd64.tar.zst' is ready to use.
βοΈ LXC Container 187 was successfully created.
βοΈ Started LXC Container
βοΈ Customized LXC Container
βοΈ Set up Container OS
βοΈ Network Connected: 192.168.1.28
βοΈ IPv4 Internet Connected
βοΈ IPv6 Internet Not Connected
βοΈ GitHub DNS: github.com:(βοΈ ) raw.githubusercontent.com:(βοΈ ) api.github.com:(βοΈ )
βοΈ Updated Container OS
βοΈ Installed Dependencies
βοΈ Setup Node.js 22
βοΈ Installed Node.js modules: yarn@latest
βοΈ Setup PostgreSQL 16
βοΈ PostgreSQL 16 installed
βοΈ Setup Rust
βοΈ Setup monolith latest
βοΈ Setup Rust
βοΈ Set up PostgreSQL DB
Would you like to add Adminer? <y/N> y
0: line 47: install_adminer: command not found
[ERROR] in line 47: exit code 0: while executing command install_adminer
[ERROR] in line 1083: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"$var_install".sh)" $?
πΌοΈ Additional context (optional).
Suggested Fix:
Update line 47 of linkwarden.sh from:
install_adminer
to:
setup_adminer