n8n-io / n8n-docs

Documentation for n8n, a fair-code licensed automation tool with a free community edition and powerful enterprise options. Build AI functionality into your workflows.
https://docs.n8n.io
Other
167 stars 320 forks source link

fix n8n data directory path #2195

Closed KShivendu closed 3 months ago

KShivendu commented 3 months ago

Hello, thanks for building a great product.

Looks like you recently change the directory to store n8n files in the container. I lost valuable data because of mounting to wrong path and assuming it would be right all along (as per docs). Took me a while to figure out the right path. I don't want it to happen with anyone else =)

CLAassistant commented 3 months ago

CLA assistant check
All committers have signed the CLA.

netlify[bot] commented 3 months ago

Deploy Preview for n8n-docs ready!

Name Link
Latest commit 253c34849d8300ebdf4f9ef8dc71f1be38c209fc
Latest deploy log https://app.netlify.com/sites/n8n-docs/deploys/668024ebc48efe0008c31375
Deploy Preview https://deploy-preview-2195--n8n-docs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Joffcom commented 3 months ago

Hey @KShivendu,

Sadly this PR would be asking users to use the old directory, since the release of 1.0 the path in the container is /home/node/.n8n using /root/.n8n is no longer recommended.

You can find the details on this change in the 1.0 migration guide here: https://docs.n8n.io/1-0-migration-checklist/#breaking-changes