<div dir="ltr">Hello Jayaraj,<div><br></div><div>Jason has given you very good advice. A slight variation you might consider for the DB upgrade would be to check out rel_3_1_0, generate a DB upgrade from 3.0.13 to that using Jason's script, then use the standard, pre-made upgrade scripts from that point forward. It may take more running time, but it should also reduce the chance for error. If you take this route, just pay close attention to the major version upgrade points so that you don't go past the break point again.</div><div><br></div><div>3.0 to 3.5 is a very big upgrade! Take your time, and you'll be fine.</div><div><br></div><div>Sincerely,</div><div>Dan</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 9, 2021 at 7:12 AM Jason Stephenson <<a href="mailto:jason@sigio.com">jason@sigio.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello, Jayaraj!<br>
<br>
Here's the upgrade instructions from the 3.5 documenation:<br>
<br>
<a href="https://docs.evergreen-ils.org/docs/3.5/_upgrading_the_evergreen_server.html" rel="noreferrer" target="_blank">https://docs.evergreen-ils.org/docs/3.5/_upgrading_the_evergreen_server.html</a><br>
<br>
If you have no local customization, those steps should work for you. It<br>
you do have local customization, you'll have to update your<br>
customization for the new release before you upgrade.<br>
<br>
Also, because you are on 3.0.13 and there's no direct database upgrade<br>
path from 3.0.13 to 3.1.0 or later releases, I'll also recommend that<br>
you build a custom database upgrade SQL script. I have made a Bash<br>
script to assist with that process. It's available here:<br>
<br>
<a href="https://gist.github.com/Dyrcona/00bd6b6290b6fbbb579c7f93b360ab0d" rel="noreferrer" target="_blank">https://gist.github.com/Dyrcona/00bd6b6290b6fbbb579c7f93b360ab0d</a><br>
<br>
It was originally extracted from the script that developers use to build<br>
release tarballs and has a few extra features to make it more useful.<br>
<br>
It is intended to be used from a local git repository. You'll want to<br>
check out a new branch based on rel_3_5_3, and then run the script. Here<br>
are some sample commands, assuming that you have cd'd into you local git<br>
clone of Evergreen:<br>
<br>
git checkout -b local/rel_3_5_3 origin/tags/rel_3_5_3<br>
/path/to/make-db-upgrade -F orgin/tags/rel_3_0_13<br>
<br>
There are other options that you can use depending on your situation,<br>
but that is the most basic to get a functional db upgrade from version<br>
3.0.13 to 3.5.3.<br>
<br>
That will write out a file in the version-upgrade folder:<br>
<br>
Open-ILS/src/sql/Pg/version-upgrade/3.0.13-3.5.3-upgrade-db.sql<br>
<br>
I recommend that you commit this file to your local upgrade branch so<br>
that you don't lose it.<br>
<br>
NOTE: You will very likely have to modify this script before it will<br>
work. When I make custom upgrade scripts for CW MARS, I always test them<br>
on a copy of our production data in a separate database. When jumping<br>
over very large versions like this, there are very often schema changes<br>
that prevent later data updates from happening. These need to be split<br>
up in to separate transactions. It's a matter of trial and error to get<br>
it right. Having a separate database server where you can load dumps of<br>
your production data is very helpful in that regard.<br>
<br>
I hope this was helpful and the wall of text is not too overwhelming.<br>
<br>
Good Luck,<br>
Jason<br>
<br>
<br>
On 3/8/21 6:31 AM, Jayaraj JR wrote:<br>
> Hello All,<br>
> <br>
> We are currently using Evergreen ILS version 3.0.13. we would like to<br>
> upgrade it to higher version, 3.5.3<br>
> <br>
> Kindly inform me the steps to be followed for upgrading our Evergreen<br>
> ILS server.<br>
> <br>
> Thanks,<br>
> <br>
> Jayaraj J R<br>
> Library Information Assiatant<br>
> IISER Thiruvananthapuram<br>
> Kerala,<br>
> India<br>
> <br>
> <a href="mailto:email%3Ajayaraj@iisertvm.ac.in" target="_blank">email:jayaraj@iisertvm.ac.in</a> <mailto:<a href="mailto:jayaraj@iisertvm.ac.in" target="_blank">jayaraj@iisertvm.ac.in</a>><br>
> <br>
> <goog_661272241><br>
> <a href="https://www.iisertvm.ac.in/" rel="noreferrer" target="_blank">https://www.iisertvm.ac.in/</a> <<a href="https://www.iisertvm.ac.in/" rel="noreferrer" target="_blank">https://www.iisertvm.ac.in/</a>><br>
> <br>
> _______________________________________________<br>
> Evergreen-general mailing list<br>
> <a href="mailto:Evergreen-general@list.evergreen-ils.org" target="_blank">Evergreen-general@list.evergreen-ils.org</a><br>
> <a href="http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general" rel="noreferrer" target="_blank">http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general</a><br>
> <br>
_______________________________________________<br>
Evergreen-general mailing list<br>
<a href="mailto:Evergreen-general@list.evergreen-ils.org" target="_blank">Evergreen-general@list.evergreen-ils.org</a><br>
<a href="http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general" rel="noreferrer" target="_blank">http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general</a><br>
</blockquote></div>