You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`Mismatching encryption keys. The encryption key in the settings file ${this.settingsFile} does not match the N8N_ENCRYPTION_KEY env var. Please make sure both keys match. More information: https://docs.n8n.io/hosting/environment-variables/configuration-methods/#encryption-key`,
195
199
);
@@ -198,19 +202,25 @@ export class InstanceSettings {
198
202
return{ encryptionKey, tunnelSubdomain };
199
203
}
200
204
205
+
if(!encryptionKeyFromEnv){
206
+
if(this.instanceType==='worker'){
207
+
thrownewWorkerMissingEncryptionKey();
208
+
}
209
+
210
+
if(!inTest){
211
+
this.logger.info(
212
+
`No encryption key found - Auto-generating and saving to: ${this.settingsFile}`,
0 commit comments