[DiscordArchive] I have a pretty hefty question regarding updating an older server. If this isn't the best place to a
[DiscordArchive] I have a pretty hefty question regarding updating an older server. If this isn't the best place to a
Archived author: Zazezizozuzy • Posted: 2022-09-21T21:31:33.068000+00:00
Original source
I have a pretty hefty question regarding updating an older server. If this isn't the best place to ask, feel free to let me know.
I haven't contributed any code in over two years. Trying to resurrect the local server I was running but it's years behind (from Nov 2020). I tried updating it directly but the database is very obviously incompatible. I've gone back through major updates to try and apply specific commits but it's hard to determine where those are. Any recommendations on how best to update that two year old dev server?
![[Image: unknown.png?ex=690c6b7e&is=690b19fe&hm=c...8b8c07266&]](https://cdn.discordapp.com/attachments/284406375495368704/1022259388469223494/unknown.png?ex=690c6b7e&is=690b19fe&hm=cc463398f3a2ac87f1d35dae5037fbe6af81d9ae225a8c84350544a8b8c07266&)
Archived author: Bench • Posted: 2022-09-21T21:33:50.966000+00:00
Original source
Usually a good way to find the commits you have to use is by going to the archive folder in Github and looking at the commits there
![[Image: unknown.png?ex=690c6b7e&is=690b19fe&hm=c...8b8c07266&]](https://cdn.discordapp.com/attachments/284406375495368704/1022259388469223494/unknown.png?ex=690c6b7e&is=690b19fe&hm=cc463398f3a2ac87f1d35dae5037fbe6af81d9ae225a8c84350544a8b8c07266&)
Archived author: Bench • Posted: 2022-09-21T21:34:16.882000+00:00
Original source
So you'd checkout the commit before each of these ones to have all of the SQL where it's supposed to be, and then continue to the next, then to the next
Archived author: Bench • Posted: 2022-09-21T21:34:35.580000+00:00
Original source
I would recommend backing up your DBs before doing any of that though
Archived author: Bench • Posted: 2022-09-21T21:35:13.739000+00:00
Original source
And you would recompile and run the server after the checkout
Archived author: Zazezizozuzy • Posted: 2022-09-21T21:35:40.498000+00:00
Original source
Golden. I'm building this all from a restored backup so I'm good there. Didn't think to use the archive folder to identify commits. Thank you.
Archived author: Zazezizozuzy • Posted: 2022-09-21T21:36:59.948000+00:00
Original source
Recompiling after each commit is what I'm getting the bulk of errors on. But I'm likely not pulling the correct commits. I'll check archive for each db and let you know where I get.
Archived author: Bench • Posted: 2022-09-21T21:37:46.683000+00:00
Original source
Looks up to date
Archived author: Bench • Posted: 2022-09-21T21:37:58.693000+00:00
Original source
Latest commit was recent, and it passed the workflows
Archived author: Revision • Posted: 2022-09-21T21:39:13.552000+00:00
Original source
It's mine and it works