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

Issue33 #34

Closed p4p4j0hn closed 1 year ago

p4p4j0hn commented 1 year ago

Problem

Solution

PR Status

Automatic tests

Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

p4p4j0hn commented 1 year ago

!testme

ericgaspar commented 1 year ago

!testme

yunohost-bot commented 1 year ago

:v: Test Badge

yunohost-bot commented 1 year ago

:rocket: Test Badge

p4p4j0hn commented 1 year ago

@ericgaspar Can this be merged?

alexAubin commented 1 year ago

Hmmm this sounds the exact situation described in https://github.com/YunoHost/yunohost/pull/1443

But I don't have my neurons properly connected right now to each other to think about if / what is the right way to address this x_x

But it's pretty spooky :|

p4p4j0hn commented 1 year ago

This might just be a non issue... It is only a problem if the upgrade goes wrong. As long as the upgrade is tested and proven to work, we don't need to add this tweak to the package.

p4p4j0hn commented 1 year ago

Hmmm this sounds the exact situation described in YunoHost/yunohost#1443

But I don't have my neurons properly connected right now to each other to think about if / what is the right way to address this x_x

But it's pretty spooky :|

This is not like that issue. The next version upgrade includes a database schema change, if the upgrade fails, there is no way to restore the preupgrade backup because the new database in the datadir is not compatible with the previous version. So for the next upgrade we should include the datadir in the pre-upgrade backup.