After updating n8n I lost all workflows on which I was working last month. Sadly I haven’t exported them before.
Is there a way how I can restore them? Previously when I was updating n8n there was not problems like this and all workflows were still available.
As I see database.sqlite in .n8n folder is rewrited. Is there any way how I can restore it?
Information on your n8n setup
n8n version: 0.8.x previously → 1.3.1 now
**Database (default: SQLite): SQLite
**n8n EXECUTIONS_PROCESS setting (default: own, main): main
**Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
Thank you for your reply.
I saw notification with migration guide after updating.
I understand that I should do backups before updating, but this time i didn’t.
Is it possible to restore workflows?
I see that existing database is rewritten
Normally should they still be there (at least in most cases they are). Can you please post everything that is important to know about your setup. Like the docker-compose file.
@thegabriele97 sorry to hear! Did you try what has been suggested above and in other threads? If so and none worked, please provide additional information. Thanks!
Came here because I lost my Workflows and credentials too. n8n Seemed to be fully reset, as I had to create an account and fill out the user survey. Nothing in the log about permissions.
Upgraded from 0.237.0 to latest using docker run.
Since there weren’t any permission errors in the log, I think the Docker section is not applicable in this case. And since 0.237.0 is still working, I’m a bit hesitant to make changes that could break that installation too.
from v1 of n8n we use the node user rather than root so won’t be looking in the /root/.n8n path for the database. Assuming your ~/.n8n folder is still intact locally and you are performing the docker run command as the user you originally did this should sort everything out for you.