mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-03-08 13:19:05 +00:00
Linkwarden: Fix & Update Monolith-Installation (#2787)
* Linkwarden: Fix & Update Monolith-Installation * Update linkwarden.sh * remove monolith note
This commit is contained in:
parent
71d8da316a
commit
6e3367c4e7
@ -32,6 +32,15 @@ function update_script() {
|
|||||||
systemctl stop linkwarden
|
systemctl stop linkwarden
|
||||||
msg_ok "Stopped ${APP}"
|
msg_ok "Stopped ${APP}"
|
||||||
|
|
||||||
|
msg_info "Updating Rust"
|
||||||
|
$STD apt-get install -y build-essential
|
||||||
|
$STD curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
|
source $HOME/.cargo/env
|
||||||
|
echo 'export PATH=/usr/local/cargo/bin:$PATH' >> /etc/profile
|
||||||
|
source /etc/profile
|
||||||
|
$STD cargo install monolith
|
||||||
|
msg_ok "Updated Rust"
|
||||||
|
|
||||||
msg_info "Updating ${APP} to ${RELEASE}"
|
msg_info "Updating ${APP} to ${RELEASE}"
|
||||||
cd /opt
|
cd /opt
|
||||||
mv /opt/linkwarden/.env /opt/.env
|
mv /opt/linkwarden/.env /opt/.env
|
||||||
|
@ -20,7 +20,9 @@ $STD apt-get install -y \
|
|||||||
sudo \
|
sudo \
|
||||||
mc \
|
mc \
|
||||||
make \
|
make \
|
||||||
|
git \
|
||||||
postgresql \
|
postgresql \
|
||||||
|
build-essential \
|
||||||
cargo \
|
cargo \
|
||||||
gnupg
|
gnupg
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
@ -37,10 +39,13 @@ $STD apt-get install -y nodejs
|
|||||||
$STD npm install -g yarn
|
$STD npm install -g yarn
|
||||||
msg_ok "Installed Node.js/Yarn"
|
msg_ok "Installed Node.js/Yarn"
|
||||||
|
|
||||||
msg_info "Installing Monolith"
|
msg_info "Installing Rust"
|
||||||
|
$STD curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
|
source $HOME/.cargo/env
|
||||||
|
echo 'export PATH=/usr/local/cargo/bin:$PATH' >> /etc/profile
|
||||||
|
source /etc/profile
|
||||||
$STD cargo install monolith
|
$STD cargo install monolith
|
||||||
export PATH=~/.cargo/bin:$PATH
|
msg_ok "Installed Rust"
|
||||||
msg_ok "Installed Monolith"
|
|
||||||
|
|
||||||
msg_info "Setting up PostgreSQL DB"
|
msg_info "Setting up PostgreSQL DB"
|
||||||
DB_NAME=linkwardendb
|
DB_NAME=linkwardendb
|
||||||
|
@ -30,10 +30,5 @@
|
|||||||
"username": null,
|
"username": null,
|
||||||
"password": null
|
"password": null
|
||||||
},
|
},
|
||||||
"notes": [
|
"notes": []
|
||||||
{
|
}
|
||||||
"text": "Linkwarden > 2.8.2 needs Monolith, More info: `https://github.com/community-scripts/ProxmoxVE/discussions/305`",
|
|
||||||
"type": "info"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user