From d4d36cda990b354a2573ca2a8878b5b647d3fc05 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 20 Nov 2026 19:46:24 +0000 Subject: [PATCH] Delete grimmory (ct) after migration to ProxmoxVE --- ct/grimmory.sh | 63 ------------------------------------- install/grimmory-install.sh | 61 ----------------------------------- json/grimmory.json | 49 ----------------------------- 3 files changed, 173 deletions(-) delete mode 100644 ct/grimmory.sh delete mode 100644 install/grimmory-install.sh delete mode 100644 json/grimmory.json diff --git a/ct/grimmory.sh b/ct/grimmory.sh deleted file mode 100644 index c7f47ebe59..0000000000 --- a/ct/grimmory.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: MickLesk (CanbiZ) -# License: MIT | https://github.com/community-scripts/DevScripts/raw/main/LICENSE -# Source: https://github.com/grimmory-tools/grimmory - -APP="Grimmory" -var_tags="${var_tags:-books;ebooks;library}" -var_cpu="${var_cpu:-2}" -var_ram="${var_ram:-2048}" -var_disk="${var_disk:-8}" -var_os="${var_os:-debian}" -var_version="${var_version:-13}" -var_arm64="${var_arm64:-no}" # release jar bundles x64-only PDFium natives -var_unprivileged="${var_unprivileged:-1}" -var_testurl="${var_testurl:-https://github.com/community-scripts/DevScripts/issues/2647}" - -header_info "$APP" -variables -color -catch_errors - -function update_script() { - header_info - check_container_storage - check_container_resources - - if [[ ! -f /opt/grimmory/grimmory.jar ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - - if check_for_gh_release "kepubify" "pgaskin/kepubify"; then - fetch_and_deploy_gh_release "kepubify" "pgaskin/kepubify" "singlefile" "latest" "/usr/local/bin" "kepubify-linux-64bit" - fi - - if check_for_gh_release "grimmory" "grimmory-tools/grimmory"; then - msg_info "Stopping Grimmory" - systemctl stop grimmory - msg_ok "Stopped Grimmory" - - JAVA_VERSION="25" setup_java - USE_ORIGINAL_FILENAME="true" fetch_and_deploy_gh_release "grimmory" "grimmory-tools/grimmory" "singlefile" "latest" "/opt/grimmory" "grimmory.jar" - - msg_info "Starting Grimmory" - systemctl start grimmory - msg_ok "Started Grimmory" - 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 "${TAB}${GATEWAY}${BGN}http://${IP}:6060${CL}" diff --git a/install/grimmory-install.sh b/install/grimmory-install.sh deleted file mode 100644 index 4510b4c323..0000000000 --- a/install/grimmory-install.sh +++ /dev/null @@ -1,61 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2021-2026 community-scripts ORG -# Author: MickLesk (CanbiZ) -# License: MIT | https://github.com/community-scripts/DevScripts/raw/main/LICENSE -# Source: https://github.com/grimmory-tools/grimmory - -source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" -color -verb_ip6 -catch_errors -setting_up_container -network_check -update_os - -setup_ffmpeg -JAVA_VERSION="25" setup_java -setup_mariadb -MARIADB_DB_NAME="grimmory" MARIADB_DB_USER="grimmory" MARIADB_DB_CREDS_FILE="/dev/null" setup_mariadb_db -fetch_and_deploy_gh_release "kepubify" "pgaskin/kepubify" "singlefile" "latest" "/usr/local/bin" "kepubify-linux-64bit" -USE_ORIGINAL_FILENAME="true" fetch_and_deploy_gh_release "grimmory" "grimmory-tools/grimmory" "singlefile" "latest" "/opt/grimmory" "grimmory.jar" - -msg_info "Configuring Grimmory" -mkdir -p /opt/grimmory_data/{data,books,bookdrop} -cat </opt/grimmory_data/.env -DATABASE_HOST=localhost -DATABASE_NAME=${MARIADB_DB_NAME} -DATABASE_USERNAME=${MARIADB_DB_USER} -DATABASE_PASSWORD=${MARIADB_DB_PASS} -APP_PATH_CONFIG=/opt/grimmory_data/data -APP_BOOKDROP_FOLDER=/opt/grimmory_data/bookdrop -SERVER_PORT=6060 -EOF -chmod 600 /opt/grimmory_data/.env -msg_ok "Configured Grimmory" - -msg_info "Creating Service" -cat </etc/systemd/system/grimmory.service -[Unit] -Description=Grimmory -After=network.target mariadb.service -Requires=mariadb.service - -[Service] -Type=simple -WorkingDirectory=/opt/grimmory_data -EnvironmentFile=/opt/grimmory_data/.env -ExecStart=/usr/bin/java -XX:+UseCompactObjectHeaders -XX:MaxRAMPercentage=60.0 -XX:+ExitOnOutOfMemoryError --enable-native-access=ALL-UNNAMED --enable-preview -jar /opt/grimmory/grimmory.jar -SuccessExitStatus=143 -Restart=on-failure -RestartSec=5 - -[Install] -WantedBy=multi-user.target -EOF -systemctl enable -q --now grimmory -msg_ok "Created Service" - -motd_ssh -customize -cleanup_lxc diff --git a/json/grimmory.json b/json/grimmory.json deleted file mode 100644 index 66d363cc5d..0000000000 --- a/json/grimmory.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "name": "Grimmory", - "slug": "grimmory", - "categories": [ - 13 - ], - "date_created": "2026-11-13", - "type": "ct", - "platforms": ["pve"], - "updateable": true, - "privileged": false, - "architectures": [ - "amd64" - ], - "interface_port": 6060, - "documentation": "https://grimmory.org/docs/getting-started", - "website": "https://grimmory.org/", - "repository": "https://github.com/grimmory-tools/grimmory", - "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/grimmory.webp", - "description": "Grimmory is a self-hosted, multi-user library for ebooks, comics and audiobooks, continuing the BookLore project. It organizes books into libraries and smart shelves, fetches metadata automatically, and includes a web reader for EPUB, PDF and comics with annotations. Kobo and KOReader sync, OPDS and BookDrop imports are built in.", - "install_methods": [ - { - "type": "default", - "script": "ct/grimmory.sh", - "config_path": "/opt/grimmory_data/.env", - "resources": { - "cpu": 2, - "ram": 2048, - "hdd": 8, - "os": "Debian", - "version": "13" - } - } - ], - "default_credentials": { - "username": null, - "password": null - }, - "notes": [ - { - "text": "The first visit to the web UI asks you to create the admin account.", - "type": "info" - }, - { - "text": "Point libraries at folders under `/opt/grimmory_data/books`, or mount your book share into the container.", - "type": "info" - } - ] -}