mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-07-14 18:05:07 +02:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| dce4b0cc95 | |||
| 09ec7b3203 | |||
| 55ab97a020 | |||
| b7a002cae4 | |||
| 171b954c7c |
@@ -506,8 +506,11 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
|||||||
|
|
||||||
### 🚀 Updated Scripts
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- Revert "fix(fileflows): handle update API 401, force update, and Node install" [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#15764](https://github.com/community-scripts/ProxmoxVE/pull/15764))
|
||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- fix(fileflows): handle update API 401, force update, and Node install [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#14858](https://github.com/community-scripts/ProxmoxVE/pull/14858))
|
||||||
- [Upstream Fix] Immich: Fix loader priority [@vhsdream](https://github.com/vhsdream) ([#15755](https://github.com/community-scripts/ProxmoxVE/pull/15755))
|
- [Upstream Fix] Immich: Fix loader priority [@vhsdream](https://github.com/vhsdream) ([#15755](https://github.com/community-scripts/ProxmoxVE/pull/15755))
|
||||||
|
|
||||||
## 2026-07-13
|
## 2026-07-13
|
||||||
|
|||||||
@@ -35,14 +35,12 @@ function update_script() {
|
|||||||
sleep 1
|
sleep 1
|
||||||
msg_ok "Stopped Service"
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
msg_info "Backing up Data"
|
create_backup /opt/Heimdall/database \
|
||||||
cp -R /opt/Heimdall/database database-backup
|
/opt/Heimdall/public
|
||||||
cp -R /opt/Heimdall/public public-backup
|
PHP_VERSION="8.4" PHP_FPM="YES" setup_php
|
||||||
sleep 1
|
|
||||||
msg_ok "Backed up Data"
|
|
||||||
|
|
||||||
setup_composer
|
setup_composer
|
||||||
fetch_and_deploy_gh_release "Heimdall" "linuxserver/Heimdall" "tarball"
|
fetch_and_deploy_gh_release "Heimdall" "linuxserver/Heimdall" "tarball"
|
||||||
|
restore_backup
|
||||||
|
|
||||||
msg_info "Updating Heimdall-Dashboard"
|
msg_info "Updating Heimdall-Dashboard"
|
||||||
cd /opt/Heimdall
|
cd /opt/Heimdall
|
||||||
@@ -50,18 +48,6 @@ function update_script() {
|
|||||||
$STD composer dump-autoload
|
$STD composer dump-autoload
|
||||||
msg_ok "Updated Heimdall-Dashboard"
|
msg_ok "Updated Heimdall-Dashboard"
|
||||||
|
|
||||||
msg_info "Restoring Data"
|
|
||||||
cd ~
|
|
||||||
cp -R database-backup/* /opt/Heimdall/database
|
|
||||||
cp -R public-backup/* /opt/Heimdall/public
|
|
||||||
sleep 1
|
|
||||||
msg_ok "Restored Data"
|
|
||||||
|
|
||||||
msg_info "Cleaning Up"
|
|
||||||
rm -rf {public-backup,database-backup}
|
|
||||||
sleep 1
|
|
||||||
msg_ok "Cleaned Up"
|
|
||||||
|
|
||||||
msg_info "Starting Service"
|
msg_info "Starting Service"
|
||||||
systemctl start heimdall.service
|
systemctl start heimdall.service
|
||||||
sleep 2
|
sleep 2
|
||||||
|
|||||||
@@ -16,17 +16,6 @@ update_os
|
|||||||
fetch_and_deploy_gh_release "silverbullet" "silverbulletmd/silverbullet" "prebuild" "latest" "/opt/silverbullet/bin" "silverbullet-server-linux-$(arch_resolve "x86_64" "aarch64").zip"
|
fetch_and_deploy_gh_release "silverbullet" "silverbulletmd/silverbullet" "prebuild" "latest" "/opt/silverbullet/bin" "silverbullet-server-linux-$(arch_resolve "x86_64" "aarch64").zip"
|
||||||
mkdir -p /opt/silverbullet/space
|
mkdir -p /opt/silverbullet/space
|
||||||
|
|
||||||
RUNTIME_API_ENV=""
|
|
||||||
read -rp "${TAB3}Enable Silverbullet Runtime API? Requires Chromium (~700MB). Uses ~200MB extra RAM. (y/N): " runtime_api_prompt
|
|
||||||
if [[ "${runtime_api_prompt,,}" =~ ^(y|yes)$ ]]; then
|
|
||||||
msg_info "Installing Chromium for Runtime API"
|
|
||||||
$STD apt install -y chromium
|
|
||||||
msg_ok "Installed Chromium for Runtime API"
|
|
||||||
RUNTIME_API_ENV=$'Environment=SB_CHROME_PATH=/usr/bin/chromium\nEnvironment=SB_CHROME_DATA_DIR=/opt/silverbullet/space/.chrome-data\n'
|
|
||||||
touch /opt/silverbullet/.runtime-api-enabled
|
|
||||||
msg_ok "Runtime API will be enabled"
|
|
||||||
fi
|
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
cat <<EOF >/etc/systemd/system/silverbullet.service
|
cat <<EOF >/etc/systemd/system/silverbullet.service
|
||||||
[Unit]
|
[Unit]
|
||||||
@@ -36,7 +25,6 @@ After=syslog.target network.target
|
|||||||
[Service]
|
[Service]
|
||||||
User=root
|
User=root
|
||||||
Type=simple
|
Type=simple
|
||||||
${RUNTIME_API_ENV}
|
|
||||||
ExecStart=/opt/silverbullet/bin/silverbullet --hostname 0.0.0.0 --port 3000 /opt/silverbullet/space
|
ExecStart=/opt/silverbullet/bin/silverbullet --hostname 0.0.0.0 --port 3000 /opt/silverbullet/space
|
||||||
WorkingDirectory=/opt/silverbullet
|
WorkingDirectory=/opt/silverbullet
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|||||||
Reference in New Issue
Block a user