First thought, off the top of my head : does the process running the Solr 
restore have permission / visibility to the new S3 location?


(If I'm understanding you correctly ...)  The Solr backup process clearly had 
permission to the old location; and you can see the new location with an admin 
user I'm guessing; and the tool used to copy the one S3 environment to another 
S3 environment can access both but I'm guessing that was also done with an S3 
admin tool or account.

But the user / identity used by the Solr process might not have the same 
awareness and permissions as what you use to look at S3, and the new S3 
location might not have the same access settings as the prior S3 location.

Just something generic to check, ahead of any Solr-specific things to check.  
Hope that helps.

Andrew Witt
Senior Software Engineer II
Learning A-Z, a Cambium Learning(r) Group Company
andrew.w...@learninga-z.com

-----Original Message-----
From: L'HARHANT Mikael <mikael.lharh...@francetravail.fr> 
Sent: Monday, March 17, 2025 6:00 PM
To: users@solr.apache.org
Subject: Solr 9.7: Pb with restore from s3

Hello,
I'm having trouble restoring to SolR from an S3 storage.
The backup was performed on an environment. The contents of the S3 were copied 
from one space to another to point to the new environment.
When running the restore, I get the following error:

"Operation restore caused 
exception:":"org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:
 Couldn't restore since doesn't exist: s3:/xxxxx"

However, the directory is indeed present.
Do you have any ideas on how to verify that everything is OK?
Thanks.

Reply via email to