Compare commits

..

3 Commits

Author SHA1 Message Date
Tobias
d1e1104211 add apt-clean 2025-10-29 11:03:09 +01:00
Tobias
4d0227fbfd add apt clean 2025-10-29 11:02:26 +01:00
CanbiZ
8d2e0cdc7d Kimai / Ghost / ManageMyDamnLife: Switch to MariaDB 2025-10-29 10:52:36 +01:00
18 changed files with 208 additions and 285 deletions

View File

@@ -10,27 +10,8 @@
> [!CAUTION]
Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit the project's popularity for potentially malicious purposes.
## 2025-10-30
## 2025-10-29
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Docker-VM: add workaround for libguestfs issue on Proxmox VE 9+ [@MickLesk](https://github.com/MickLesk) ([#8722](https://github.com/community-scripts/ProxmoxVE/pull/8722))
- Dispatcharr: add folders in installer / add more build ressources [@MickLesk](https://github.com/MickLesk) ([#8708](https://github.com/community-scripts/ProxmoxVE/pull/8708))
- LibreTranslate: bump torch version [@MickLesk](https://github.com/MickLesk) ([#8710](https://github.com/community-scripts/ProxmoxVE/pull/8710))
- #### ✨ New Features
- Archivebox: add Chromium and Node modules [@MickLesk](https://github.com/MickLesk) ([#8725](https://github.com/community-scripts/ProxmoxVE/pull/8725))
- #### 🔧 Refactor
- tracktor: refactor envfile [@CrazyWolf13](https://github.com/CrazyWolf13) ([#8711](https://github.com/community-scripts/ProxmoxVE/pull/8711))
- Kimai / Ghost / ManageMyDamnLife: Switch to MariaDB [@MickLesk](https://github.com/MickLesk) ([#8712](https://github.com/community-scripts/ProxmoxVE/pull/8712))
## 2025-10-28
### 🚀 Updated Scripts

View File

@@ -32,7 +32,6 @@ function update_script() {
msg_info "Restarting Gitea"
rc-service gitea restart
msg_ok "Restarted Gitea"
exit
}
start

View File

@@ -28,18 +28,12 @@ function update_script() {
exit
fi
NODE_VERSION="22" NODE_MODULE="@postlight/parser@latest,single-file-cli@latest" setup_nodejs
NODE_VERSION="22" setup_nodejs
PYTHON_VERSION="3.13" setup_uv
if ! dpkg -l | grep -q "^ii chromium "; then
msg_info "Installing System Dependencies"
$STD apt-get install -y chromium
msg_ok "Installed System Dependencies"
fi
msg_info "Stopping Service"
msg_info "Stopping ArchiveBox"
systemctl stop archivebox
msg_ok "Stopped Service"
msg_ok "Stopped ArchiveBox"
msg_info "Upgrading Playwright"
$STD uv pip install playwright --system
@@ -52,10 +46,11 @@ function update_script() {
sudo -u archivebox archivebox init
msg_ok "Updated ArchiveBox"
msg_info "Starting Service"
msg_info "Starting ArchiveBox"
systemctl start archivebox
msg_ok "Started Service"
msg_ok "Updated Successfully!"
msg_ok "Started ArchiveBox"
msg_ok "Updated Successfully"
exit
}

View File

@@ -7,7 +7,7 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV
APP="Dispatcharr"
var_tags="${var_tags:-media;arr}"
var_cpu="${var_cpu:-2}"
var_cpu="${var_cpu:-1}"
var_ram="${var_ram:-2048}"
var_disk="${var_disk:-8}"
var_os="${var_os:-debian}"

View File

@@ -35,7 +35,7 @@ function update_script() {
msg_ok "Migrated PHP $CURRENT_PHP to 8.4"
fi
if check_for_gh_release "kimai" "kimai/kimai"; then
if check_for_gh_release "Kimai" "kimai/kimai"; then
BACKUP_DIR="/opt/kimai_backup"
msg_info "Stopping Apache2"
@@ -49,7 +49,7 @@ function update_script() {
[ -f /opt/kimai/config/packages/local.yaml ] && cp /opt/kimai/config/packages/local.yaml "$BACKUP_DIR/"
msg_ok "Backup completed"
fetch_and_deploy_gh_release "kimai" "kimai/kimai"
fetch_and_deploy_gh_release "Kimai" "kimai/kimai" "prebuild" "latest" "/opt/kimai" "kimai-release-*.zip"
msg_info "Updating Kimai"
[ -d "$BACKUP_DIR/var" ] && cp -r "$BACKUP_DIR/var" /opt/kimai/

View File

@@ -28,24 +28,21 @@ function update_script() {
msg_error "No ${APP} Installation Found!"
exit
fi
setup_uv
if check_for_gh_release "libretranslate" "LibreTranslate/LibreTranslate"; then
msg_info "Stopping Service"
msg_info "Stopping $APP"
systemctl stop libretranslate
msg_ok "Stopped Service"
msg_ok "Stopped $APP"
msg_info "Updating LibreTranslate"
msg_info "Updating $APP"
cd /opt/libretranslate
source .venv/bin/activate
$STD pip install -U libretranslate
msg_ok "Updated LibreTranslate"
msg_ok "Updated $APP"
msg_info "Starting Service"
msg_info "Starting $APP"
systemctl start libretranslate
msg_ok "Started Service"
msg_ok "Update Successfully!"
msg_ok "Started $APP"
msg_ok "Update Successful"
fi
exit
}

View File

@@ -40,29 +40,6 @@ function update_script() {
sed -i 's|^EnvironmentFile=.*|EnvironmentFile=/opt/tracktor.env|' /etc/systemd/system/tracktor.service
systemctl daemon-reload
fi
if [ ! -d "/opt/tracktor-data/uploads" ]; then
mkdir -p /opt/tracktor-data/{uploads,logs}
EXISTING_AUTH_PIN=$(grep '^AUTH_PIN=' /opt/tracktor.env 2>/dev/null | cut -d'=' -f2)
AUTH_PIN=${EXISTING_AUTH_PIN:-123456}
cat <<EOF >/opt/tracktor.env
NODE_ENV=production
DB_PATH=/opt/tracktor-data/tracktor.db
UPLOADS_DIR="/opt/tracktor-data/uploads"
LOG_DIR="/opt/tracktor-data/logs"
# If server host is not set by default it will run on all interfaces - 0.0.0.0
# SERVER_HOST=""
SERVER_PORT=3000
# Set this if you want to secure your endpoints otherwise default will be "*"
CORS_ORIGINS="*"
# Set this if you are using backend and frontend separately.
# PUBLIC_API_BASE_URL=""
LOG_REQUESTS=true
LOG_LEVEL="info"
AUTH_PIN=${AUTH_PIN}
# PUBLIC_DEMO_MODE=false
# FORCE_DATA_SEED=false
EOF
fi
msg_ok "Corrected Services"
setup_nodejs

View File

@@ -19,7 +19,7 @@
"type": "default",
"script": "ct/dispatcharr.sh",
"resources": {
"cpu": 2,
"cpu": 1,
"ram": 2048,
"hdd": 8,
"os": "debian",

View File

@@ -9,9 +9,9 @@
"updateable": true,
"privileged": false,
"interface_port": 3000,
"documentation": "https://github.com/javedh-dev/tracktor/tree/main/docs",
"documentation": "https://tracktor.bytedge.in/introduction.html",
"config_path": "/opt/tracktor.env",
"website": "https://github.com/javedh-dev/tracktor",
"website": "https://tracktor.bytedge.in/",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/tracktor.webp",
"description": "Tracktor is an open-source web application for comprehensive vehicle management.\nEasily track fuel consumption, maintenance, insurance, and regulatory documents for all your vehicles in one place.",
"install_methods": [

View File

@@ -1,178 +1,13 @@
[
{
"name": "BerriAI/litellm",
"version": "v1.77.7.dev3",
"date": "2025-10-29T23:40:01Z"
},
{
"name": "Sonarr/Sonarr",
"version": "v4.0.15.2941",
"date": "2025-06-20T17:20:54Z"
},
{
"name": "homebridge/homebridge",
"version": "v1.11.1",
"date": "2025-10-29T22:09:26Z"
},
{
"name": "jenkinsci/jenkins",
"version": "jenkins-2.534",
"date": "2025-10-29T21:01:24Z"
},
{
"name": "chrisvel/tududi",
"version": "v0.85",
"date": "2025-10-29T20:40:57Z"
},
{
"name": "influxdata/influxdb",
"version": "v2.7.12",
"date": "2025-05-29T17:08:26Z"
},
{
"name": "runtipi/runtipi",
"version": "e2e",
"date": "2025-10-29T19:37:29Z"
},
{
"name": "firefly-iii/firefly-iii",
"version": "v6.4.2",
"date": "2025-10-07T08:11:58Z"
},
{
"name": "ollama/ollama",
"version": "v0.12.7-rc1",
"date": "2025-10-29T18:03:43Z"
},
{
"name": "paperless-ngx/paperless-ngx",
"version": "v2.19.3",
"date": "2025-10-29T17:58:16Z"
},
{
"name": "home-assistant/core",
"version": "2025.10.4",
"date": "2025-10-24T20:03:03Z"
},
{
"name": "go-gitea/gitea",
"version": "v1.25.0",
"date": "2025-10-29T16:57:54Z"
},
{
"name": "zwave-js/zwave-js-ui",
"version": "v11.6.1",
"date": "2025-10-29T16:51:06Z"
"version": "v4.5.5",
"date": "2025-10-28T21:53:07Z"
},
{
"name": "dgtlmoon/changedetection.io",
"version": "0.50.35",
"date": "2025-10-29T16:31:56Z"
},
{
"name": "azukaar/Cosmos-Server",
"version": "v0.18.4",
"date": "2025-04-05T19:12:57Z"
},
{
"name": "laurent22/joplin",
"version": "server-v3.4.4",
"date": "2025-09-25T13:19:26Z"
},
{
"name": "heiher/hev-socks5-server",
"version": "2.11.0",
"date": "2025-10-29T14:26:23Z"
},
{
"name": "mongodb/mongo",
"version": "r7.0.27-alpha0",
"date": "2025-10-29T13:54:18Z"
},
{
"name": "zitadel/zitadel",
"version": "v4.6.1",
"date": "2025-10-29T10:15:50Z"
},
{
"name": "element-hq/synapse",
"version": "v1.141.0",
"date": "2025-10-29T11:45:43Z"
},
{
"name": "zabbix/zabbix",
"version": "7.4.4",
"date": "2025-10-29T11:31:26Z"
},
{
"name": "wazuh/wazuh",
"version": "coverity-w44-4.14.1",
"date": "2025-10-29T11:28:37Z"
},
{
"name": "cockpit-project/cockpit",
"version": "350",
"date": "2025-10-29T09:51:00Z"
},
{
"name": "pocket-id/pocket-id",
"version": "v1.14.2",
"date": "2025-10-29T08:37:03Z"
},
{
"name": "evcc-io/evcc",
"version": "0.209.4",
"date": "2025-10-29T08:06:31Z"
},
{
"name": "apache/cassandra",
"version": "cassandra-5.0.6",
"date": "2025-10-29T07:40:47Z"
},
{
"name": "fuma-nama/fumadocs",
"version": "create-fumadocs-app@16.0.7",
"date": "2025-10-29T06:44:29Z"
},
{
"name": "SigNoz/signoz",
"version": "v0.99.0",
"date": "2025-10-29T06:32:09Z"
},
{
"name": "morpheus65535/bazarr",
"version": "v1.5.3",
"date": "2025-09-20T12:12:33Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.24.206",
"date": "2025-10-29T05:53:41Z"
},
{
"name": "henrygd/beszel",
"version": "v0.15.2",
"date": "2025-10-29T05:26:32Z"
},
{
"name": "openobserve/openobserve",
"version": "v0.15.3",
"date": "2025-10-29T05:15:45Z"
},
{
"name": "outline/outline",
"version": "v1.0.1",
"date": "2025-10-29T03:25:13Z"
},
{
"name": "jeedom/core",
"version": "4.4.20",
"date": "2025-10-29T00:27:05Z"
},
{
"name": "steveiliop56/tinyauth",
"version": "v4.0.1",
"date": "2025-10-15T16:53:55Z"
"version": "0.50.34",
"date": "2025-10-28T21:08:11Z"
},
{
"name": "tailscale/tailscale",
@@ -195,9 +30,9 @@
"date": "2025-10-28T18:35:47Z"
},
{
"name": "keycloak/keycloak",
"version": "26.4.2",
"date": "2025-10-23T06:59:32Z"
"name": "azukaar/Cosmos-Server",
"version": "v0.18.4",
"date": "2025-04-05T19:12:57Z"
},
{
"name": "javedh-dev/tracktor",
@@ -214,6 +49,11 @@
"version": "v0.107.68",
"date": "2025-10-23T14:26:29Z"
},
{
"name": "fuma-nama/fumadocs",
"version": "fumadocs-openapi@9.7.1",
"date": "2025-10-28T16:09:45Z"
},
{
"name": "PrivateBin/PrivateBin",
"version": "2.0.2",
@@ -249,11 +89,26 @@
"version": "v2.16.36",
"date": "2025-10-28T13:05:28Z"
},
{
"name": "element-hq/synapse",
"version": "v1.140.0",
"date": "2025-10-14T15:57:12Z"
},
{
"name": "jenkinsci/jenkins",
"version": "jenkins-2.534",
"date": "2025-10-28T12:29:12Z"
},
{
"name": "n8n-io/n8n",
"version": "n8n@1.117.3",
"date": "2025-10-28T12:00:42Z"
},
{
"name": "zabbix/zabbix",
"version": "7.2.14",
"date": "2025-10-28T11:41:57Z"
},
{
"name": "YunoHost/yunohost",
"version": "debian/12.1.32.1",
@@ -269,16 +124,36 @@
"version": "v3.0.0-beta.2",
"date": "2025-10-28T10:16:29Z"
},
{
"name": "chrisvel/tududi",
"version": "v0.84.2",
"date": "2025-10-22T17:03:48Z"
},
{
"name": "maxdorninger/MediaManager",
"version": "v1.8.1",
"date": "2025-10-28T08:07:33Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.24.200",
"date": "2025-10-28T05:55:30Z"
},
{
"name": "gtsteffaniak/filebrowser",
"version": "v0.8.11-beta",
"date": "2025-10-28T01:15:42Z"
},
{
"name": "jeedom/core",
"version": "4.4.20",
"date": "2025-10-28T00:27:04Z"
},
{
"name": "steveiliop56/tinyauth",
"version": "v4.0.1",
"date": "2025-10-15T16:53:55Z"
},
{
"name": "OliveTin/OliveTin",
"version": "3000.2.1",
@@ -289,11 +164,26 @@
"version": "version/2025.10.0",
"date": "2025-10-27T19:58:39Z"
},
{
"name": "BerriAI/litellm",
"version": "v1.77.7.dev2",
"date": "2025-10-27T18:50:42Z"
},
{
"name": "rabbitmq/rabbitmq-server",
"version": "v4.2.0",
"date": "2025-10-27T16:56:40Z"
},
{
"name": "keycloak/keycloak",
"version": "nightly",
"date": "2025-10-27T16:45:48Z"
},
{
"name": "pocket-id/pocket-id",
"version": "v1.14.1",
"date": "2025-10-27T13:19:13Z"
},
{
"name": "Graylog2/graylog2-server",
"version": "7.0.0-rc.2",
@@ -314,11 +204,21 @@
"version": "e6.0.1-alpha.2",
"date": "2025-10-27T09:36:30Z"
},
{
"name": "zitadel/zitadel",
"version": "v4.5.0",
"date": "2025-10-27T08:29:32Z"
},
{
"name": "syncthing/syncthing",
"version": "v2.0.10",
"date": "2025-09-24T08:33:37Z"
},
{
"name": "firefly-iii/firefly-iii",
"version": "v6.4.2",
"date": "2025-10-07T08:11:58Z"
},
{
"name": "jellyfin/jellyfin",
"version": "v10.11.1",
@@ -329,6 +229,11 @@
"version": "1.0.1",
"date": "2025-10-27T01:35:01Z"
},
{
"name": "mongodb/mongo",
"version": "r8.0.16-rc1",
"date": "2025-10-26T23:32:32Z"
},
{
"name": "Radarr/Radarr",
"version": "v5.28.0.10274",
@@ -339,11 +244,21 @@
"version": "v1.30.4",
"date": "2025-10-26T17:22:46Z"
},
{
"name": "outline/outline",
"version": "v1.0.0",
"date": "2025-10-26T16:27:19Z"
},
{
"name": "wizarrrr/wizarr",
"version": "v2025.10.7",
"date": "2025-10-26T15:31:18Z"
},
{
"name": "henrygd/beszel",
"version": "v0.15.0",
"date": "2025-10-26T15:20:23Z"
},
{
"name": "openhab/openhab-core",
"version": "5.1.0.M2",
@@ -384,11 +299,26 @@
"version": "v5.3",
"date": "2025-10-25T13:50:31Z"
},
{
"name": "go-gitea/gitea",
"version": "v1.24.7",
"date": "2025-10-25T01:23:46Z"
},
{
"name": "home-assistant/core",
"version": "2025.10.4",
"date": "2025-10-24T20:03:03Z"
},
{
"name": "homarr-labs/homarr",
"version": "v1.43.0",
"date": "2025-10-24T19:16:05Z"
},
{
"name": "influxdata/influxdb",
"version": "v2.7.12",
"date": "2025-05-29T17:08:26Z"
},
{
"name": "verdaccio/verdaccio",
"version": "v6.2.1",
@@ -444,6 +374,16 @@
"version": "v2.4.0",
"date": "2025-10-23T21:12:48Z"
},
{
"name": "wazuh/wazuh",
"version": "v4.14.0",
"date": "2025-10-23T17:45:30Z"
},
{
"name": "paperless-ngx/paperless-ngx",
"version": "v2.19.2",
"date": "2025-10-23T17:23:27Z"
},
{
"name": "drakkan/sftpgo",
"version": "v2.7.0",
@@ -494,6 +434,16 @@
"version": "release-1.24.1",
"date": "2025-10-22T10:28:00Z"
},
{
"name": "SigNoz/signoz",
"version": "v0.98.0",
"date": "2025-10-22T06:49:36Z"
},
{
"name": "morpheus65535/bazarr",
"version": "v1.5.3",
"date": "2025-09-20T12:12:33Z"
},
{
"name": "bluenviron/mediamtx",
"version": "v1.15.3",
@@ -509,6 +459,11 @@
"version": "v12.2.1",
"date": "2025-10-21T14:40:19Z"
},
{
"name": "laurent22/joplin",
"version": "server-v3.4.4",
"date": "2025-09-25T13:19:26Z"
},
{
"name": "AlexxIT/go2rtc",
"version": "v1.9.11",
@@ -519,11 +474,26 @@
"version": "v1.36.3",
"date": "2025-10-21T12:53:58Z"
},
{
"name": "apache/cassandra",
"version": "5.0.6-tentative",
"date": "2025-10-21T11:42:35Z"
},
{
"name": "evcc-io/evcc",
"version": "0.209.3",
"date": "2025-10-21T10:53:07Z"
},
{
"name": "VictoriaMetrics/VictoriaMetrics",
"version": "pmm-6401-v1.128.0",
"date": "2025-10-21T08:30:52Z"
},
{
"name": "openobserve/openobserve",
"version": "v0.16.0-rc1",
"date": "2025-10-21T00:37:47Z"
},
{
"name": "coder/code-server",
"version": "v4.105.1",
@@ -624,6 +594,11 @@
"version": "5.26.14",
"date": "2025-10-17T12:38:22Z"
},
{
"name": "zwave-js/zwave-js-ui",
"version": "v11.5.2",
"date": "2025-10-17T08:20:13Z"
},
{
"name": "diced/zipline",
"version": "v4.3.2",
@@ -634,6 +609,11 @@
"version": "v1.5.0",
"date": "2025-10-16T23:14:45Z"
},
{
"name": "ollama/ollama",
"version": "v0.12.6",
"date": "2025-10-16T20:07:41Z"
},
{
"name": "minio/minio",
"version": "RELEASE.2025-10-15T17-29-55Z",
@@ -679,6 +659,11 @@
"version": "2.3.3",
"date": "2025-10-15T13:18:27Z"
},
{
"name": "cockpit-project/cockpit",
"version": "349",
"date": "2025-10-15T11:43:12Z"
},
{
"name": "blakeblackshear/frigate",
"version": "v0.14.1",
@@ -1004,6 +989,11 @@
"version": "2.1.0-test1",
"date": "2025-09-17T18:21:45Z"
},
{
"name": "heiher/hev-socks5-server",
"version": "2.10.0",
"date": "2025-09-17T14:47:00Z"
},
{
"name": "icereed/paperless-gpt",
"version": "v0.23.0",
@@ -1234,6 +1224,11 @@
"version": "v2.1.1",
"date": "2025-07-15T22:38:01Z"
},
{
"name": "homebridge/homebridge",
"version": "v1.11.0",
"date": "2025-07-13T19:22:47Z"
},
{
"name": "mayswind/AriaNg",
"version": "1.3.11",
@@ -1274,6 +1269,11 @@
"version": "v3.0.7",
"date": "2025-06-22T17:49:29Z"
},
{
"name": "Sonarr/Sonarr",
"version": "v4.0.15.2941",
"date": "2025-06-20T17:20:54Z"
},
{
"name": "prometheus-pve/prometheus-pve-exporter",
"version": "v3.5.5",

View File

@@ -22,8 +22,7 @@ $STD apt-get install -y \
libsasl2-dev \
procps \
dnsutils \
ripgrep \
chromium
ripgrep
msg_ok "Installed Dependencies"
msg_info "Installing Python Dependencies"
@@ -33,7 +32,7 @@ $STD apt-get install -y \
python3-regex
msg_ok "Installed Python Dependencies"
NODE_VERSION="22" NODE_MODULE="@postlight/parser@latest,single-file-cli@latest" setup_nodejs
NODE_VERSION="22" setup_nodejs
PYTHON_VERSION="3.13" setup_uv
msg_info "Installing Playwright"
@@ -41,7 +40,7 @@ $STD uv pip install playwright --system
$STD playwright install-deps chromium
msg_ok "Installed Playwright"
msg_info "Installing ArchiveBox"
msg_info "Installing Chromium and ArchiveBox"
mkdir -p /opt/archivebox/{data,.npm,.cache,.local}
$STD adduser --system --shell /bin/bash --gecos 'Archive Box User' --group --disabled-password --home /home/archivebox archivebox
chown -R archivebox:archivebox /opt/archivebox/{data,.npm,.cache,.local}
@@ -93,7 +92,6 @@ motd_ssh
customize
msg_info "Cleaning up"
$STD apt -y autoremove
$STD apt -y autoclean
$STD apt -y clean
$STD apt-get -y autoremove
$STD apt-get -y autoclean
msg_ok "Cleaned"

View File

@@ -57,11 +57,6 @@ $STD uv pip install gunicorn gevent celery redis daphne
msg_ok "Installed Python Dependencies"
msg_info "Configuring Dispatcharr"
install -d -m 755 \
/data/{logos,recordings,plugins,db} \
/data/uploads/{m3us,epgs} \
/data/{m3us,epgs}
chown -R root:root /data
export DATABASE_URL="postgresql://${DB_USER}:${DB_PASS}@localhost:5432/${DB_NAME}"
export POSTGRES_DB=$DB_NAME
export POSTGRES_USER=$DB_USER

View File

@@ -41,7 +41,7 @@ $STD mariadb -u root -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost'; FLUS
} >>~/kimai.creds
msg_ok "Set up database"
fetch_and_deploy_gh_release "kimai" "kimai/kimai"
fetch_and_deploy_gh_release "Kimai" "kimai/kimai" "prebuild" "latest" "/opt/kimai" "kimai-release-*.zip"
msg_info "Installing Kimai"
cd /opt/kimai

View File

@@ -14,14 +14,10 @@ network_check
update_os
msg_info "Installing dependencies"
$STD apt install -y \
$STD apt install -y --no-install-recommends \
pkg-config \
build-essential \
gcc \
g++ \
cmake \
libprotobuf-dev \
protobuf-compiler \
libsentencepiece-dev \
libicu-dev
msg_ok "Installed dependencies"
@@ -36,18 +32,13 @@ setup_uv
fetch_and_deploy_gh_release "libretranslate" "LibreTranslate/LibreTranslate"
msg_info "Setup LibreTranslate (Patience)"
TORCH_VERSION=$(grep -Eo '"torch ==[0-9]+\.[0-9]+\.[0-9]+' /opt/libretranslate/pyproject.toml | \
tail -n1 | sed 's/.*==//')
if [[ -z "$TORCH_VERSION" ]]; then
TORCH_VERSION="2.5.0"
fi
cd /opt/libretranslate
$STD uv venv .venv
$STD source .venv/bin/activate
$STD uv pip install --upgrade pip setuptools
$STD uv pip install Babel==2.12.1
$STD .venv/bin/python scripts/compile_locales.py
$STD uv pip install "torch==${TORCH_VERSION}" --extra-index-url https://download.pytorch.org/whl/cpu
$STD uv pip install torch==2.2.0 --extra-index-url https://download.pytorch.org/whl/cpu
$STD uv pip install "numpy<2"
$STD uv pip install .
$STD uv pip install libretranslate

View File

@@ -20,26 +20,18 @@ msg_info "Configuring Tracktor"
cd /opt/tracktor
$STD npm install
$STD npm run build
mkdir -p /opt/tracktor-data/{uploads,logs}
mkdir /opt/tracktor-data
HOST_IP=$(hostname -I | awk '{print $1}')
cat <<EOF >/opt/tracktor.env
NODE_ENV=production
PUBLIC_DEMO_MODE=false
DB_PATH=/opt/tracktor-data/tracktor.db
UPLOADS_DIR="/opt/tracktor-data/uploads"
LOG_DIR="/opt/tracktor-data/logs"
# If server host is not set by default it will run on all interfaces - 0.0.0.0
# SERVER_HOST=""
SERVER_PORT=3000
# Replace this URL if using behind reverse proxy for https traffic. Though it is optional and should work without changing
PUBLIC_API_BASE_URL=http://$HOST_IP:3000
# Here add the reverse proxy url as well to avoid cross errors from the app.
CORS_ORIGINS=http://$HOST_IP:3000
PORT=3000
# Set this if you want to secure your endpoints otherwise default will be "*"
# CORS_ORIGINS="*"
# Set this if you are using backend and frontend separately. For lxc installation this is not needed
# PUBLIC_API_BASE_URL=""
LOG_REQUESTS=true
LOG_LEVEL="info"
AUTH_PIN=123456
# PUBLIC_DEMO_MODE=false
# FORCE_DATA_SEED=false
EOF
msg_ok "Configured Tracktor"

View File

@@ -905,7 +905,7 @@ check_for_gh_release() {
return 0
fi
msg_ok "Already up to date: ${app} (${current})"
msg_error "No update available: ${app} is not installed!"
return 1
fi

View File

@@ -497,8 +497,6 @@ if ! command -v virt-customize &>/dev/null; then
msg_info "Installing Pre-Requisite libguestfs-tools onto Host"
apt-get -qq update >/dev/null
apt-get -qq install libguestfs-tools lsb-release -y >/dev/null
# Workaround for Proxmox VE 9.0 libguestfs issue
apt-get -qq install dhcpcd-base -y >/dev/null 2>&1 || true
msg_ok "Installed libguestfs-tools successfully"
fi