Filter Rules disappearing

Hey guys,

I am currently running KC version 8.6.80.621-0+63.1 on Debian Stretch and tried to upgrade to latest nightly (8.6.80.1014-0+150.1). Unfortunately the upgrade let all my Filter Rules disappear in Web App and non of them was working anymore. After restoring my backup snapshot of the VM running Kopano Core all the Rules were back there again. So it appears that the rules stay in the database* (or are they stored elsewhere?) but aren’t shown and applied anymore. Any suggestions?

Thanks!

* DB is on a different host and hasn’t been restored

@ashceryth said in Filter Rules disappearing:

or are they stored elsewhere?

with the exception of attachment (and user data if you are using ldap) everything is stored in the database.

I did not attempt to reproduce this error, anyone else experiencing it?

@fbartels said in Filter Rules disappearing:

with the exception of attachment (and user data if you are using ldap) everything is stored in the database.

Well, that’s what I expected.

Is there anything I can provide so that you can gain some further insight on the issue?

You could try to setup a new installation/mailbox and see if you get the same results there as well.

Its not like we discard some data during upgrade, so I don’t think it would make sense to look in the server.log, maybe raise logging of the dagent and see if it logs something interesting when a rule should be applied.

I tried upgrading the core again with nightly from last night. The issue persists. I raised the log level to 6 in both dagent and server, configuration, but there is really nothing relevant in the log files. I can create new rules which are then shown in the Web App. However, all old rules (rules that were created before upgrading) are gone…

When creating a new mailbox - as suggested by you - there won’t be any rules as they are local to the user, or isn’t it like that?

@ashceryth said in Filter Rules disappearing:

When creating a new mailbox - as suggested by you - there won’t be any rules as they are local to the user, or isn’t it like that?

Yes, but I meant like “check if it’s something related to your inbox, or does it happen to other mailboxes as well”. For this you of course need to create a rule in the inbox before the upgrade.

Well, that makes sense now :) I will try that later and report the results. Very strange issue.

Maybe also interesting: The new rule that has been created after the upgrade for testing purposes has overwritten all old rules. So after restoring the KC VM snapshot, there was only this one rule so I had to restore the database as well.

@fbartels said in Filter Rules disappearing:

[…], anyone else experiencing it?

I observed a similar thing:
Webapp-settings got corrupted, entirely with one of the recent master-builds:

  • rules disappearing
  • inbox-privileges were broken (no access)
  • webapp started with initial setup-dialog

Re-creating the user fixed the problem for a short time, but corruption appeared again.

I didn’t report the issue, as I was too busy and not sure, if a build-problem was the main-cause on my system.
It happened with one of the recent master-builds (1- 2 weeks ago), but didn’t show up again, since.

++umgfoin.

I tried to reproduce it (updated from 8.6.2 to 8.6.80 in core), but my rules weren’t affected by the upgrade…

After upgrading to the latest nightly yesterday all my rules got lost.