Email log errors reported

AI-generated summary

The discussion revolves around recurring email log errors in a Discourse admin dashboard. Fsantiago reports various errors, including ā€˜execution expired’, ā€˜Filter element can only be used in Lifecycle V2’, and a PostgreSQL error related to ā€˜InvalidColumnReference’. They note that email posting works fine and suspect their self-hosted email server might be involved. codinghorror explains the S3 lifecycle error is related to Amazon S3 versioning, which can be resolved via the S3 control panel. Fsantiago confirms both S3 buckets have versioning disabled, suggesting this might be the cause. gerhard clarifies that the S3 issue was resolved and a fix for the PostgreSQL error has been pushed. Fsantiago thanks the community for the updates.

Every now and then my admin dashboard tells me I have x number of errors in a 24 hour span. I review the logs and they typically appear as:

Job exception: execution expired		6 Oct 10:17 pm
Job exception: Found two rules with same prefix 'tombstone/'		8 Oct 7:57 pm
Job exception: Filter element can only be used in Lifecycle V2.		9 Oct 7:18 pm
Job exception: Filter element can only be used in Lifecycle V2.		11 Oct 6:34 pm
Job exception: Cannot assign requested address - connect(2) for "email server" port x		We 8:52 am   		
Job exception: Filter element can only be used in Lifecycle V2.		3:15 pm
ActiveRecord::StatementInvalid (PG::InvalidColumnReference: ERROR: for SELECT DISTINCT, ORDER BY expressions must appear in select list LINE 1: ... NOT NULL) AND (invites.user_id IS NULL) ORDER BY CA
3:16 pm		
Job exception: execution expired

Is this anything I should be concerned with? I also run my own email server so I have full ability to review aspects of it as well. I also occasionally reboot it for service reasons. I assume that could explain some of it. Just wondering. Thanks.

I should also add I allow email topic posting and it does work fine from my experience.

More recent errors:

Job exception: Filter element can only be used in Lifecycle V2. 3:45 pm
ActiveRecord::StatementInvalid (PG::InvalidColumnReference: ERROR: for SELECT DISTINCT, ORDER BY expressions must appear in

Strange; does no one else’s logs show such messages or is this normal and I’m overstressing…?

The lifecycle thing is an Amazon S3 versioning issue, and you can fix that via your amazon S3 control panel.

i have two different s3 buckets that my site utilizes and they both have versioning disabled. is that why?

Sam fixed the S3 issue yesterday (Amazon S3 job exception -- Filter element can only be used in Lifecycle V2 - #18 by sam) and I just pushed a fix for the InvalidColumnReference error you noticed.

Excellent thanks for the heads up!