2 years ago
I use n8n with postgres, doing some tests I downloaded the same file several times and it filled up postgres.
My question is what do I lose if I clean the volume, do I lose my credentials and workflows too?
I can no longer access it to make a backup.
48 Replies
2 years ago
All your data will be deleted and won't be possible to restore it
Is it possible to access /var/lib/postgresql/data to delete the downloaded files?
I would like to increase the volume, but it is not enabling it.
There has to be a way out, I can't lose everything.
2 years ago
You can use the file browser template, but I don't suggest navigating through DB data.
I will silenty tag @Brody here and see if it's possible to expand your volume size.
2 years ago
what is the current size of your volume?
I can resize the volume.
However, it fails when opening the n8n application.
2 years ago
please answer the question
2 years ago
please confirm that for me
2 years ago
okay great, please explain what "it fails" means
2 years ago
is n8n running?
2 years ago
that would be the problem 😆
2 years ago
what errors are you getting in the deployment logs
2 years ago
English please
2 years ago
why have they crashed
2 years ago
not sure why you removed the image?
2 years ago
you need to redeploy the crashed services
yes, I removed the postgres image, I returned the image with :last.
now it works.
I'm a beginner.
thanks
I would still like to delete the files I downloaded and that filled up the memory.
How do I do this?
2 years ago
please dont swap image tags if you dont know what you are doing, it can very easily lead to data loss, railway cant recover data if the user was at fault, luckily it didnt cause issues this time
2 years ago
images are not stored in postgres
2 years ago
files are not stored in postgres
2 years ago
being a hobby user you can grow your volume to 5GB
I did more testing by running the n8n workflow by downloading the PDF file from Google Drive and Postgres went from 534MB to 545MB. I would like to know how to do it for which file is saved in Postgre. Please
See that every time I download a PDF file from Google Drive to n8n my Postgres database increases in size. I would like to understand if this was supposed to happen. I have 2000 PDFs to process and this increase that occurred was only with 2 PDFs.
2 years ago
as brody said, files are not stored in postgres. use an object/cloud bucket like amazon’s S3
What would this increase in volume be with each execution of the workflow then?
2 years ago
are you storing any data about the pdf / accessing the database in any way? If not, it may just be coincidental
Sorry for so many questions, I'm a beginner.
What I did was install N8N as shown in the image and I didn't do any configuration, I just accepted the default one to be able to use N8N.
It's no coincidence that I uploaded 393 PDFs, see the increase in volume in the image.
Can you tell me what I lose if I clean the volume?
If I clean it and redistribute Postgres, will it work normally again?
2 years ago
Uploaded the pdfs to where? Where are they stored?
pinecone, but it has nothing to do with uploading, because the volume increases when downloading the pdf binary from google drive to n8n.
2 years ago
I’m sorry, but you’re really not making your problem clear. You’ve said that the volume increases while uploading, but now you’re saying it only happens when downloading?
What data does this postgres db store? How does your script interact with it? If everything is done correctly and your script just pulls the pdf into Google Drive without interacting with the db, the db’s volume size should not increase.