Hi, i have a big problem. A self hosted server shutdown and lost the workflows and credentials. I didnt configured the server so i dont know anything about the configuration. The only thing i know is that is hosted in a docker container in digital ocean. If somebody can tell me how i can see the configuration so i can share it. When i go to the n8n domain the only thing i can do is create a new user. In the digital ocean terminal i could access the n8n container and i can see a sqlite database but i dont know if in there are my workflows or not and dont know how to restore them.
I am very new to this, am sorry if something doesnt make any sense
It does make sense. Same sort of thing happened to me early on.
There may be hope if the n8n container was set up such that it uses storage outside the container (i.e. mapped volumes) for application and database files. If so, try and get a copy of the n8n config file (which may have the encryption key value), and all of the contents of the “db” or “database” volume.
If the container was rebuilt, and the db and/or app storage was/were not mapped to external volumes, all of that data might have been written into the volatile storage (memory) in the running container, and would be discarded when the container is rebuilt.
I hope you are (or were) able to get the data back. If not, be sure you get things reconfigured to use storage volumes outside the container going forward.
Since your n8n instance is running in Docker on DigitalOcean, and you see a SQLite database, your workflows and credentials may still be recoverable. Here’s what you can do:
Steps to Recover Workflows & Credentials
Check If the SQLite Database Still Contains Your Data
Run the following inside the n8n container to see if your database file exists:
docker exec -it n8n ls /home/node/.n8n
If you see a file named database.sqlite, your data is likely intact.