Documentation
Everlock 0.17.0
The 0.17.0 release makes a self-update restart into the new binary and brings the albums back to the Immich app. The gallery's timeline returns to a deep position without reading the whole list, and the start log names the faster build for the server's CPU. Binaries are on the download page.
Read Upgrading before you update: a self-updating server without systemd socket activation needs one restart by hand to arrive on 0.17.0.
Highlights
-
A self-update restarts into the new binary. On a server without systemd socket activation, the restart after an update started the previous binary again: the update moves the running file aside as
everlock.old, and the restart asked the operating system which file was running, which by then waseverlock.old. The server ran the old version until its next restart, and the next day's check deletedeverlock.oldand failed. Everlock now records its program path at start, and the update and the restart use that path. See Self-update. -
The Immich app lists albums again. Since version 3.0 the app lists an album by its owner. The sync stream named the user as
editorof every album, so the app stored the albums and listed none. The stream now names the user as owner, and the app takes that with its next sync. The app's login screen asks for an email address;alice@localsigns in asalice, see Known issues. -
A refresh deep in the timeline shows its photos at once. To return to a saved position, the gallery's timeline read the whole list from the newest photo down to it, in pages of 200 full records: at photo 6,600 that was 33 requests and 11.9 MB before the first preview. The timeline now lays out its days from the summary, reads the list in slim pages of 5,000 and builds a photo's card when it nears the visible area. The slim form is open to API clients too:
GET /ami/assets?view=slimlists each asset byid,originalName,createdAtanduploadedAt. -
The start log names the build for the CPU. Linux on x86-64 has a build per CPU level. When the CPU runs a higher level than the running build, Everlock logs which build that is, such as
this CPU runs x86-64-v3; everlock-linux-amd64v3 is the faster build for it. The download page leads with the baseline build, which runs on every x86-64 CPU, and lists the faster builds below it.
Behavior changes
-
Asset lists of an image instance leave deleted assets out.
GET /ami/assetsandGET /ami/assets/searchheld live and deleted assets together. They now list live assets, anddeleted=onlylists the trash.totalandoffsetcount the side shown. An API client that read the trash from the plain list addsdeleted=only. -
Everlock starts at least eight async workers. The workers that serve every protocol numbered one per CPU, so a server with four CPUs had four, and store calls and password checks each hold one while they run. Everlock now starts one worker per CPU and at least eight.
TOKIO_WORKER_THREADSsets the number as before and takes precedence, below eight too.
Fixes
- The album cover picker offers the album's live photos; it listed the deleted ones too.
- Albums, people and searches with videos run in order of time, newest first, where a search listed every photo before every video. The Immich search follows the same order.
- The Markdown renderer of the git web UI,
comrak1.2, carries the fix for GHSA-7f8r-4rh5-vr5h: parsing time that grows with the square of the escaped pipes in a table cell. - When neither multicast socket binds, Everlock logs
mDNS frontend stoppedwith the reason, where the announcer ran and announced nothing.
The changelog lists all of them.
Upgrading
Self-updating servers pick 0.17.0 up on their daily check. For a manual upgrade, download the new binary and restart — stores, mail and all versioned content carry over. Two things to know:
-
Restart a self-updating server once by hand. The restart after this update is still done by the old version, which starts the previous binary again. On a server without systemd socket activation, run
systemctl restart everlockafter the update;/server infothen shows 0.17.0. Without it the server keeps running the old version, and the next day's update check fails. A server with socket activation and a manual upgrade need nothing more. -
Add
deleted=onlywhere a script reads the trash. The plain asset list of an image instance holds live assets from 0.17.0 on.