N8N Template Failing to Build

I am trying to deploy a new .n8n template, but it is failing to build. I keep getting the same message: Error: EACCES: permission denied, mkdir '.n8n' This is on a fresh project using this template.
18 Replies
Percy
Percy16mo ago
Project ID: 7ce1ea8a-4e1a-46ed-9722-6c3daca48391
Deani1232
Deani123216mo ago
7ce1ea8a-4e1a-46ed-9722-6c3daca48391
Brody
Brody16mo ago
using this template right? https://railway.app/template/r2SNX_
Deani1232
Deani123216mo ago
Yes. I am using whatever one is suggested in the ui when creating a new service
Brody
Brody16mo ago
@jtmaveryk - small problem
Jack
Jack16mo ago
Checking, my apologies. Leaving work now but was able to discover that attempting to create the directory in the docker file results in continuous deployment status with no start or deploy logs after image publish. I’ll try and look into it more when I get home, but just incase, it has nothing to do with any recent changes or issues related to the service? Surprising to me because it had worked before and I’m not sure if something is just messed up or changed infrastructure-wise.
Deani1232
Deani123216mo ago
I am trying this on a brand new deploy project from template using the web UI. Also of note, I have a much older N8N project on a different project on my account, and I tried to update a variable on that earlier today (haven't touched it in 6 months), and after I updated the variable, it would not start again, hence why I am creating a new one for the functionality I'm looking to build. I ended up rolling it back and I probably won't touch it again since it is a critical part of our application.
zawlodzki
zawlodzki16mo ago
I have the same issue, deploy logs shows '› Error: command n8n not found'
Jack
Jack16mo ago
Looking more into it very soon.
Deani1232
Deani123216mo ago
Sounds good. My company uses N8N for quite a few things so I would like to be able to spin up a new N8N instance. Jack, different concern, but a major one… when I redeployed N8N after a failed update yesterday, every credential stored in it lost the encryption data and my services went offline until I was able to replace every credential and change it in every node. Very inconvenient and frustrating. I am using the version from 7 months ago, and I don’t know if this is fixed in the newer templates or not. If it’s not fixed, that needs some attention as non-technical users are the primary audience of N8N and similar tools, so never being able to update it seems problematic.
Jack
Jack16mo ago
This should definitely be fixed in the new template when I get this quick problem resolved, it’ll store them in the volume and we can even set a custom encryption key if necessary, however I’ll make sure to test it prior to publishing.
Deani1232
Deani123216mo ago
Hey Jack, is there an update on this issue? Has it been resolved with a new template yet?
Jack
Jack16mo ago
Much apologies, getting on this after lunch.
CalvinTorra
CalvinTorra16mo ago
Is this n8n deployment a community creation or an actual service offered by railway?
Brody
Brody16mo ago
community creation by our friend jack, he has said he will fix it so please be patient
gridnpixel
gridnpixel16mo ago
Thanks Jack! Joined the discord because we redeployed this morning and our n8n broke. Nice to see it's being handled!
Jack
Jack16mo ago
Hey, I deeply apologize for the wait and thank you for your patience. I’ve resolved that issue and it should be deployable now, just have a volume thing to look at in the morning if you don’t mind waiting another few hours in the morning for a quick check if I have time, otherwise feel free to deploy with possible encryption key loss. Should be all set now if you wanna delete your project and try to deploy the template (or make modifications to existing project)! 🙂
Deani1232
Deani123216mo ago
Thank you Jack. I will take a look at this today.
Want results from more Discord servers?
Add your server