mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-21 09:25:04 +02:00
Compare commits
7 Commits
pr-update-
...
add-script
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
23627ab7bc | ||
|
|
43b0347446 | ||
|
|
55bad2aa40 | ||
|
|
4d2d6edefe | ||
|
|
e2e7f0722f | ||
|
|
b3c9f6e625 | ||
|
|
ade3bde249 |
16
CHANGELOG.md
16
CHANGELOG.md
@@ -445,8 +445,22 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
|
||||
</details>
|
||||
|
||||
## 2026-04-21
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- OpenCloud: Pin version to 6.1.0 [@vhsdream](https://github.com/vhsdream) ([#13890](https://github.com/community-scripts/ProxmoxVE/pull/13890))
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- homelable: fix install failure by correcting password-reset chmod target [@Copilot](https://github.com/Copilot) ([#13894](https://github.com/community-scripts/ProxmoxVE/pull/13894))
|
||||
|
||||
## 2026-04-20
|
||||
|
||||
### 🆕 New Scripts
|
||||
|
||||
- WhoDB ([#13880](https://github.com/community-scripts/ProxmoxVE/pull/13880))
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- pangolin: create migration tables before data transfer to prevent role loss [@MickLesk](https://github.com/MickLesk) ([#13874](https://github.com/community-scripts/ProxmoxVE/pull/13874))
|
||||
@@ -459,8 +473,8 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
|
||||
- #### ✨ New Features
|
||||
|
||||
- feat(homelable): add password reset utility script [@davidsoncabista](https://github.com/davidsoncabista) ([#13798](https://github.com/community-scripts/ProxmoxVE/pull/13798))
|
||||
- Wanderer: add pocketbase CLI wrapper with env [@MickLesk](https://github.com/MickLesk) ([#13863](https://github.com/community-scripts/ProxmoxVE/pull/13863))
|
||||
- feat(homelable): add password reset utility script [@davidsoncabista](https://github.com/davidsoncabista) ([#13798](https://github.com/community-scripts/ProxmoxVE/pull/13798))
|
||||
|
||||
- #### 🔧 Refactor
|
||||
|
||||
|
||||
61
ct/foldergram.sh
Normal file
61
ct/foldergram.sh
Normal file
@@ -0,0 +1,61 @@
|
||||
#!/usr/bin/env bash
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: Slaviša Arežina (tremor021)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/foldergram/foldergram
|
||||
|
||||
APP="Foldergram"
|
||||
var_tags="${var_tags:-photos}"
|
||||
var_cpu="${var_cpu:-1}"
|
||||
var_ram="${var_ram:-2048}"
|
||||
var_disk="${var_disk:-4}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-13}"
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
if [[ ! -d /opt/foldergram ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
if check_for_gh_release "foldergram" "foldergram/foldergram"; then
|
||||
msg_info "Stopping Service"
|
||||
systemctl stop foldergram
|
||||
msg_ok "Stopped Service"
|
||||
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "foldergram" "foldergram/foldergram" "tarball"
|
||||
|
||||
msg_info "Installing Foldergram"
|
||||
cd /opt/foldergram
|
||||
$STD pnpm install --frozen-lockfile
|
||||
$STD pnpm run build
|
||||
msg_ok "Installed Foldergram"
|
||||
|
||||
msg_info "Starting Service"
|
||||
systemctl start foldergram
|
||||
msg_ok "Started Service"
|
||||
msg_ok "Updated successfully!"
|
||||
fi
|
||||
cleanup_lxc
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
|
||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:4141${CL}"
|
||||
6
ct/headers/whodb
Normal file
6
ct/headers/whodb
Normal file
@@ -0,0 +1,6 @@
|
||||
_ ____ ____ ____
|
||||
| | / / /_ ____ / __ \/ __ )
|
||||
| | /| / / __ \/ __ \/ / / / __ |
|
||||
| |/ |/ / / / / /_/ / /_/ / /_/ /
|
||||
|__/|__/_/ /_/\____/_____/_____/
|
||||
|
||||
@@ -29,7 +29,7 @@ function update_script() {
|
||||
exit
|
||||
fi
|
||||
|
||||
RELEASE="v6.0.0"
|
||||
RELEASE="v6.1.0"
|
||||
if check_for_gh_release "OpenCloud" "opencloud-eu/opencloud" "${RELEASE}" "each release is tested individually before the version is updated. Please do not open issues for this"; then
|
||||
msg_info "Stopping services"
|
||||
systemctl stop opencloud opencloud-wopi
|
||||
|
||||
65
install/foldergram-install.sh
Normal file
65
install/foldergram-install.sh
Normal file
@@ -0,0 +1,65 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: Slaviša Arežina (tremor021)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/foldergram/foldergram
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
msg_info "Installing Dependencies"
|
||||
$STD apt install -y --no-install-recommends ffmpeg
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
NODE_VERSION=25 NODE_MODULE="corepack" setup_nodejs
|
||||
|
||||
fetch_and_deploy_gh_release "foldergram" "foldergram/foldergram" "tarball"
|
||||
|
||||
msg_info "Configuring Foldergram"
|
||||
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
|
||||
$STD corepack enable
|
||||
cd /opt/foldergram
|
||||
$STD pnpm install
|
||||
$STD pnpm run build
|
||||
mkdir -p /opt/foldergram_media
|
||||
cat <<EOF >/opt/foldergram_media/foldergram.env
|
||||
NODE_ENV=production
|
||||
SERVER_PORT=4141
|
||||
DATA_ROOT=/opt/foldergram_media
|
||||
GALLERY_ROOT=/opt/foldergram_media/gallery
|
||||
DB_DIR=/opt/foldergram_media/db
|
||||
THUMBNAILS_DIR=/opt/foldergram_media/thumbnails
|
||||
PREVIEWS_DIR=/opt/foldergram_media/previews
|
||||
IMAGE_DETAIL_SOURCE=preview
|
||||
DERIVATIVE_MODE=eager
|
||||
GALLERY_EXCLUDED_FOLDERS=
|
||||
EOF
|
||||
msg_ok "Configured Foldergram"
|
||||
|
||||
msg_info "Creating services"
|
||||
cat <<EOF >/etc/systemd/system/foldergram.service
|
||||
[Unit]
|
||||
Description=Foldergram Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=/opt/foldergram
|
||||
ExecStart=/usr/bin/pnpm start
|
||||
Restart=always
|
||||
EnvironmentFile=/opt/foldergram_media/foldergram.env
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl enable -q --now foldergram
|
||||
msg_ok "Created services"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
@@ -66,7 +66,7 @@ sed -i "s|^AUTH_PASSWORD_HASH=.*|AUTH_PASSWORD_HASH='${HASH}'|" /opt/homelable/b
|
||||
systemctl restart homelable
|
||||
echo "Password updated and service restarted successfully!"
|
||||
EOF
|
||||
chmod +x /opt/homelable/change_password.sh
|
||||
chmod +x /root/change_password.sh
|
||||
msg_ok "Created Password Reset Utility"
|
||||
|
||||
msg_info "Building Frontend"
|
||||
|
||||
@@ -64,7 +64,7 @@ $STD sudo -u cool coolconfig set-admin-password --user=admin --password="$COOLPA
|
||||
echo "$COOLPASS" >~/.coolpass
|
||||
msg_ok "Installed Collabora Online"
|
||||
|
||||
fetch_and_deploy_gh_release "OpenCloud" "opencloud-eu/opencloud" "singlefile" "v6.0.0" "/usr/bin" "opencloud-*-linux-amd64"
|
||||
fetch_and_deploy_gh_release "OpenCloud" "opencloud-eu/opencloud" "singlefile" "v6.1.0" "/usr/bin" "opencloud-*-linux-amd64"
|
||||
mv /usr/bin/OpenCloud /usr/bin/opencloud
|
||||
|
||||
msg_info "Configuring OpenCloud"
|
||||
|
||||
Reference in New Issue
Block a user