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
After restarting the n8n service in the Yunohost panel, there is a problem with decrypting the "EncryptionKey" credentials in the case of workloflows updates.
Context
N8N v. 1.9.3~ynh1
Yunohost v. 11.2.5 (stable)
Yunohost was installed on Oracle Free Tier (ARM64)
I have SSH access
I noticed there was an update on N8N, but Yunohost said the app was up to date
Manually updated n8n from ssh
in home directory cd /home/yunohost.app/n8n/ && npm i n8n
in the directory cd /var/www/n8n/ && npm i n8n
Restarting the application worked correctly, but messages about EncryptionKey problems appear
I checked the forums related to N8N and the conclusion is that there is a problem with the encryptionKey key, which should not be updated
I noticed that there are double N8N configuration files, and in them the value of the encryptionKey key from the file /var/www/n8n/n8n/.n8n/config is completely different than the value from the file /home/yunohost.app/n8n /.n8n/config
before updating, I made a backup copy of the service and checked that the keys were the same from the very beginning (i.e. the value has not changed, but the values are different from each other)
Steps to reproduce
log in to ssh
Go to the /home/yunohost.app/n8n directory
update n8n with npm and n8n command
In the Yunohost dashboard, restart the n8n service
log in to the n8n application and run the previously saved workflow
a message appears at the bottom right of the screen
Expected behavior
The n8n application starts and runs all saved workflows without the need for re-authorization with external services.
Logs
Nov 16 19:48:45 n8n[274408]: NodeApiError: error:1C800064:Provider routines::bad decrypt
(....)
Nov 16 19:48:45 n8n[274408]: NodeApiError: error:1C800064:Provider routines::bad decrypt
Nov 16 20:57:35 n8n[274408]: Error: error:1C800064:Provider routines::bad decrypt
(...)
Nov 16 20:57:40 n8n[274408]: Error: Credentials could not be decrypted. The likely reason is that a different "encryptionKey" was used to encrypt the data.
Nov 16 20:57:40 n8n[274408]: Error: Credentials could not be decrypted. The likely reason is that a different "encryptionKey" was used to encrypt the data.
(...)
Nov 16 20:57:50 n8n[274408]: Error: error:1C800064:Provider routines::bad decrypt
Describe the bug
After restarting the n8n service in the Yunohost panel, there is a problem with decrypting the "EncryptionKey" credentials in the case of workloflows updates.
Context
1.9.3~ynh1
11.2.5 (stable)
cd /home/yunohost.app/n8n/ && npm i n8n
cd /var/www/n8n/ && npm i n8n
encryptionKey
key, which should not be updatedencryptionKey
key from the file/var/www/n8n/n8n/.n8n/config
is completely different than the value from the file/home/yunohost.app/n8n /.n8n/config
Steps to reproduce
/home/yunohost.app/n8n
directoryn8n
withnpm and n8n
commandn8n
serviceExpected behavior
The
n8n
application starts and runs all saved workflows without the need for re-authorization with external services.Logs
-> hastebin
The text was updated successfully, but these errors were encountered: