Repository navigation
Releases
Carracho Server 1.1.8
Carracho Server 1.1.8 (Build 19)
Send exact 64-bit sizes to modern clients
The macOS Server and native Linux Server now send exact file sizes in modern-only metadata for directory listings and file information replies. Previously, both Server implementations clamped these values to the historical 32-bit maximum of 4,294,967,295 bytes even for modern connections. Large-file sizes are now retained before encoding, and each directory page carries one 64-bit value for each entry.
The Classic packed records remain unchanged and retain their historical 32-bit size field. Extra size metadata is sent only to modern connections. This also works when Legacy compatibility is enabled on the Server; enabling compatibility does not limit modern peers to Classic file sizes.
Preserve full sizes in filesystem and indexed searches
Modern file searches can opt into 64-bit result records. Both Server implementations retain full sizes during filesystem searches and resolve saturated 32-bit sizes from existing search indexes against the current file metadata. Existing indexes therefore support the correction without a database schema migration or a mandatory index rebuild.
The extended search format is sent only after a modern Client requests it. Classic clients and earlier modern clients continue to receive the original record format. Regression checks cover the 4 GiB boundary, larger sizes, pagination, malformed metadata, folder item counts, filesystem searches, indexed searches and complete modern/Legacy Client connections to both Server implementations.
Installationshinweis: Bei macOS müssen Server-App und installierter Hintergrunddienst aktualisiert werden. Vor dem Update den Datenbankordner einschließlich vorhandener WAL-/SHM-Dateien sichern.
Source code: https://github.com/ProfDrLuigi/Carracho
Carracho Server 1.1.7
Carracho Server 1.1.7 (Build 18)
Critical: prevent account loss when changing the administrator password
Fixed a data-loss defect in the macOS Server administration GUI. When the Server GUI and the background carracho-serverd service had independently loaded the same server.db, the GUI could retain an outdated account snapshot. Changing the administrator password then saved that stale entire server state, replacing the current accounts table and removing accounts created or changed by the daemon since the GUI opened. The updated code applies the password change against the latest database state, preserving all other accounts, credentials, newsgroups and server settings.
Atomic cross-process SQLite state updates
Every Server state mutation now acquires SQLite's BEGIN IMMEDIATE writer lock before reading the current persisted state, applies the change to that latest state and commits it atomically. This prevents the independently running Server GUI and system-service daemon from overwriting one another's newer data. An error rolls back the whole transaction. The old API for blindly saving an out-of-date full-state snapshot has been removed.
Administrator password changes update credentials only
The Server app now uses the backend's dedicated password-change operation rather than submitting its cached administrator account as an entire replacement record. Existing admin metadata, group assignments, profile settings and changes made through a second process remain intact. The normal new-password validation and authentication verifier storage are unchanged.
Refuse silent database reinitialization on existing installations
An existing server.db without a valid persisted Server state is now treated as an error rather than silently replaced with fresh default accounts. First-run initialization is serialized inside the same SQLite write lock so two simultaneous process starts cannot independently bootstrap the database. Fresh installations still initialize normally. This protection does not recover accounts already lost to an earlier overwritten state; restore those from a database backup if available.
Regression coverage for GUI and daemon account safety
Added a standalone SQLite regression test using two separate backend instances pointing to one disposable test database. It confirms that an administrator password change from a stale GUI snapshot preserves accounts created by the other process, including their logins, UUIDs and usable passwords. Tests also check preserved newsgroups and server settings, reverse-direction stale-state changes, rollback after a deliberate failure and safe handling of an incomplete existing database.
Update the macOS system-service daemon as well as the GUI
The fix changes shared persistence code used by both the macOS Server app and its embedded carracho-serverd helper. After installing the new app, use System Service → Update Now to replace any previously installed system-service helper. Installing only the GUI while leaving an older daemon running does not fully protect the Server database. No SQLite schema migration or Classic/modern packet-format change is required. The shared Server version metadata is also raised to 1.1.7 (build 18) for native Linux build/package reporting, but the reported stale-snapshot bug concerns the macOS Server GUI and daemon.
Installationshinweis: Bei macOS müssen Server-App und installierter Hintergrunddienst aktualisiert werden. Vor dem Update den Datenbankordner einschließlich vorhandener WAL-/SHM-Dateien sichern.
Source code: https://github.com/ProfDrLuigi/Carracho