mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-06-01 21:29:36 +02:00
Compare commits
5 Commits
MickLesk-p
...
fix/webtre
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1221c68227 | ||
|
|
9c06910526 | ||
|
|
d3feeb4900 | ||
|
|
4926d426a8 | ||
|
|
7fea6cc9eb |
@@ -479,8 +479,13 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
|||||||
- #### 🐞 Bug Fixes
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
- Fix lobehub docker path [@dannyyy](https://github.com/dannyyy) ([#14793](https://github.com/community-scripts/ProxmoxVE/pull/14793))
|
- Fix lobehub docker path [@dannyyy](https://github.com/dannyyy) ([#14793](https://github.com/community-scripts/ProxmoxVE/pull/14793))
|
||||||
|
- karakeep: add more hdd space [@MickLesk](https://github.com/MickLesk) ([#14797](https://github.com/community-scripts/ProxmoxVE/pull/14797))
|
||||||
- Grist: Revert installation of EE [@tremor021](https://github.com/tremor021) ([#14784](https://github.com/community-scripts/ProxmoxVE/pull/14784))
|
- Grist: Revert installation of EE [@tremor021](https://github.com/tremor021) ([#14784](https://github.com/community-scripts/ProxmoxVE/pull/14784))
|
||||||
|
|
||||||
|
- #### 🔧 Refactor
|
||||||
|
|
||||||
|
- Sure: Remove `$STD` for `systemctl enable -q` [@tremor021](https://github.com/tremor021) ([#14801](https://github.com/community-scripts/ProxmoxVE/pull/14801))
|
||||||
|
|
||||||
## 2026-05-28
|
## 2026-05-28
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
### 🚀 Updated Scripts
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ EOF
|
|||||||
msg_ok "Updated Sure"
|
msg_ok "Updated Sure"
|
||||||
|
|
||||||
msg_info "Starting Services"
|
msg_info "Starting Services"
|
||||||
$STD systemctl start sure sure-worker
|
systemctl start sure sure-worker
|
||||||
msg_ok "Started Services"
|
msg_ok "Started Services"
|
||||||
msg_ok "Updated successfully!"
|
msg_ok "Updated successfully!"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ StandardError=journal
|
|||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
$STD systemctl enable -q --now sure sure-worker
|
systemctl enable -q --now sure sure-worker
|
||||||
msg_ok "Created Services"
|
msg_ok "Created Services"
|
||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
|
|||||||
@@ -47,23 +47,21 @@ systemctl enable -q --now php${PHP_VER}-fpm
|
|||||||
systemctl restart caddy
|
systemctl restart caddy
|
||||||
|
|
||||||
msg_info "Automating Webtrees Setup"
|
msg_info "Automating Webtrees Setup"
|
||||||
sleep 5
|
|
||||||
WT_ADMIN_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c15)
|
WT_ADMIN_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c15)
|
||||||
curl -sS -X POST "http://127.0.0.1/" \
|
$STD sudo -u www-data php /opt/webtrees/index.php config-ini \
|
||||||
-d "step=6" \
|
--dbhost=127.0.0.1 \
|
||||||
--data-urlencode "baseurl=http://${LOCAL_IP}" \
|
--dbport=3306 \
|
||||||
-d "lang=en-US" \
|
--dbuser=webtrees \
|
||||||
-d "dbtype=mysql" \
|
--dbpass="${MARIADB_DB_PASS}" \
|
||||||
-d "dbhost=127.0.0.1" \
|
--dbname=webtrees \
|
||||||
-d "dbport=3306" \
|
--tblpfx=wt_ \
|
||||||
-d "dbuser=webtrees" \
|
--base-url="http://${LOCAL_IP}"
|
||||||
--data-urlencode "dbpass=${MARIADB_DB_PASS}" \
|
$STD sudo -u www-data php /opt/webtrees/index.php user Admin \
|
||||||
-d "dbname=webtrees" \
|
--create \
|
||||||
-d "tblpfx=wt_" \
|
--real-name="Administrator" \
|
||||||
-d "wtname=Administrator" \
|
--email="admin@example.com" \
|
||||||
-d "wtuser=Admin" \
|
--password="${WT_ADMIN_PASS}"
|
||||||
--data-urlencode "wtpass=${WT_ADMIN_PASS}" \
|
$STD sudo -u www-data php /opt/webtrees/index.php user-setting Admin canadmin 1
|
||||||
-d "wtemail=admin@example.com" >/dev/null
|
|
||||||
|
|
||||||
cat <<EOF >>~/webtrees.creds
|
cat <<EOF >>~/webtrees.creds
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user