Repository navigation
Two things were broken for self-hosters, and this release fixes both. If you schedule backups, read the first point.
Fixed
Backups of real instances were never written. On Linux, scripts/backup.sh rejected every dump larger than 64 KB, and scripts/restore.sh refused the same files. Photos and documents live in the database, so any instance in real use goes past that size quickly: a scheduled backup printed an error and saved nothing. Both scripts now accept them. After upgrading, run bash scripts/backup.sh once and check that a fresh file appears in ./backups. Thanks to mpking828.
Docker images build again, from the lockfile. Since mid-October, docker compose up -d --build failed on a clean checkout, because the images resolved every dependency again from the registry and npm crashed while doing so. They now install the versions recorded in the lockfile, the same ones the tests run against. Thanks to mpking828.
Outside France and in English:
- The calendar feed declares the server's own time zone, so subscribed Google calendars no longer shift every event by the Paris offset.
- Voice dictation transcribes in the speaker's language when no language is set, instead of French.
- A new account starts in the language it signed up in, and its notifications follow.
- Times read on a 12 hour clock and dates the US way in English, including in the kiosk companion.
Thanks to mpking828 for all four.
New
- Aid types per circle. Admins set their own list (Medicaid, VA benefits...) in Language and region; without a list a circle keeps APA, CESU, tax credit and other. Thanks to mpking828.
- A linked circle starts with its household's settings: currency, units, week start, emergency numbers and aid types. Thanks to mpking828.
--with-envfor backups copies.envnext to each dump. It is off by default on purpose:.envholdsJWT_SECRETand the key that encrypts integration and AI credentials, so it is better kept apart from the dumps, in a password manager or an encrypted vault. You still need to back it up: without it, a restored database signs everyone out.
Dependencies: 24 minor and patch updates.
Upgrading
git pull
docker compose up -d --build
Migrations run at startup, including the one that lets aid types be free text. Prebuilt images are published as ghcr.io/nexaflowfrance/opencare-server:1.2.2 and ghcr.io/nexaflowfrance/opencare-client:1.2.2. On Windows, run the installer below over your existing install.