Android App Fails to Release Text Editor File Locks
A bug in the Nextcloud Android app prevents the Text editor from releasing file locks after use.
Users report that when opening and closing .txt files within the Nextcloud Android app’s integrated Text editor, the file remains locked on the server, a behavior not observed with desktop browsers. This issue persists even after a significant time, and older sessions are not properly cleaned up, leading to a buildup of locks.
The Nextcloud server version 35.0.3 (Hub 26 Summer) with Text app version 9.0.1 and Android app version 35.1.0 are affected. The cleanup cron job appears to be running, but stale sessions are not being removed from the `oc_text_sessions` table, and the `files_lock` table shows locks with an incorrect TTL.
A workaround involves opening text files using a different editor through the Android document picker to avoid triggering the Text editor’s locking behavior. The user has raised questions about the expected behavior of session cleanup and lock expiration within the Nextcloud environment.