Skip to content

The immich-ml service fails on reboot #8070

@jcw

Description

@jcw

As mentioned here: #6785

I'm not quite sure how to create a "service log", but this is what I see in dietpi-services:

┌────────────────────────────────┤ DietPi-Services ├────────────────────────────────┐
│ Please select an option for: immich-ml                                            │
│                                                                                   │
│                              ●─ Service control ---------------------------●      │
│      State                   : [failed]                                           │
│      Mode                    : [enabled]                                          │
│      Include/Exclude         : [included]                                         │
│      Status                  : Display systemd status log                         │
│      Edit                    : [/etc/systemd/system/immich-ml.service]            │
│                              ●─ Process tool ------------------------------●      │
│      CPU Affinity            : [0-3]                                              │
│      CPU Scheduling Policy   : [other]                                            │
│      CPU Nice                : [0]                                                │
│      I/O Scheduling Class    : [best-effort]                                      │
│      I/O Scheduling Priority : [4]                                                │
│                              ●─ Presets -----------------------------------●      │
│      Reset                   : Resets all CPU/IO settings to system defaults      │
│      Highest Priority        : Highest priority realtime CPU/IO preset            │
│      High Priority           : High priority CPU/IO preset                        │
│      Low Priority            : Low priority CPU/IO preset                         │
│      Lowest Priority         : Lowest priority background CPU/IO preset           │
│                                                                                   │
│                                                                                   │
│                      <Select>                      <Back>                         │
│                                                                                   │
└───────────────────────────────────────────────────────────────────────────────────┘

and

┌─────────────────────────┤ DietPi-Services | File viewer ├─────────────────────────┐
│                                                                                   │
│ × immich-ml.service - Immich Machine Learning (DietPi)                            │
│      Loaded: loaded (/etc/systemd/system/immich-ml.service; enabled; preset:      │
│ enabled)                                                                          │
│      Active: failed (Result: resources)                                           │
│  Invocation: 602dae32ba714a58a92faa3fe90879bb                                     │
│    Mem peak: 0B                                                                   │
│         CPU: 0                                                                    │
│                                                                                   │
│ Apr 06 18:31:12 houtje systemd[1]: immich-ml.service: Failed to load environment  │
│ files: No such file or directory                                                  │
│ Apr 06 18:31:12 houtje systemd[1]: immich-ml.service: Failed to spawn 'start'     │
│ task: No such file or directory                                                   │
│ Apr 06 18:31:12 houtje systemd[1]: immich-ml.service: Failed with result          │
│ 'resources'.                                                                      │
│ Apr 06 18:31:12 houtje systemd[1]: Failed to start immich-ml.service - Immich     │
│                                                                                   │
│                                      <Ok>                                         │
│                                                                                   │
└───────────────────────────────────────────────────────────────────────────────────┘

This is on DietPi v10.2.3, RPi 5 Model B, 1334 of 8063 MiB RAM used.

As mentioned, all photos are on an external SMB mount, but IIUC this would not be relevant, as it's immich-ml which is failing, not immich itself.

Please let me know what other info I can dig up. System still rebooted w/ immich-ml not running.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Workaround available 🆗Workaround is available/has been implemented, but a definite solution should be found when possible.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions