From 02efa7c07a807af0f57215ef2eb09efad9ae4333 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 14 Apr 2024 23:53:22 -0400 Subject: [PATCH 1/6] Update homarr-install.sh fix install --- install/homarr-install.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/install/homarr-install.sh b/install/homarr-install.sh index 0a7db8fac..2eb0ab4eb 100644 --- a/install/homarr-install.sh +++ b/install/homarr-install.sh @@ -36,13 +36,15 @@ $STD npm install -g yarn msg_ok "Installed Node.js/Yarn" msg_info "Installing Homarr (Patience)" -mkdir -p /opt/homarr -RELEASE=$(curl -s https://api.github.com/repos/ajnart/homarr/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') -wget -q -O- https://github.com/ajnart/homarr/archive/refs/tags/v${RELEASE}.tar.gz | $STD tar -xz -C /opt && mv /opt/homarr-${RELEASE}/* /opt/homarr -rm -rf /opt/homarr-${RELEASE} +$STD git clone -b dev https://github.com/ajnart/homarr.git /opt/homarr +cat </opt/homarr/.env +DATABASE_URL="file:./database/db.sqlite" +NEXTAUTH_URL="http://localhost:3000" +NEXTAUTH_SECRET="$(openssl rand -base64 32)" +NEXT_PUBLIC_DISABLE_ANALYTICS="true" +DEFAULT_COLOR_SCHEME="dark" +EOF cd /opt/homarr -wget -q -O /opt/homarr/.env https://raw.githubusercontent.com/ajnart/homarr/dev/.env.example -sed -i 's|NEXTAUTH_SECRET="[^"]*"|NEXTAUTH_SECRET="'"$(openssl rand -base64 32)"'"|' /opt/homarr/.env $STD yarn install $STD yarn build $STD yarn db:migrate From 9f8c93a41627ad6b3fc546559e0f70c848fb95e2 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 14 Apr 2024 23:53:59 -0400 Subject: [PATCH 2/6] Update homarr.sh modify `function update_script()` --- ct/homarr.sh | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/ct/homarr.sh b/ct/homarr.sh index a81bad4f0..a42089f92 100644 --- a/ct/homarr.sh +++ b/ct/homarr.sh @@ -57,19 +57,15 @@ header_info if [[ ! -d /opt/homarr ]]; then msg_error "No ${APP} Installation Found!"; exit; fi msg_info "Updating $APP (Patience)" systemctl stop homarr -rm -rf /root/data-homarr-backup -rm -rf /root/database-homarr-backup -cp -R /opt/homarr/data /root/data-homarr-backup -cp -R /opt/homarr/database /root/database-homarr-backup -RELEASE=$(curl -s https://api.github.com/repos/ajnart/homarr/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') -wget -q -O- https://github.com/ajnart/homarr/archive/refs/tags/v${RELEASE}.tar.gz | tar -xz -C /opt -cp -R /opt/homarr-${RELEASE}/* /opt/homarr -cp -R /root/data-homarr-backup/* /opt/homarr/data -cp -R /root/database-homarr-backup/* /opt/homarr/database -rm -rf /opt/homarr-${RELEASE} cd /opt/homarr -yarn install &>/dev/null -yarn build &>/dev/null +if ! git pull; then + echo "Already up to date." + systemctl start homarr + echo "No update required." + exit +fi +yarn install +yarn build systemctl start homarr msg_ok "Updated $APP" exit From 42a256ca0eb62d85ec1bb9e33f7e70a0800a1886 Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 15 Apr 2024 00:03:10 -0400 Subject: [PATCH 3/6] Update CHANGELOG.md --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index eb93dad04..f94d0f1f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,13 @@ ### Changed +- **Homarr LXC** + - Add back to website + +## 2024-04-12 + +### Changed + - **OpenMediaVault LXC** - Removed from website From a256d4f9b608ea9a719bfe5f5a1a08b95dd19cb1 Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 15 Apr 2024 00:33:25 -0400 Subject: [PATCH 4/6] Update umbrel-install.sh tweak --- install/umbrel-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/umbrel-install.sh b/install/umbrel-install.sh index 7ad1d5af6..f0411f49e 100644 --- a/install/umbrel-install.sh +++ b/install/umbrel-install.sh @@ -32,6 +32,6 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get autoremove -$STD apt-get autoclean +#$STD apt-get autoremove +#$STD apt-get autoclean msg_ok "Cleaned" From 95573a728547eef48773032774e3831b4521d32e Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 15 Apr 2024 00:49:15 -0400 Subject: [PATCH 5/6] Update CHANGELOG.md --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f94d0f1f3..51c266200 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,12 +10,14 @@ - All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment. - 🚨 **The scripts in the repository will no longer provide support for Proxmox VE 7 starting from July 2024 (scripts will not execute on PVE7). Subsequent Proxmox VE - Support Lifecycle** -## 2024-04-12 +## 2024-04-15 ### Changed - **Homarr LXC** - Add back to website +- **Umbrel LXC** + - Add back to website ## 2024-04-12 From 4efb41620cf48224b91ae31b2eaf61c4be517353 Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 15 Apr 2024 01:01:45 -0400 Subject: [PATCH 6/6] Update CHANGELOG.md --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51c266200..922ba2faa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,8 @@ - Add back to website - **Umbrel LXC** - Add back to website +- **OpenMediaVault LXC** + - Add back to website ## 2024-04-12