An hour ago, I upgraded my cloud n8n instance (docker/postgres) from 0.121.0 to 0.122.1.
After bringing up the docker containers (stop > rm > up), received a Bad Gateway (502) error in the browser.
Checked the docker logs of the n8n container:
ln: /home/node/.n8n: File exists
2021-05-31T03:13:48.139Z | info | Initializing n8n process {"file":"start.js"}
2021-05-31T03:13:53.222Z | error | There was an error initializing DB: "syntax error at or near "s"" {"file":"start.js"}
2021-05-31T03:13:53.225Z | info |
Stopping n8n... {"file":"start.js","function":"stopProcess"}
So, then i again pulled the earlier n8n version, 0.121.0 and recreate my instance.
Same error! Now, i’m concerned that i might lose my main n8n instance.
Very strange. Have not seen that problem before. We will try to reproduce it tomorrow.
If you say you pulled again 0.121.0. Do you mean you did simply do a docker pull or you did actually set it specifically in the docker-compose file to that version? Because only the later will work.
That will not work. n8nio/n8n means that it uses latest. Just by pulling an old version again does not make it new and the latest again. You have to now tell Docker specifically that you want to use a specific version.
We will update you here once we have an update. If there is anything else “special” in your case please report as it will be helpful to reproduce the problem you are facing. Thanks a lot!