i have been trying to fresh install frappe+erpnext version 13 and then install my apps and databases on the new version.
My problem starts when im done installing my apps on a fresh site and trying to migrate my database on that site the migration raises errors and all other sites stop working (including the one that comes with fresh installation) when i try to login it throws an error “session failed to start” but with no network errors or console errors.
so my question is: are there patches to migrate the database from v12 to v13 and if no could this be the reason behind the error in other sites?
Yes, there are lots of patches. Please post the exact commands you executed and the error message you got.
If you have a working installation of v13, the following should restore and migrate the old database:
bench --site [YOUR SITE] restore [YOUR BACKUP] --force bench --site [YOUR SITE] migrate bench restart
Thank you for you fast response,
i have been trying to replicate the error that appeared previously but this time checking where the error starts to arise.
so this is what i’ve done:
-make a new site
-install all the apps to the site
here is where i got the errors in my site:
the error is from nginx and this is the error log:
2021/10/25 08:22:55 [notice] 14666#14666: signal process started
2021/10/25 08:58:44 [notice] 5860#5860: signal process started
2021/10/25 09:02:19 [error] 5861#5861: *60 connect() failed (111: Connection refused) while connecting to upstream, client: 188.8.131.52, server: site1.local, request: “GET /socket.io/?EIO=3&transport=polling&t=NoshwtV HTTP/1.1”, upstream: “http://127.0.0.1:9000/socket.io/?EIO=3&transport=polling&t=NoshwtV”, host: “184.108.40.206:8001”, referrer: “http://220.127.116.11:8001/app”