Upgrade from v1.926 20230205

Hello there!

My instance is a little bit out of date running a version from last year. Since the instance has a rather larger index and I want to keep the downtime low. Is there is some sort of recommended upgrade path?

Currently running v1.926 on Java 8.

Does someone run the latest build from source in production?
Is the release from https://release.yacy.net/ recommended?

Thanks in advance!

Hi Joestr,
and welcome back!
release.yacy.net version is OK, it’s an automaticaly built github version and I use it without problems in production (it’s actually better in some aspects).

which version of solr does your yacy version have?
i know, there was a problem with upgrading while switching from one major solr version to another, one, but if you’re already on 8.X version of solr, you should be safe, I guess.

my usual workflow is to move the old yacy to yacy-old, expand new yacy into place, and just move DATA dir to the new version. i keep the same name of yacy directory, so the paths don’t change. if anything goes wrong, you can move the dirs back and start the previous version.

and thanks again for your patches, they were very useful!

According to my libs folder i have Solr 8.9.0.

So it would be save to upgrade 1.926 to 1.940? I can backup the DATA directory before because the machine has 12TB of space and only 1.2TB currently occupied by YaCy.

Also do I have to update to Java 11?

i do think so.

should make a table with yacy x solr x java versions, it’s a mess now (and the releases are not tagged on github).

YaCy solr Java
1.926 8.9.0 ?
1.940 9 11

In 1.926, Java is 8, right?

solr, see also this: https://github.com/yacy/yacy_search_server/commit/8eb0d490aa486e4ade9dd40f4da433e3dc5f4ed6

1.926 is Java 8, yes.

did you suceed in upgrading?