Hi,
Configurations such as custom port number, smtp settings, certificate paths, etc. are overwritten after every update in the schema.js file.
Is there a way to preserve these settings so I don’t have to update the schema.js file after every update?
n8n version: 1.15.2
Database (default: SQLite): SQLite
n8n EXECUTIONS_PROCESS setting (default: own, main): main
Running n8n via (Docker, npm, n8n cloud, desktop app): npm self hosted
Operating system: Windows 11 Pro 21H2
Hi @Suratwala , you’d want to set these values through either environment variables or an external configuration file .
Changing the source schema.ts file directly (or the schema.js file compiled from schema.ts) will not survive an upgrade as these files would be part of the n8n source code changing with each upgrade I am afraid.
1 Like
system
Closed
November 20, 2023, 2:57pm
4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.