mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "4efb41620cf48224b91ae31b2eaf61c4be517353" and "f984003ea8d53df515e57ac9cc0eca3e85d7dbef" have entirely different histories.
4efb41620c
...
f984003ea8
11
CHANGELOG.md
11
CHANGELOG.md
|
@ -10,17 +10,6 @@
|
||||||
- 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.
|
- 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 <a href='https://forum.proxmox.com/threads/proxmox-ve-support-lifecycle.35755/' target='_blank' rel='noopener noreferrer'>Proxmox VE - Support Lifecycle</a>**
|
- 🚨 **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 <a href='https://forum.proxmox.com/threads/proxmox-ve-support-lifecycle.35755/' target='_blank' rel='noopener noreferrer'>Proxmox VE - Support Lifecycle</a>**
|
||||||
|
|
||||||
## 2024-04-15
|
|
||||||
|
|
||||||
### Changed
|
|
||||||
|
|
||||||
- **Homarr LXC**
|
|
||||||
- Add back to website
|
|
||||||
- **Umbrel LXC**
|
|
||||||
- Add back to website
|
|
||||||
- **OpenMediaVault LXC**
|
|
||||||
- Add back to website
|
|
||||||
|
|
||||||
## 2024-04-12
|
## 2024-04-12
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
20
ct/homarr.sh
20
ct/homarr.sh
|
@ -57,15 +57,19 @@ header_info
|
||||||
if [[ ! -d /opt/homarr ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
if [[ ! -d /opt/homarr ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||||
msg_info "Updating $APP (Patience)"
|
msg_info "Updating $APP (Patience)"
|
||||||
systemctl stop homarr
|
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
|
cd /opt/homarr
|
||||||
if ! git pull; then
|
yarn install &>/dev/null
|
||||||
echo "Already up to date."
|
yarn build &>/dev/null
|
||||||
systemctl start homarr
|
|
||||||
echo "No update required."
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
yarn install
|
|
||||||
yarn build
|
|
||||||
systemctl start homarr
|
systemctl start homarr
|
||||||
msg_ok "Updated $APP"
|
msg_ok "Updated $APP"
|
||||||
exit
|
exit
|
||||||
|
|
|
@ -36,15 +36,13 @@ $STD npm install -g yarn
|
||||||
msg_ok "Installed Node.js/Yarn"
|
msg_ok "Installed Node.js/Yarn"
|
||||||
|
|
||||||
msg_info "Installing Homarr (Patience)"
|
msg_info "Installing Homarr (Patience)"
|
||||||
$STD git clone -b dev https://github.com/ajnart/homarr.git /opt/homarr
|
mkdir -p /opt/homarr
|
||||||
cat <<EOF >/opt/homarr/.env
|
RELEASE=$(curl -s https://api.github.com/repos/ajnart/homarr/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||||
DATABASE_URL="file:./database/db.sqlite"
|
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
|
||||||
NEXTAUTH_URL="http://localhost:3000"
|
rm -rf /opt/homarr-${RELEASE}
|
||||||
NEXTAUTH_SECRET="$(openssl rand -base64 32)"
|
|
||||||
NEXT_PUBLIC_DISABLE_ANALYTICS="true"
|
|
||||||
DEFAULT_COLOR_SCHEME="dark"
|
|
||||||
EOF
|
|
||||||
cd /opt/homarr
|
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 install
|
||||||
$STD yarn build
|
$STD yarn build
|
||||||
$STD yarn db:migrate
|
$STD yarn db:migrate
|
||||||
|
|
|
@ -32,6 +32,6 @@ motd_ssh
|
||||||
customize
|
customize
|
||||||
|
|
||||||
msg_info "Cleaning up"
|
msg_info "Cleaning up"
|
||||||
#$STD apt-get autoremove
|
$STD apt-get autoremove
|
||||||
#$STD apt-get autoclean
|
$STD apt-get autoclean
|
||||||
msg_ok "Cleaned"
|
msg_ok "Cleaned"
|
||||||
|
|
Loading…
Reference in New Issue