mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-29 21:35:05 +02:00
Compare commits
9 Commits
fix/frigat
...
fix/dawari
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b8295a3613 | ||
|
|
3a356b3165 | ||
|
|
91b03574e4 | ||
|
|
ca915da8c1 | ||
|
|
95f2d24f53 | ||
|
|
df9fa394b8 | ||
|
|
1e1e96b68e | ||
|
|
13bd09532a | ||
|
|
b78cdb4008 |
15
CHANGELOG.md
15
CHANGELOG.md
@@ -454,6 +454,21 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
|
||||
- TREK ([#14017](https://github.com/community-scripts/ProxmoxVE/pull/14017))
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- fix(2fauth): handle stale backup directory on update [@omertahaoztop](https://github.com/omertahaoztop) ([#14018](https://github.com/community-scripts/ProxmoxVE/pull/14018))
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- Increase Frigate default CPU cores from 4 to 8 [@MickLesk](https://github.com/MickLesk) ([#14039](https://github.com/community-scripts/ProxmoxVE/pull/14039))
|
||||
- Technitium DNS: Ensure directories exist before running service [@tremor021](https://github.com/tremor021) ([#14030](https://github.com/community-scripts/ProxmoxVE/pull/14030))
|
||||
|
||||
### 💾 Core
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- core: Correct deb822 repository flat path detection [@MickLesk](https://github.com/MickLesk) ([#14037](https://github.com/community-scripts/ProxmoxVE/pull/14037))
|
||||
|
||||
## 2026-04-25
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
@@ -53,6 +53,10 @@ function update_script() {
|
||||
export PATH="/root/.rbenv/shims:/root/.rbenv/bin:$PATH"
|
||||
eval "$(/root/.rbenv/bin/rbenv init - bash)"
|
||||
|
||||
if ! grep -q "OTP_ENCRYPTION_PRIMARY_KEY" /opt/dawarich/.env; then
|
||||
echo "OTP_ENCRYPTION_PRIMARY_KEY=$(openssl rand -hex 32)" >>/opt/dawarich/.env
|
||||
fi
|
||||
|
||||
set -a && source /opt/dawarich/.env && set +a
|
||||
|
||||
$STD bundle config set --local deployment 'true'
|
||||
@@ -67,8 +71,8 @@ function update_script() {
|
||||
$STD npm install
|
||||
fi
|
||||
|
||||
$STD bundle exec rake assets:precompile
|
||||
$STD bundle exec rails db:migrate
|
||||
$STD bundle exec rake assets:precompile
|
||||
$STD bundle exec rake data:migrate
|
||||
msg_ok "Ran Migrations"
|
||||
|
||||
|
||||
@@ -46,10 +46,12 @@ msg_ok "Set up Directories"
|
||||
|
||||
msg_info "Configuring Environment"
|
||||
SECRET_KEY_BASE=$(openssl rand -hex 64)
|
||||
OTP_ENCRYPTION_PRIMARY_KEY=$(openssl rand -hex 32)
|
||||
RELEASE=$(get_latest_github_release "Freika/dawarich")
|
||||
cat <<EOF >/opt/dawarich/.env
|
||||
RAILS_ENV=production
|
||||
SECRET_KEY_BASE=${SECRET_KEY_BASE}
|
||||
OTP_ENCRYPTION_PRIMARY_KEY=${OTP_ENCRYPTION_PRIMARY_KEY}
|
||||
DATABASE_HOST=localhost
|
||||
DATABASE_USERNAME=${PG_DB_USER}
|
||||
DATABASE_PASSWORD=${PG_DB_PASS}
|
||||
|
||||
@@ -28,6 +28,7 @@ fetch_and_deploy_from_url "https://download.technitium.com/dns/DnsServerPortable
|
||||
echo "${RELEASE}" >~/.technitium
|
||||
|
||||
msg_info "Creating service"
|
||||
mkdir -p /etc/dns /var/log/technitium/dns
|
||||
sed -i '/^User=/d;/^Group=/d' /opt/technitium/dns/systemd.service
|
||||
cp /opt/technitium/dns/systemd.service /etc/systemd/system/technitium.service
|
||||
systemctl enable -q --now technitium
|
||||
|
||||
@@ -1924,8 +1924,8 @@ setup_deb822_repo() {
|
||||
echo "Types: deb"
|
||||
echo "URIs: $repo_url"
|
||||
echo "Suites: $suite"
|
||||
# Flat repositories (suite="./" or absolute path) must not have Components
|
||||
if [[ "$suite" != "./" && -n "$component" ]]; then
|
||||
# Flat repositories (suite ending with "/" or "./") must not have Components
|
||||
if [[ "$suite" != *"/" && -n "$component" ]]; then
|
||||
echo "Components: $component"
|
||||
fi
|
||||
[[ -n "$architectures" ]] && echo "Architectures: $architectures"
|
||||
|
||||
Reference in New Issue
Block a user