Compare commits

..

6 Commits

Author SHA1 Message Date
MickLesk
e36375a51c Grist: Guard backup restore for empty docs/db files 2026-04-02 17:56:04 +02:00
community-scripts-pr-app[bot]
ca7811fd1a Update CHANGELOG.md (#13463)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-01 20:44:35 +00:00
CanbiZ (MickLesk)
59eed2646c Filebrowser: make noauth setup use correct database (#13457) 2026-04-01 22:44:05 +02:00
community-scripts-pr-app[bot]
9789c46e20 Update .app files (#13460)
Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2026-04-01 22:11:16 +02:00
community-scripts-pr-app[bot]
f2861e108b Update CHANGELOG.md (#13459)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-01 20:08:50 +00:00
push-app-to-main[bot]
9a259a96cc Add drawdb (ct) (#13454) 2026-04-01 22:08:18 +02:00
4 changed files with 27 additions and 6 deletions

View File

@@ -429,6 +429,18 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
</details>
## 2026-04-01
### 🆕 New Scripts
- DrawDB ([#13454](https://github.com/community-scripts/ProxmoxVE/pull/13454))
### 🧰 Tools
- #### 🐞 Bug Fixes
- Filebrowser: make noauth setup use correct database [@MickLesk](https://github.com/MickLesk) ([#13457](https://github.com/community-scripts/ProxmoxVE/pull/13457))
## 2026-03-31
### 🚀 Updated Scripts

View File

@@ -46,9 +46,11 @@ function update_script() {
msg_info "Updating Grist"
mkdir -p /opt/grist/docs
cp -n /opt/grist_bak/.env /opt/grist/.env
cp -r /opt/grist_bak/docs/* /opt/grist/docs/
cp /opt/grist_bak/grist-sessions.db /opt/grist/grist-sessions.db
cp /opt/grist_bak/landing.db /opt/grist/landing.db
if ls /opt/grist_bak/docs/* &>/dev/null; then
cp -r /opt/grist_bak/docs/* /opt/grist/docs/
fi
[[ -f /opt/grist_bak/grist-sessions.db ]] && cp /opt/grist_bak/grist-sessions.db /opt/grist/grist-sessions.db
[[ -f /opt/grist_bak/landing.db ]] && cp /opt/grist_bak/landing.db /opt/grist/landing.db
cd /opt/grist
$STD yarn install
$STD yarn run install:ee

6
ct/headers/drawdb Normal file
View File

@@ -0,0 +1,6 @@
____ ____ ____
/ __ \_________ __ __/ __ \/ __ )
/ / / / ___/ __ `/ | /| / / / / / __ |
/ /_/ / / / /_/ /| |/ |/ / /_/ / /_/ /
/_____/_/ \__,_/ |__/|__/_____/_____/

View File

@@ -131,9 +131,10 @@ if [[ "${install_prompt,,}" =~ ^(y|yes)$ ]]; then
cd /usr/local/community-scripts
filebrowser config init -a '0.0.0.0' -p "$PORT" -d "$DB_PATH" &>/dev/null
filebrowser config set -a '0.0.0.0' -p "$PORT" -d "$DB_PATH" &>/dev/null
filebrowser config init --auth.method=noauth &>/dev/null
filebrowser config set --auth.method=noauth &>/dev/null
filebrowser users add ID 1 --perm.admin &>/dev/null
filebrowser config set --auth.method=noauth --database "$DB_PATH" &>/dev/null
if ! filebrowser users update 1 --perm.admin --database "$DB_PATH" &>/dev/null; then
filebrowser users add admin community-scripts.org --perm.admin --database "$DB_PATH" &>/dev/null
fi
msg_ok "No Authentication configured"
else
msg_info "Setting up default authentication"