Install Importarr services from repo on dgsserver1

This commit is contained in:
2026-07-29 13:41:06 +02:00
parent af2808189d
commit 259f5e7ee2
10 changed files with 1657 additions and 17 deletions
+7 -5
View File
@@ -5,6 +5,7 @@ Importarr is owned as a Linux-ops-managed service repository. Treat this checkou
## Repository Source Of Truth
- Work from `/srv/opencode-workspace/importarr` for Importarr code and deploy changes.
- The live service is installed on `dgsserver1` from a repo checkout at `/opt/importarr/repo`; gmk1 installs are not the public Importarr service.
- Do not edit host-local legacy scripts as the normal workflow:
- `/usr/local/sbin/importarr-status.py`
- `/usr/local/sbin/manual-media-import.py`
@@ -26,10 +27,10 @@ When asked to implement an Importarr feature, fix, UI change, deployment change,
```
4. Inspect `git diff` and ensure no secrets, raw `.env`, tokens, databases, or private material are included.
5. Commit and push completed Importarr changes by default unless the user explicitly asks not to publish or verification is blocked.
6. Install/restart from the repository so the running local service matches the repo:
```sh
make upgrade-local
```
6. Install/restart on `dgsserver1` from the repository so the public service matches the repo:
```sh
ssh -p 2222 opencode@dgsserver1 'sudo -n sh /opt/importarr/repo-upgrade.sh'
```
7. Verify the live service:
```sh
make verify-live
@@ -58,7 +59,8 @@ make verify-live
## Runtime Defaults On This Host
- Local URL: `http://127.0.0.1:8095/`
- Public URL: `https://importarr.delphas.dk/`
- dgsserver1 local URL: `http://127.0.0.1:8095/`
- Health: `http://127.0.0.1:8095/health`
- Status: `http://127.0.0.1:8095/api/status`
- Systemd service: `importarr.service`