I forgot to report back on this. For anyone that runs into it, you need the entire data directory not just the index directory, at least that's what made it work for me.
On Thu, Feb 1, 2018 at 9:52 PM, Erick Erickson <erickerick...@gmail.com> wrote: > I think SCP will be fine. Shawn's comment is probably the issue. > > Best, > Erick > > On Thu, Feb 1, 2018 at 4:34 PM, Shawn Heisey <apa...@elyograg.org> wrote: > > On 2/1/2018 4:32 PM, Jeff Dyke wrote: > >> I just created a tar file, actually a tar.gz file and scp'd to a > server, at > >> first i was worried that the gzip caused issues, but as i mentioned no > >> errors on start up, and i thought i would see some. @Erick, how would > you > >> recommend. This is going to be less of an issue b/c i need to build the > >> index programmatically anyway, but would be nice to know if only for > >> curiosity. Perhaps making a replication backup and then restoring on > the > >> new server would be better. In the middle of other things now, will > try a > >> few of those, plus some other ideas. > > > > I think the problem is that you're copying the index files into > > ${instanceDir}/data and not ${instanceDir}/data/index. The index > > directory is what Solr is actually going to use. > > > > Delete everything that already exists in the index directory before > > putting the files in there. > > > > You probably don't need to do a full restart, you could probably just > > reload the core. > > > > Thanks, > > Shawn >