mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-08 00:39:16 +00:00
Compare commits
6 Commits
9523491c0a
...
d71bf7bcdf
Author | SHA1 | Date | |
---|---|---|---|
|
d71bf7bcdf | ||
|
4ed5bf0c12 | ||
|
6debf20d19 | ||
|
88120fcbcc | ||
|
b65d55282f | ||
|
ae67ee8768 |
@ -16,6 +16,15 @@ All LXC instances created using this repository come pre-installed with Midnight
|
||||
> [!IMPORTANT]
|
||||
Do not break established syntax in this file, as it is automatically updated by a Github Workflow
|
||||
|
||||
## 2024-12-23
|
||||
|
||||
### Changed
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- Fix Navidrome Update & Install [@MickLesk](https://github.com/MickLesk) ([#991](https://github.com/community-scripts/ProxmoxVE/pull/991))
|
||||
- Update emby.sh to correct port [@Rageplant](https://github.com/Rageplant) ([#989](https://github.com/community-scripts/ProxmoxVE/pull/989))
|
||||
|
||||
## 2024-12-21
|
||||
|
||||
### Changed
|
||||
|
@ -57,4 +57,4 @@ description
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
|
||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8086${CL}"
|
||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8096${CL}"
|
||||
|
@ -7,7 +7,7 @@ source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/m
|
||||
|
||||
# App Default Values
|
||||
APP="Hyperion"
|
||||
var_tags="ambient lightning"
|
||||
var_tags="ambient-lightning"
|
||||
var_cpu="1"
|
||||
var_ram="512"
|
||||
var_disk="2"
|
||||
|
@ -34,16 +34,18 @@ function update_script() {
|
||||
fi
|
||||
RELEASE=$(curl -s https://api.github.com/repos/navidrome/navidrome/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||
msg_info "Stopping ${APP}"
|
||||
systemctl stop navidrome.service
|
||||
systemctl stop navidrome
|
||||
msg_ok "Stopped Navidrome"
|
||||
|
||||
msg_info "Updating to v${RELEASE}"
|
||||
wget https://github.com/navidrome/navidrome/releases/download/v${RELEASE}/navidrome_${RELEASE}_linux_amd64.tar.gz -O Navidrome.tar.gz &>/dev/null
|
||||
cd /opt
|
||||
wget -q https://github.com/navidrome/navidrome/releases/download/v${RELEASE}/navidrome_${RELEASE}_linux_amd64.tar.gz -O Navidrome.tar.gz
|
||||
tar -xvzf Navidrome.tar.gz -C /opt/navidrome/ &>/dev/null
|
||||
chmod +x /opt/navidrome/navidrome
|
||||
msg_ok "Updated ${APP}"
|
||||
rm Navidrome.tar.gz
|
||||
rm -rf /opt/Navidrome.tar.gz
|
||||
|
||||
msg_info "${GN} Starting ${APP}"
|
||||
msg_info "Starting ${APP}"
|
||||
systemctl start navidrome.service
|
||||
msg_ok "Started ${APP}"
|
||||
msg_ok "Updated Successfully"
|
||||
|
@ -20,14 +20,14 @@ $STD apt-get install -y mc
|
||||
$STD apt-get install -y ffmpeg
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
RELEASE=$(curl -s https://api.github.com/repos/navidrome/navidrome/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||
|
||||
msg_info "Installing Navidrome"
|
||||
RELEASE=$(curl -s https://api.github.com/repos/navidrome/navidrome/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||
install -d -o root -g root /opt/navidrome
|
||||
install -d -o root -g root /var/lib/navidrome
|
||||
wget -q https://github.com/navidrome/navidrome/releases/download/v${RELEASE}/navidrome_${RELEASE}_linux_amd64.tar.gz -O Navidrome.tar.gz
|
||||
$STD tar -xvzf Navidrome.tar.gz -C /opt/navidrome/
|
||||
chown -R root:root /opt/navidrome
|
||||
chmod +x /opt/navidrome/navidrome
|
||||
mkdir -p /music
|
||||
cat <<EOF >/var/lib/navidrome/navidrome.toml
|
||||
MusicFolder = '/music'
|
||||
|
Loading…
Reference in New Issue
Block a user