From 48ac05482ba8fb6c3712960cbf81d56410a63a03 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 9 Feb 2026 02:02:54 +0000 Subject: [PATCH] chore: backup infrastructure configurations [skip ci] --- .../logs/2026-02-08T02:15:37.027788+00:00 | 1 + .../logs/2026-02-08T03:15:39.581351+00:00 | 1 + .../logs/2026-02-08T04:15:42.924813+00:00 | 1 + .../logs/2026-02-08T05:15:45.844645+00:00 | 1 + .../logs/2026-02-08T06:15:48.606089+00:00 | 1 + .../logs/2026-02-08T07:15:51.283395+00:00 | 1 + .../logs/2026-02-08T08:15:54.503132+00:00 | 1 + .../logs/2026-02-08T09:15:57.297171+00:00 | 1 + .../logs/2026-02-08T10:16:00.307729+00:00 | 1 + .../logs/2026-02-08T11:16:02.933253+00:00 | 1 + .../logs/2026-02-08T12:16:05.885472+00:00 | 1 + .../logs/2026-02-08T13:16:08.482640+00:00 | 1 + .../logs/2026-02-08T14:16:11.255916+00:00 | 1 + .../logs/2026-02-08T15:16:13.864865+00:00 | 1 + .../logs/2026-02-08T16:16:16.595530+00:00 | 1 + .../logs/2026-02-08T17:16:19.341472+00:00 | 1 + .../logs/2026-02-08T18:16:21.934449+00:00 | 1 + .../logs/2026-02-08T19:16:24.791765+00:00 | 1 + .../logs/2026-02-08T20:16:27.851584+00:00 | 1 + .../logs/2026-02-08T21:16:30.888066+00:00 | 1 + .../logs/2026-02-08T22:16:34.364046+00:00 | 1 + .../logs/2026-02-08T23:16:36.936179+00:00 | 1 + .../logs/2026-02-09T00:16:39.529777+00:00 | 1 + .../logs/2026-02-09T01:16:42.274929+00:00 | 1 + consul_backup/litefs/navidrome | 2 +- nomad_backup/navidrome-litefs.hcl | 47 +++++-------------- 26 files changed, 37 insertions(+), 36 deletions(-) create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-02-08T02:15:37.027788+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-02-08T03:15:39.581351+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-02-08T04:15:42.924813+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-02-08T05:15:45.844645+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-02-08T06:15:48.606089+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-02-08T07:15:51.283395+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-02-08T08:15:54.503132+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-02-08T09:15:57.297171+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-02-08T10:16:00.307729+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-02-08T11:16:02.933253+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-02-08T12:16:05.885472+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-02-08T13:16:08.482640+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-02-08T14:16:11.255916+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-02-08T15:16:13.864865+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-02-08T16:16:16.595530+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-02-08T17:16:19.341472+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-02-08T18:16:21.934449+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-02-08T19:16:24.791765+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-02-08T20:16:27.851584+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-02-08T21:16:30.888066+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-02-08T22:16:34.364046+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-02-08T23:16:36.936179+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-02-09T00:16:39.529777+00:00 create mode 100644 consul_backup/fitbit-garmin-sync/logs/2026-02-09T01:16:42.274929+00:00 diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-08T02:15:37.027788+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T02:15:37.027788+00:00 new file mode 100644 index 0000000..6e1f257 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T02:15:37.027788+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T02:15:37.027788+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-08T03:15:39.581351+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T03:15:39.581351+00:00 new file mode 100644 index 0000000..819571a --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T03:15:39.581351+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T03:15:39.581351+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-08T04:15:42.924813+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T04:15:42.924813+00:00 new file mode 100644 index 0000000..555ff4d --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T04:15:42.924813+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T04:15:42.924813+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-08T05:15:45.844645+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T05:15:45.844645+00:00 new file mode 100644 index 0000000..51ed889 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T05:15:45.844645+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T05:15:45.844645+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-08T06:15:48.606089+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T06:15:48.606089+00:00 new file mode 100644 index 0000000..e0b0cd2 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T06:15:48.606089+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T06:15:48.606089+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-08T07:15:51.283395+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T07:15:51.283395+00:00 new file mode 100644 index 0000000..0834c2f --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T07:15:51.283395+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T07:15:51.283395+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-08T08:15:54.503132+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T08:15:54.503132+00:00 new file mode 100644 index 0000000..c849a6c --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T08:15:54.503132+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T08:15:54.503132+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-08T09:15:57.297171+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T09:15:57.297171+00:00 new file mode 100644 index 0000000..0fb3422 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T09:15:57.297171+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T09:15:57.297171+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-08T10:16:00.307729+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T10:16:00.307729+00:00 new file mode 100644 index 0000000..4b08134 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T10:16:00.307729+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T10:16:00.307729+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-08T11:16:02.933253+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T11:16:02.933253+00:00 new file mode 100644 index 0000000..00130a2 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T11:16:02.933253+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T11:16:02.933253+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-08T12:16:05.885472+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T12:16:05.885472+00:00 new file mode 100644 index 0000000..e1ec3c2 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T12:16:05.885472+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T12:16:05.885472+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-08T13:16:08.482640+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T13:16:08.482640+00:00 new file mode 100644 index 0000000..9b29a76 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T13:16:08.482640+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T13:16:08.482640+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-08T14:16:11.255916+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T14:16:11.255916+00:00 new file mode 100644 index 0000000..e8842c0 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T14:16:11.255916+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T14:16:11.255916+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-08T15:16:13.864865+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T15:16:13.864865+00:00 new file mode 100644 index 0000000..0671d3a --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T15:16:13.864865+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T15:16:13.864865+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-08T16:16:16.595530+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T16:16:16.595530+00:00 new file mode 100644 index 0000000..508e8d2 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T16:16:16.595530+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T16:16:16.595530+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-08T17:16:19.341472+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T17:16:19.341472+00:00 new file mode 100644 index 0000000..f360c56 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T17:16:19.341472+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T17:16:19.341472+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-08T18:16:21.934449+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T18:16:21.934449+00:00 new file mode 100644 index 0000000..bf04c9a --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T18:16:21.934449+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T18:16:21.934449+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-08T19:16:24.791765+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T19:16:24.791765+00:00 new file mode 100644 index 0000000..8176eec --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T19:16:24.791765+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T19:16:24.791765+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-08T20:16:27.851584+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T20:16:27.851584+00:00 new file mode 100644 index 0000000..c320d37 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T20:16:27.851584+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T20:16:27.851584+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-08T21:16:30.888066+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T21:16:30.888066+00:00 new file mode 100644 index 0000000..13eea7b --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T21:16:30.888066+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T21:16:30.888066+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-08T22:16:34.364046+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T22:16:34.364046+00:00 new file mode 100644 index 0000000..c12e39a --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T22:16:34.364046+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T22:16:34.364046+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-08T23:16:36.936179+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T23:16:36.936179+00:00 new file mode 100644 index 0000000..8913bd5 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-08T23:16:36.936179+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-08T23:16:36.936179+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-09T00:16:39.529777+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-09T00:16:39.529777+00:00 new file mode 100644 index 0000000..fb6b5bc --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-09T00:16:39.529777+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-09T00:16:39.529777+00:00"} \ No newline at end of file diff --git a/consul_backup/fitbit-garmin-sync/logs/2026-02-09T01:16:42.274929+00:00 b/consul_backup/fitbit-garmin-sync/logs/2026-02-09T01:16:42.274929+00:00 new file mode 100644 index 0000000..a44fa86 --- /dev/null +++ b/consul_backup/fitbit-garmin-sync/logs/2026-02-09T01:16:42.274929+00:00 @@ -0,0 +1 @@ +{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-02-09T01:16:42.274929+00:00"} \ No newline at end of file diff --git a/consul_backup/litefs/navidrome b/consul_backup/litefs/navidrome index 09f2b1c..6e46d07 100644 --- a/consul_backup/litefs/navidrome +++ b/consul_backup/litefs/navidrome @@ -1 +1 @@ -{"hostname":"45411fdf596d","advertise-url":"http://192.168.4.227:8081"} \ No newline at end of file +{"hostname":"189b3dd5e53b","advertise-url":"http://192.168.4.228:20202"} \ No newline at end of file diff --git a/nomad_backup/navidrome-litefs.hcl b/nomad_backup/navidrome-litefs.hcl index 223f538..2b0a538 100644 --- a/nomad_backup/navidrome-litefs.hcl +++ b/nomad_backup/navidrome-litefs.hcl @@ -8,7 +8,7 @@ job "navidrome-litefs" { } group "navidrome" { - count = 2 + count = 4 update { max_parallel = 1 @@ -31,10 +31,6 @@ job "navidrome-litefs" { static = 20202 to = 20202 # Maps host 20202 to container 20202 (LiteFS Replication) } - port "health" { - static = 8082 - to = 8082 # Handled by nc loop in litefs.yml exec - } } task "navidrome" { @@ -43,7 +39,8 @@ job "navidrome-litefs" { config { image = "gitea.service.dc1.fbleagh.duckdns.org/sstent/navidrome-litefs:latest" privileged = true # Still needed for FUSE - ports = ["http", "litefs", "health"] + ports = ["http", "litefs"] + force_pull = true volumes = [ "/mnt/configs/navidrome_litefs:/var/lib/litefs", @@ -58,46 +55,26 @@ job "navidrome-litefs" { # LiteFS Config CONSUL_URL = "http://${attr.unique.network.ip-address}:8500" ADVERTISE_IP = "${attr.unique.network.ip-address}" - PORT = "8080" # Internal proxy port (unused by direct routing but kept for image compat) + PORT = "8080" # Internal proxy port (unused but kept) # Navidrome Config - ND_DATAFOLDER = "/local/data" - ND_CACHEFOLDER = "/shared_data/cache" - ND_CONFIGFILE = "/local/data/navidrome.toml" + ND_DATAFOLDER = "/local/data" + ND_CACHEFOLDER = "/shared_data/cache" + ND_BACKUP_PATH = "/shared_data/backup" + ND_CONFIGFILE = "/local/data/navidrome.toml" - # Database is on the LiteFS FUSE mount - ND_DBPATH = "/data/navidrome.db?_busy_timeout=30000&_journal_mode=WAL&_foreign_keys=on&synchronous=NORMAL" + # Database is on the LiteFS FUSE mount. Forced v35. + ND_DATABASE_PATH = "/data/navidrome.db" ND_SCANSCHEDULE = "0" ND_SCANNER_FSWATCHER_ENABLED = "false" + ND_FORCE_REDEPLOY = "3" ND_LOGLEVEL = "info" ND_REVERSEPROXYWHITELIST = "0.0.0.0/0" ND_REVERSEPROXYUSERHEADER = "X-Forwarded-User" } - service { - name = "navidrome" - tags = [ - "navidrome", - "web", - "traefik.enable=true", - "urlprefix-/navidrome", - "tools", - "traefik.http.routers.navidromelan.rule=Host(`navidrome.service.dc1.consul`)", - "traefik.http.routers.navidromewan.rule=Host(`m.fbleagh.duckdns.org`)", - "traefik.http.routers.navidromewan.middlewares=dex@consulcatalog", - "traefik.http.routers.navidromewan.tls=true", - ] - port = "http" - - check { - type = "http" - port = "health" - path = "/" - interval = "10s" - timeout = "2s" - } - } + # NO service block here! Managed by register.sh inside the container. resources { cpu = 500