I don’t really have anything else, I have given it a go here on a couple of installs and it worked. Can you try exporting the workflows and see if that works?
Can you also share your n8n configuration and how you are launching it?
Do you think that we can maybe export from our N8N MySQL database credentials_entity table and then import it later easily to another n8n version ? It will work ?
I have a feeling the issue could be N8N_USER_FOLDER=/opt/n8n/data. Let me take a quick look at the CLI and see if that option is taken into consideration.
I will free up some time to do some more testing and use your environment options to mimic your setup. It might sound odd but have you tried running the same command using the Execute Command node from inside n8n?
Yeah it was our inital goal, save in gitea all our workflow as well as credentials.
We use gitea API combined with N8N API to store all we need in gitea and it works pretty well, except for credentials, N8N api doesn’t allow to export it.
Don’t waste your time, as you said before “You could export the table and import it as long as you have the encryption key, I am not sure why the command is failing though ti should be working.”
N8N_ENCRYPTION_KEY is the correct parameter ?
I think when N8N v1 will be available we’ll use it as a fresh install with PostgreSQL.