YunoHost-Apps / trilium_ynh

Trilium package for YunoHost
https://github.com/zadam/trilium
GNU Affero General Public License v3.0
10 stars 8 forks source link

Roll back `$data_dir` usage #68

Open orhtej2 opened 2 months ago

orhtej2 commented 2 months ago

Given Trilium uses SQLite DB that's currently stored in $data_dir which is marked --is_big=1 in backup script a failed upgrade may and will lead to issues like #47, where the database gets updated, upgrade fails, app is rolled back but the DB is already updated and not rolled back hence you land in unusable state :/