I’m not very familiar with hosting this myself and trying to set up a local test enviroment. Not sure what I’m doing wrong on the config file. I’ve looked the git up schema, but apparently I’m reading it incorrectly.
What is the error message (if any)?
(node:24505) Error Plugin: n8n: configuration param 'path' missing from config, did you override its parent?
configuration param 'path.editorBaseUrl' not declared in the schema
configuration param 'path.host' not declared in the schema
module: @oclif/[email protected]
task: cacheCommand
plugin: n8n
root: /usr/local/lib/node_modules/n8n
See more details with DEBUG=*
(Use `node --trace-warnings ...` to show where the warning was created)
Sounds like a basic setup without volume attached.
I can recommend portainer as a nice GUI on docker. And there should be info on volumes to attach in the docs.
I attempted docker again on linux, but this is what happens when I try to run. No matter how I do the key, including one from letsencrypt I get an error about the key not being there. I’ve even tried with .key and .crt and get the error about .key
docker run -it --rm \
--name n8n \
-p 5678:5678 \
-e N8N_PROTOCOL=https \
-e N8N_HOST=wigginsphilip.duckdns.org \
-e N8N_SSL_CERT=/home/philip/n8nCert.pem \
-e N8N_SSL_KEY=/home/philip/n8nKey.pem \
-v n8n_data:/home/node/.n8n \
docker.n8n.io/n8nio/n8n
User settings loaded from: /home/node/.n8n/config
Last session crashed
Initializing n8n process
Error: ENOENT: no such file or directory, open '/home/philip/n8nKey.pem'
Error: Exiting due to an error.
Error: ENOENT: no such file or directory, open '/home/philip/n8nKey.pem'