Compare commits

...

15 Commits

Author SHA1 Message Date
community-scripts-pr-app[bot]
d6ead654ad Update CHANGELOG.md (#758)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-09 21:33:02 +01:00
Michel Roegl-Brunner
4f66476de5 Update Password Creation to only create Chars (#750) 2024-12-09 21:22:37 +01:00
community-scripts-pr-app[bot]
e4354c1d53 Update CHANGELOG.md (#742)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-08 15:19:52 +01:00
Tobias
8a6ea7cbac Update homarr.json (#740) 2024-12-08 15:19:07 +01:00
community-scripts-pr-app[bot]
96d691c862 Update CHANGELOG.md (#738)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-08 09:48:28 +01:00
Håvard Gjøby Thom
82ee63a6db Use MongoDB 4.4 in Unifi for non-AVX users (#691) 2024-12-08 15:50:24 +13:00
community-scripts-pr-app[bot]
102669cd11 Update CHANGELOG.md (#737)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-07 23:12:37 +01:00
Håvard Gjøby Thom
ae120c1e23 Fix broken build.func (#736) 2024-12-07 22:42:40 +01:00
CanbiZ
c056dd97ea Fix RAM Check for other languages 2024-12-07 22:08:56 +01:00
community-scripts-pr-app[bot]
5b2cbd3e99 Update CHANGELOG.md (#734)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-07 20:38:08 +01:00
Håvard Gjøby Thom
cadae9796e Bugfix: Include script name in website search (#731) 2024-12-07 13:23:58 -05:00
community-scripts-pr-app[bot]
9eb5cc022a Update CHANGELOG.md (#730)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-07 14:19:57 +01:00
Håvard Gjøby Thom
52898b4edf Zigbee2MQTT: Remove dev branch choice until v2.0.0 release (#702) 2024-12-07 14:17:58 +01:00
community-scripts-pr-app[bot]
e45aba86bd Update CHANGELOG.md (#726)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-07 11:26:17 +01:00
Chris
be4e6503d7 Fix Hoarder build failure by installing Chromium stable (#723) 2024-12-07 11:22:04 +01:00
9 changed files with 48 additions and 23 deletions

View File

@@ -16,6 +16,43 @@ 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-09
### Changed
### 🚀 Updated Scripts
- Fix PostgreSQL password bug in Umami install [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#750](https://github.com/community-scripts/ProxmoxVE/pull/750))
## 2024-12-08
### Changed
### 🚀 Updated Scripts
- Use MongoDB 4.4 in Unifi for non-AVX users [@havardthom](https://github.com/havardthom) ([#691](https://github.com/community-scripts/ProxmoxVE/pull/691))
### 🌐 Website
- Move homarr to Dashboards section [@CrazyWolf13](https://github.com/CrazyWolf13) ([#740](https://github.com/community-scripts/ProxmoxVE/pull/740))
## 2024-12-07
### Changed
### 🚀 Updated Scripts
- Zigbee2MQTT: Remove dev branch choice until v2.0.0 release [@havardthom](https://github.com/havardthom) ([#702](https://github.com/community-scripts/ProxmoxVE/pull/702))
- Fix Hoarder build failure by installing Chromium stable [@vhsdream](https://github.com/vhsdream) ([#723](https://github.com/community-scripts/ProxmoxVE/pull/723))
### 🌐 Website
- Bugfix: Include script name in website search [@havardthom](https://github.com/havardthom) ([#731](https://github.com/community-scripts/ProxmoxVE/pull/731))
### ❔ Unlabelled
- Fix broken build.func [@havardthom](https://github.com/havardthom) ([#736](https://github.com/community-scripts/ProxmoxVE/pull/736))
## 2024-12-06
### Changed

View File

@@ -95,7 +95,7 @@ export default function CommandMenu() {
{category.scripts.map((script) => (
<CommandItem
key={`script:${script.slug}`}
value={script.slug}
value={`${script.slug}-${script.name}`}
onSelect={() => {
setOpen(false);
router.push(`/scripts?id=${script.slug}`);

View File

@@ -22,7 +22,8 @@ $STD apt-get install -y \
sudo \
gnupg \
ca-certificates \
chromium \
chromium/stable \
chromium-common/stable \
mc
msg_ok "Installed Dependencies"

View File

@@ -37,7 +37,7 @@ msg_ok "Installed Node.js"
msg_info "Setting up postgresql"
DB_NAME=umamidb
DB_USER=umami
DB_PASS="$(openssl rand -base64 18 | cut -c1-13)"
DB_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13)
SECRET_KEY="$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 32)"
$STD sudo -u postgres psql -c "CREATE ROLE $DB_USER WITH LOGIN PASSWORD '$DB_PASS';"
$STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME WITH OWNER $DB_USER ENCODING 'UTF8' TEMPLATE template0;"

View File

@@ -30,16 +30,15 @@ msg_ok "Installed Eclipse Temurin JRE"
if ! grep -q -m1 'avx[^ ]*' /proc/cpuinfo; then
msg_ok "No AVX Support Detected"
msg_info "Installing MongoDB 4.2"
msg_info "Installing MongoDB 4.4"
if ! dpkg -l | grep -q "libssl1.1"; then
wget -q http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.1_1.1.1n-0+deb10u6_amd64.deb
$STD dpkg -i libssl1.1_1.1.1n-0+deb10u6_amd64.deb
$STD apt-get install -f -y # Fix any broken dependencies
fi
wget -qO- https://www.mongodb.org/static/pgp/server-4.2.asc | gpg --dearmor > /usr/share/keyrings/mongodb-server-4.2.gpg
echo "deb [signed-by=/usr/share/keyrings/mongodb-server-4.2.gpg] https://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 main" >/etc/apt/sources.list.d/mongodb-org-4.2.list
wget -qO- https://www.mongodb.org/static/pgp/server-4.4.asc | gpg --dearmor > /usr/share/keyrings/mongodb-server-4.4.gpg
echo "deb [signed-by=/usr/share/keyrings/mongodb-server-4.4.gpg] https://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main" >/etc/apt/sources.list.d/mongodb-org-4.4.list
$STD apt-get update
$STD apt-get install -y mongodb-org=4.2.17
$STD apt-get install -y mongodb-org
else
msg_info "Installing MongoDB 7.0"
wget -qO- https://www.mongodb.org/static/pgp/server-7.0.asc | gpg --dearmor >/usr/share/keyrings/mongodb-server-7.0.gpg

View File

@@ -40,20 +40,8 @@ msg_info "Setting up Zigbee2MQTT Repository"
$STD git clone --depth 1 https://github.com/Koenkk/zigbee2mqtt.git /opt/zigbee2mqtt
msg_ok "Set up Zigbee2MQTT Repository"
read -r -p "Switch to Edge/dev branch? (y/N) " prompt
if [[ $prompt == "y" ]]; then
DEV="y"
else
DEV="n"
fi
msg_info "Installing Zigbee2MQTT"
cd /opt/zigbee2mqtt
if [[ $DEV == "y" ]]; then
$STD git fetch origin dev:dev
$STD git checkout dev
$STD git pull
fi
$STD npm ci
msg_ok "Installed Zigbee2MQTT"

View File

@@ -2,7 +2,7 @@
"name": "Homarr",
"slug": "homarr",
"categories": [
18
15
],
"date_created": "2024-05-02",
"type": "ct",

View File

@@ -32,7 +32,7 @@
},
"notes": [
{
"text": "For non-AVX CPUs, MongoDB 4.2 is installed. Please note this is a legacy solution that may present security risks and could become unsupported in future updates.",
"text": "For non-AVX CPUs, MongoDB 4.4 is installed. Please note this is a legacy solution that may present security risks and could become unsupported in future updates.",
"type": "warning"
}
]

View File

@@ -504,7 +504,7 @@ install_script() {
check_container_resources() {
# Check actual RAM & Cores
current_ram=$(free -m | awk '/^Mem:/{print $2}')
current_ram=$(free -m | awk 'NR==2{print $2}')
current_cpu=$(nproc)
# Check whether the current RAM is less than the required RAM or the CPU cores are less than required