Your question
Firstly, big congratulations to everybody involved in releasing 1.0. Thank you.
The version 1.0 announcement for Stalwart says of the migrate tool:
“…The tool converts your settings to the v1.0 schema and copies all data into a new, empty v1.0 store. It only reads from the old store, so the original deployment stays intact and can be restarted at any point before the switch.”
If it “converts your settings” and “copies all data”, I would expect prepart-report.txt to contain no warnings or errors. Mine does:
Summary: 3049 objects to write, 12 dropped, 61 warnings, 0 errors, 5 questions answered now.
With the spam_model category, run --final overwrites the spam classifier and trainer models under their fixed keys in the external FileSystem blob store, after its verification passed. v0.16 uses the same keys and cannot read the v1 format; a later rollback into this blob store refuses to start unless it is told to write the v0.16 model back (–allow-shared-deletes) or to keep the v1 model (–keep-v1-spam-model).
Every question has an answer; run can start.
Dropped objects:
x:SpamTag/jalbtgasd2aa
x:SpamTag/jalbtgasd2qa
x:SpamTag/jalbtgasd0aa
x:SpamTag/jalbtgasd0qa
x:SpamTag/jalbtgasd1aa
x:SpamTag/jalbtgasd1qa
x:SpamTag/jalbtgasd3aa
x:SpamTag/jalbtgasd3qa
x:SpamTag/jalbtgaseaaa
x:SpamTag/jalbtgaseaqa
x:SpamTag/jalbtgasebaa
x:SpamTag/jalbtgasebqa
Changes:
info: x:AcmeProvider/jalbmr7mabaa description: acme_description: v0.16 computed the description from the directory URL and the account; v1 stores it
warning: x:AcmeProvider/jalbmr7mabaa maxRetries: dropped (no equivalent in the target version), was 10
info: x:NetworkListener/jalbteboaeqb maxConnections: v0.16 default 8192 replaced by the new default
info: x:NetworkListener/jalbteboafab maxConnections: v0.16 default 8192 replaced by the new default
info: x:NetworkListener/jalbteboafqb maxConnections: v0.16 default 8192 replaced by the new default
info: x:NetworkListener/jalbteboagab maxConnections: v0.16 default 8192 replaced by the new default
info: x:NetworkListener/jalbteboagqb maxConnections: v0.16 default 8192 replaced by the new default
info: x:NetworkListener/jalbteboahab maxConnections: v0.16 default 8192 replaced by the new default
info: x:NetworkListener/jalbteboahqb maxConnections: v0.16 default 8192 replaced by the new default
info: x:NetworkListener/jalripvcabqa maxConnections: v0.16 default 8192 replaced by the new default
warning: x:OidcProvider anonymousClientRegistration: dropped (no equivalent in the target version), was true
warning: x:OidcProvider requireClientRegistration: dropped (no equivalent in the target version), was false
warning: x:OidcProvider authCodeMaxAttempts: dropped (no equivalent in the target version), was 3
warning: x:OidcProvider refreshTokenRenewal: dropped (no equivalent in the target version), was 345600000
warning: x:Role/b enabledPermissions/jmapPrincipalCreate: dropped (no equivalent in the target version)
warning: x:Role/b enabledPermissions/jmapPrincipalDestroy: dropped (no equivalent in the target version)
warning: x:Role/b enabledPermissions/jmapPrincipalUpdate: dropped (no equivalent in the target version)
warning: x:Role/b enabledPermissions/sysArchivedItemCreate: dropped (no equivalent in the target version)
warning: x:Role/b enabledPermissions/sysSpamTrainingSampleUpdate: dropped (no equivalent in the target version)
info: x:Role/b enabledPermissions: permissions: granted imapMetadataGet, imapMetadataPrivate, imapMetadataSet, jmapMetadataGet, jmapMetadataPrivate, jmapMetadataSet, sysOAuthGrantDestroy, sysOAuthGrantGet, sysOAuthGrantQuery
warning: x:Role/c enabledPermissions/jmapPrincipalCreate: dropped (no equivalent in the target version)
warning: x:Role/c enabledPermissions/jmapPrincipalDestroy: dropped (no equivalent in the target version)
warning: x:Role/c enabledPermissions/jmapPrincipalUpdate: dropped (no equivalent in the target version)
warning: x:Role/c enabledPermissions/sysArchivedItemCreate: dropped (no equivalent in the target version)
warning: x:Role/c enabledPermissions/sysSpamTrainingSampleUpdate: dropped (no equivalent in the target version)
info: x:Role/c enabledPermissions: permissions: granted imapMetadataGet, imapMetadataPrivate, imapMetadataSet, jmapMetadataGet, jmapMetadataPrivate, jmapMetadataSet
warning: x:Role/d enabledPermissions/sysQueuedMessageCreate: dropped (no equivalent in the target version)
info: x:Role/d enabledPermissions: permissions: granted sysOAuthGrantDestroy, sysOAuthGrantGet, sysOAuthGrantQuery
warning: x:Role/e enabledPermissions/oAuthClientOverride: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/oAuthClientRegistration: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/sysActionDestroy: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/sysActionGet: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/sysActionQuery: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/sysActionUpdate: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/sysArchivedItemCreate: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/sysArfExternalReportCreate: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/sysArfExternalReportUpdate: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/sysClusterNodeCreate: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/sysClusterNodeDestroy: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/sysClusterNodeUpdate: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/sysDmarcExternalReportCreate: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/sysDmarcExternalReportUpdate: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/sysDmarcInternalReportCreate: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/sysLogCreate: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/sysLogDestroy: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/sysLogUpdate: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/sysMetricCreate: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/sysMetricDestroy: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/sysMetricUpdate: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/sysQueuedMessageCreate: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/sysSpamTrainingSampleUpdate: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/sysTlsExternalReportCreate: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/sysTlsExternalReportUpdate: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/sysTlsInternalReportCreate: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/sysTraceCreate: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/sysTraceDestroy: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/sysTraceUpdate: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/taskIndexDocument: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/taskIndexTrace: dropped (no equivalent in the target version)
warning: x:Role/e enabledPermissions/taskUnindexDocument: dropped (no equivalent in the target version)
info: x:Role/e enabledPermissions: permissions: granted sysIndexQueueStatusGet, sysIndexQueueStatusQuery, sysIndexQueueStatusUpdate, sysMetadataGet, sysMetadataUpdate, sysOAuthGrantDestroy, sysOAuthGrantGet, sysOAuthGrantQuery, taskDmarcReportWindow, taskShareRevokeCleanup, taskTlsReportWindow
info: x:SpamTag/jalbtgamcjqa tag: spam_tag: DISPOSABLE_REPLYTO renamed to DISPOSABLE_REPLY_TO, the tag v1 emits
warning: x:SpamTag/jalbtgasd2aa: dropped (no equivalent in the target version), was {“@type”:“Score”,“score”:3.0,“tag”:“LLM_COMMERCIAL_HIGH”}
warning: x:SpamTag/jalbtgasd2qa: dropped (no equivalent in the target version), was {“@type”:“Score”,“score”:0.5,“tag”:“LLM_COMMERCIAL_LOW”}
warning: x:SpamTag/jalbtgasd0aa: dropped (no equivalent in the target version), was {“@type”:“Score”,“score”:2.0,“tag”:“LLM_COMMERCIAL_MEDIUM”}
warning: x:SpamTag/jalbtgasd0qa: dropped (no equivalent in the target version), was {“@type”:“Score”,“score”:3.0,“tag”:“LLM_HARMFUL_HIGH”}
warning: x:SpamTag/jalbtgasd1aa: dropped (no equivalent in the target version), was {“@type”:“Score”,“score”:0.5,“tag”:“LLM_HARMFUL_LOW”}
warning: x:SpamTag/jalbtgasd1qa: dropped (no equivalent in the target version), was {“@type”:“Score”,“score”:2.0,“tag”:“LLM_HARMFUL_MEDIUM”}
warning: x:SpamTag/jalbtgasd3aa: dropped (no equivalent in the target version), was {“@type”:“Score”,“score”:-3.0,“tag”:“LLM_LEGITIMATE_HIGH”}
warning: x:SpamTag/jalbtgasd3qa: dropped (no equivalent in the target version), was {“@type”:“Score”,“score”:-0.5,“tag”:“LLM_LEGITIMATE_LOW”}
warning: x:SpamTag/jalbtgaseaaa: dropped (no equivalent in the target version), was {“@type”:“Score”,“score”:-2.0,“tag”:“LLM_LEGITIMATE_MEDIUM”}
warning: x:SpamTag/jalbtgaseaqa: dropped (no equivalent in the target version), was {“@type”:“Score”,“score”:3.0,“tag”:“LLM_UNSOLICITED_HIGH”}
warning: x:SpamTag/jalbtgasebaa: dropped (no equivalent in the target version), was {“@type”:“Score”,“score”:0.5,“tag”:“LLM_UNSOLICITED_LOW”}
warning: x:SpamTag/jalbtgasebqa: dropped (no equivalent in the target version), was {“@type”:“Score”,“score”:2.0,“tag”:“LLM_UNSOLICITED_MEDIUM”}
warning: x:SystemSettings threadPoolSize: dropped (no equivalent in the target version)
info: x:Tracer/jalbmovqaaaa prefix: v0.16 default “stalwart” kept (changed default pinned)
info: x:SpamPyzor enable: v0.16 default true kept (changed default pinned)
It may be that all of the above is normal and expected, but the quick migration guide ( ) and the more detaild preparation instructions ( ) just say “Then review prepare-report.txt … which lists every dropped object and every changed setting.”. From my point of view, if those warnings were expected, then they surely wouldn’t be detailed in the file - the fact that they are indicates to me that I need to fix something.
So that leaves me not understanding the warning, not knowing whether this is expected and not knowing how to fix the problems (if they need fixing).
So, taking the first warning for example:
warning: x:AcmeProvider/jalbmr7mabaa maxRetries: dropped (no equivalent in the target version), was 10
It seems to me that storing the number of ACME retries is probably quite important - and yet this doesn’t seem to be stored in the later version. Is this right? Is it stored elsewhere? How is it populated? How do I fix this?
I’m stuck at the point where I want to upgrade, but I’m simply not sure whether I’m going to break something or not and whether if I do upgrade I’m going to end up with a system with half of its functionality missing.
I appreciate that the documentation for the migrate tool is quite comprehensive, but I do feel it needs something more than “review prepare-report.txt” in terms of defining exactly what one should and should not expect to see in that file.
If somebody could cast their eyes over my file and tell me what I need to be concerned about, I’d be grateful.