Re: Can't start solr with 9.2.0

2023-04-02 Thread Shawn Heisey
On 3/30/23 10:48, Ricardo Ruiz wrote: Unfortunately, I can't avoid symlinks for the Solr data directory. Is there anything else I can try? Set Solr's data directories directly into the real path, don't use a path with a symlink. Since Solr 9.1, Solr uses a Java security manager that limits w

Re: Can't start solr with 9.2.0

2023-03-30 Thread Ricardo Ruiz
Thank you very much for your insights Kevin, I opted for adding the permission to security policy with: *permission java.io.FilePermission "/mnt/instance-data/solr/-", "read,write";* I tested it and It's working now, Thanks. Ricardo Ruiz. On Thu, Mar 30, 2023 at 11:13 AM Kevin Risden wrote: >

Re: Can't start solr with 9.2.0

2023-03-30 Thread Kevin Risden
> > *- Avoiding **symlinks for Solr's data directories would be a good idea.* > Unfortunately, I can't avoid symlinks for the Solr data directory. Is there > anything else I can try? > There are configs in solr.in.sh to actually set the right paths instead of using symlinks - like setting SOLR_DAT

Re: Can't start solr with 9.2.0

2023-03-30 Thread Kevin Risden
add /mnt/instance-data/solr to etc/server/security.policy under the Solr install directory. ( https://github.com/apache/solr/blob/main/solr/server/etc/security.policy) or disable the security manager with setting SOLR_SECURITY_MANAGER_ENABLED=false in solr.in.sh Kevin Risden On Thu, Mar 30, 202

Re: Can't start solr with 9.2.0

2023-03-30 Thread Ricardo Ruiz
Thanks, Shawn *- Is any part of /mnt/instance-data/solr/logs a symlink, * Yes, */var/solr -> * */mnt/instance-data/solr. * *- Does the user that is running Solr have read/write permission to that* *location?* The user that runs Solr is the *Solr *user and it does have read/write permissions. sol

Re: Can't start solr with 9.2.0

2023-03-29 Thread Shawn Heisey
On 3/29/2023 7:10 PM, Ricardo Ruiz wrote: My configuration works for the other three versions, but when I try to start the service for 9.2.0, the start process fails and keeps restarting over and over. From the logs, this is what I can see (please see the attached file). I'm not sure what co

Can't start solr with 9.2.0

2023-03-29 Thread Ricardo Ruiz
Hi! I'm building and provisioning Solr images using geerlingguy/ansible-role-solr for versions 9.1.1, 9.0.0, 8.11.2, and the newest version 9.2.0. My configuration works for the other three versions, but when I try to start the service for 9.2.0,