From f73346114fbd1b246641ad34848f54ef24c868d6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 14 Nov 2026 18:08:00 +0000 Subject: [PATCH] Delete libredbstudio (ct) after migration to ProxmoxVE --- ct/libredbstudio.sh | 63 -------------------------------- install/libredbstudio-install.sh | 38 ------------------- json/libredbstudio.json | 54 --------------------------- 3 files changed, 155 deletions(-) delete mode 100644 ct/libredbstudio.sh delete mode 100644 install/libredbstudio-install.sh delete mode 100644 json/libredbstudio.json diff --git a/ct/libredbstudio.sh b/ct/libredbstudio.sh deleted file mode 100644 index dd46235b0a..0000000000 --- a/ct/libredbstudio.sh +++ /dev/null @@ -1,63 +0,0 @@ -#!/usr/bin/env bash -_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/DevScripts/main" -_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" -source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") -# Copyright (c) 2021-2026 community-scripts ORG -# Author: Yusuf Gundogdu (yusuf-gundogdu) -# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://libredb.org - -APP="LibreDB Studio" -var_tags="${var_tags:-database;sql}" -var_cpu="${var_cpu:-2}" -var_ram="${var_ram:-2048}" -var_disk="${var_disk:-6}" -var_os="${var_os:-debian}" -var_version="${var_version:-13}" -var_arm64="${var_arm64:-yes}" -var_unprivileged="${var_unprivileged:-1}" -var_testurl="${var_testurl:-https://github.com/community-scripts/DevScripts/issues/2261}" - -header_info "$APP" -variables -color -catch_errors - -function update_script() { - header_info - check_container_storage - check_container_resources - - if [[ ! -f /usr/bin/libredb-studio ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - - if check_for_gh_release "libredb-studio" "libredb/libredb-studio"; then - msg_info "Stopping Service" - systemctl stop libredb-studio - msg_ok "Stopped Service" - - create_backup /etc/libredb-studio/env - - DPKG_FORCE_CONFOLD=1 fetch_and_deploy_gh_release "libredb-studio" "libredb/libredb-studio" "binary" "latest" "" "libredb-studio_*_$(arch_resolve).deb" - - restore_backup - - msg_info "Starting Service" - systemctl start libredb-studio - msg_ok "Started Service" - msg_ok "Updated successfully!" - fi - 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 "${GATEWAY}${BGN}http://${IP}:3000${CL}" -echo -e "${INFO}${YW}Admin credentials: /etc/libredb-studio/env inside the container${CL}" diff --git a/install/libredbstudio-install.sh b/install/libredbstudio-install.sh deleted file mode 100644 index f02ecea458..0000000000 --- a/install/libredbstudio-install.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2021-2026 community-scripts ORG -# Author: Yusuf Gundogdu (yusuf-gundogdu) -# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://libredb.org - -source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" -color -verb_ip6 -catch_errors -setting_up_container -network_check -update_os - -fetch_and_deploy_gh_release "libredb-studio" "libredb/libredb-studio" "binary" "latest" "" "libredb-studio_*_$(arch_resolve).deb" - -msg_info "Configuring LibreDB Studio" -JWT_SECRET="$(openssl rand -hex 32)" -ADMIN_PASSWORD="$(openssl rand -base64 18 | tr -d '/+=' | cut -c1-16)" -mkdir -p /etc/libredb-studio -cat </etc/libredb-studio/env -HOSTNAME=0.0.0.0 -PORT=3000 -# Cookie is marked Secure on non-loopback hosts; plain-HTTP LXC login loops without this. -AUTH_COOKIE_SECURE=false -AUTH_BOOTSTRAP=off -JWT_SECRET=${JWT_SECRET} -ADMIN_EMAIL=admin@libredb.org -ADMIN_PASSWORD=${ADMIN_PASSWORD} -EOF -chmod 600 /etc/libredb-studio/env -systemctl enable -q --now libredb-studio -msg_ok "Configured LibreDB Studio" - -motd_ssh -customize -cleanup_lxc diff --git a/json/libredbstudio.json b/json/libredbstudio.json deleted file mode 100644 index 6cbd70f3a5..0000000000 --- a/json/libredbstudio.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "name": "LibreDB Studio", - "slug": "libredbstudio", - "categories": [ - 8 - ], - "date_created": "2026-09-14", - "type": "ct", - "platforms": ["pve"], - "updateable": true, - "privileged": false, - "architectures": [ - "amd64", - "arm64" - ], - "interface_port": 3000, - "documentation": "https://github.com/libredb/libredb-studio/blob/main/README.md", - "website": "https://libredb.org/", - "repository": "https://github.com/libredb/libredb-studio", - "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/libredb-studio.webp", - "description": "LibreDB Studio is a browser-based SQL IDE you run on your own server. It connects to PostgreSQL, MySQL, SQLite, SQL Server, MongoDB, Redis, ClickHouse, Elasticsearch and many more databases, with optional AI query help from a local Ollama model.", - "install_methods": [ - { - "type": "default", - "script": "ct/libredbstudio.sh", - "config_path": "/etc/libredb-studio/env", - "resources": { - "cpu": 2, - "ram": 2048, - "hdd": 6, - "os": "Debian", - "version": "13" - } - } - ], - "default_credentials": { - "username": "admin@libredb.org", - "password": null - }, - "notes": [ - { - "text": "The admin password is generated during install and written to /etc/libredb-studio/env inside the container.", - "type": "info" - }, - { - "text": "The install sets AUTH_COOKIE_SECURE=false because the container is reached over plain HTTP. Remove that line when you put the app behind HTTPS.", - "type": "warning" - }, - { - "text": "The AI panel is hidden unless a model is configured, and nothing leaves the container while it is unconfigured.", - "type": "info" - } - ] -}