mirror of https://github.com/tteck/Proxmox.git
Compare commits
6 Commits
f984003ea8
...
4efb41620c
Author | SHA1 | Date |
---|---|---|
|
4efb41620c | |
|
95573a7285 | |
|
a256d4f9b6 | |
|
42a256ca0e | |
|
9f8c93a416 | |
|
02efa7c07a |
11
CHANGELOG.md
11
CHANGELOG.md
|
@ -10,6 +10,17 @@
|
||||||
- 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,19 +57,15 @@ 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
|
||||||
yarn install &>/dev/null
|
if ! git pull; then
|
||||||
yarn build &>/dev/null
|
echo "Already up to date."
|
||||||
|
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,13 +36,15 @@ $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)"
|
||||||
mkdir -p /opt/homarr
|
$STD git clone -b dev https://github.com/ajnart/homarr.git /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) }')
|
cat <<EOF >/opt/homarr/.env
|
||||||
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
|
DATABASE_URL="file:./database/db.sqlite"
|
||||||
rm -rf /opt/homarr-${RELEASE}
|
NEXTAUTH_URL="http://localhost:3000"
|
||||||
|
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