From f4b7622cbb4e8efcb0c4eb505b368d7736836d4d Mon Sep 17 00:00:00 2001 From: CrazyWolf13 Date: Mon, 19 Jan 2026 09:41:12 +0100 Subject: [PATCH] add: seer --- ct/jellyseerr.sh | 103 +++++++++++++++++++++++++++++++++ ct/seer.sh | 79 +++++++++++++++++++++++++ frontend/public/json/seer.json | 44 ++++++++++++++ install/jellyseerr-install.sh | 62 ++++++++++++++++++++ install/seer-install.sh | 66 +++++++++++++++++++++ 5 files changed, 354 insertions(+) create mode 100644 ct/jellyseerr.sh create mode 100644 ct/seer.sh create mode 100644 frontend/public/json/seer.json create mode 100644 install/jellyseerr-install.sh create mode 100644 install/seer-install.sh diff --git a/ct/jellyseerr.sh b/ct/jellyseerr.sh new file mode 100644 index 000000000..2a79b86b7 --- /dev/null +++ b/ct/jellyseerr.sh @@ -0,0 +1,103 @@ +#!/usr/bin/env bash +source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func) +# Copyright (c) 2021-2026 tteck +# Author: tteck (tteckster) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://docs.jellyseerr.dev/ + +APP="Jellyseerr" +var_tags="${var_tags:-media}" +var_cpu="${var_cpu:-4}" +var_ram="${var_ram:-4096}" +var_disk="${var_disk:-8}" +var_os="${var_os:-debian}" +var_version="${var_version:-12}" +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/jellyseerr ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + + if [ "$(node -v | cut -c2-3)" -ne 22 ]; then + msg_info "Updating Node.js Repository" + echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main" >/etc/apt/sources.list.d/nodesource.list + msg_ok "Updating Node.js Repository" + + msg_info "Updating Packages" + $STD apt-get update + $STD apt-get -y upgrade + msg_ok "Updating Packages" + fi + + cd /opt/jellyseerr + output=$(git pull --no-rebase) + + pnpm_current=$(pnpm --version 2>/dev/null) + pnpm_desired=$(grep -Po '"pnpm":\s*"\K[^"]+' /opt/jellyseerr/package.json) + + if [ -z "$pnpm_current" ]; then + msg_error "pnpm not found. Installing version $pnpm_desired..." + NODE_VERSION="22" NODE_MODULE="pnpm@$pnpm_desired" setup_nodejs + elif ! node -e "const semver = require('semver'); process.exit(semver.satisfies('$pnpm_current', '$pnpm_desired') ? 0 : 1)"; then + msg_error "Updating pnpm from version $pnpm_current to $pnpm_desired..." + NODE_VERSION="22" NODE_MODULE="pnpm@$pnpm_desired" setup_nodejs + else + msg_ok "pnpm is already installed and satisfies version $pnpm_desired." + fi + + msg_info "Updating Jellyseerr" + if echo "$output" | grep -q "Already up to date."; then + msg_ok "$APP is already up to date." + exit + fi + + systemctl stop jellyseerr + rm -rf dist .next node_modules + export CYPRESS_INSTALL_BINARY=0 + cd /opt/jellyseerr + $STD pnpm install --frozen-lockfile + export NODE_OPTIONS="--max-old-space-size=3072" + $STD pnpm build + + cat </etc/systemd/system/jellyseerr.service +[Unit] +Description=jellyseerr Service +After=network.target + +[Service] +EnvironmentFile=/etc/jellyseerr/jellyseerr.conf +Environment=NODE_ENV=production +Type=exec +WorkingDirectory=/opt/jellyseerr +ExecStart=/usr/bin/node dist/index.js + +[Install] +WantedBy=multi-user.target +EOF + + systemctl daemon-reload + systemctl start jellyseerr + msg_ok "Updated Jellyseerr" + msg_ok "Updated successfully!" + 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}:5055${CL}" diff --git a/ct/seer.sh b/ct/seer.sh new file mode 100644 index 000000000..4e59e2373 --- /dev/null +++ b/ct/seer.sh @@ -0,0 +1,79 @@ +#!/usr/bin/env bash +source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func) +# Copyright (c) 2021-2026 community-scripts ORG +# Author: CrazyWolf13 +# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE +# Source: https://docs.seerr.dev/ + +APP="Seer" +var_tags="${var_tags:-media}" +var_cpu="${var_cpu:-4}" +var_ram="${var_ram:-4096}" +var_disk="${var_disk:-8}" +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/seer ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + + if check_for_gh_release "seer" "seerr-team/seerr"; then + msg_info "Stopping Service" + systemctl stop seer + msg_ok "Stopped Service" + + pnpm_desired=$(grep -Po '"pnpm":\s*"\K[^"]+' /opt/seer/package.json) + NODE_VERSION="22" NODE_MODULE="pnpm@$pnpm_desired" setup_nodejs + + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "seer" "seerr-team/seerr" + + cd /opt/seer + export CYPRESS_INSTALL_BINARY=0 + $STD pnpm install --frozen-lockfile + export NODE_OPTIONS="--max-old-space-size=3072" + $STD pnpm build + + cat </etc/systemd/system/seer.service +[Unit] +Description=Seer Service +After=network.target + +[Service] +EnvironmentFile=/etc/seer/seer.conf +Environment=NODE_ENV=production +Type=exec +WorkingDirectory=/opt/seer +ExecStart=/usr/bin/node dist/index.js + +[Install] +WantedBy=multi-user.target +EOF + + systemctl daemon-reload + systemctl start seer + 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 "${TAB}${GATEWAY}${BGN}http://${IP}:5055${CL}" diff --git a/frontend/public/json/seer.json b/frontend/public/json/seer.json new file mode 100644 index 000000000..0f26ceb7a --- /dev/null +++ b/frontend/public/json/seer.json @@ -0,0 +1,44 @@ +{ + "name": "Seer", + "slug": "seer", + "categories": [ + 13 + ], + "date_created": "2026-01-19", + "type": "ct", + "updateable": true, + "privileged": false, + "interface_port": 5055, + "documentation": "https://docs.seerr.dev/", + "website": "https://seerr.dev/", + "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/seerr.webp", + "config_path": "/etc/seer/seer.conf", + "description": "Open-source media request and discovery manager for Jellyfin, Plex, and Emby. Unified version of Overseerr and Jellyseerr.", + "install_methods": [ + { + "type": "default", + "script": "ct/seer.sh", + "resources": { + "cpu": 4, + "ram": 4096, + "hdd": 8, + "os": "Debian", + "version": "13" + } + } + ], + "default_credentials": { + "username": null, + "password": null + }, + "notes": [ + { + "text": "Seer is currently in beta. The develop branch is used for installation.", + "type": "warning" + }, + { + "text": "First release is essentially Jellyseerr rebranded with Overseerr migration support.", + "type": "info" + } + ] +} diff --git a/install/jellyseerr-install.sh b/install/jellyseerr-install.sh new file mode 100644 index 000000000..d865698f7 --- /dev/null +++ b/install/jellyseerr-install.sh @@ -0,0 +1,62 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2026 tteck +# Author: tteck (tteckster) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://docs.jellyseerr.dev/ + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD apt-get install -y build-essential +msg_ok "Installed Dependencies" + +git clone -q https://github.com/Fallenbagel/jellyseerr.git /opt/jellyseerr +cd /opt/jellyseerr +$STD git checkout main + +pnpm_desired=$(grep -Po '"pnpm":\s*"\K[^"]+' /opt/jellyseerr/package.json) +NODE_VERSION="22" NODE_MODULE="pnpm@$pnpm_desired" setup_nodejs + +msg_info "Installing Jellyseerr (Patience)" +export CYPRESS_INSTALL_BINARY=0 +cd /opt/jellyseerr +$STD pnpm install --frozen-lockfile +export NODE_OPTIONS="--max-old-space-size=3072" +$STD pnpm build +mkdir -p /etc/jellyseerr/ +cat </etc/jellyseerr/jellyseerr.conf +PORT=5055 +# HOST=0.0.0.0 +# JELLYFIN_TYPE=emby +EOF +msg_ok "Installed Jellyseerr" + +msg_info "Creating Service" +cat </etc/systemd/system/jellyseerr.service +[Unit] +Description=jellyseerr Service +After=network.target + +[Service] +EnvironmentFile=/etc/jellyseerr/jellyseerr.conf +Environment=NODE_ENV=production +Type=exec +WorkingDirectory=/opt/jellyseerr +ExecStart=/usr/bin/node dist/index.js + +[Install] +WantedBy=multi-user.target +EOF +systemctl enable -q --now jellyseerr +msg_ok "Created Service" + +motd_ssh +customize +cleanup_lxc diff --git a/install/seer-install.sh b/install/seer-install.sh new file mode 100644 index 000000000..6076878da --- /dev/null +++ b/install/seer-install.sh @@ -0,0 +1,66 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2026 community-scripts ORG +# Author: CrazyWolf13 +# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE +# Source: https://docs.seerr.dev/ + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD apt-get install -y build-essential +msg_ok "Installed Dependencies" + +fetch_and_deploy_gh_release "seer" "seerr-team/seerr" + +pnpm_desired=$(grep -Po '"pnpm":\s*"\K[^"]+' /opt/seer/package.json) +NODE_VERSION="22" NODE_MODULE="pnpm@$pnpm_desired" setup_nodejs + +msg_info "Installing Seer (Patience)" +export CYPRESS_INSTALL_BINARY=0 +cd /opt/seer +$STD pnpm install --frozen-lockfile +export NODE_OPTIONS="--max-old-space-size=3072" +$STD pnpm build +mkdir -p /etc/seer/ +cat </etc/seer/seer.conf +## Seer's default port is 5055, if you want to use both, change this. +## specify on which port to listen +PORT=5055 + +## specify on which interface to listen, by default seer listens on all interfaces +HOST=0.0.0.0 + +## Uncomment if you want to force Node.js to resolve IPv4 before IPv6 (advanced users only) +# FORCE_IPV4_FIRST=true +EOF +msg_ok "Installed Seer" + +msg_info "Creating Service" +cat </etc/systemd/system/seer.service +[Unit] +Description=Seer Service +After=network.target + +[Service] +EnvironmentFile=/etc/seer/seer.conf +Environment=NODE_ENV=production +Type=exec +WorkingDirectory=/opt/seer +ExecStart=/usr/bin/node dist/index.js + +[Install] +WantedBy=multi-user.target +EOF +systemctl enable -q --now seer +msg_ok "Created Service" + +motd_ssh +customize +cleanup_lxc