New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solr 4.10 permission problem #1350

Closed
jb044 opened this Issue Jan 15, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@jb044
Copy link

jb044 commented Jan 15, 2019

Latest lando rc includes a non functional solr-4.10, we use this for Drupal.

The problem seems to be:

$ lando ssh solr -u root
root@e7f99903b15d:/app# cd /opt/solr
solr/        solr-4.10.4/ 
root@e7f99903b15d:/app# cd /opt/solr-4.10.4/
CHANGES.txt              LUCENE_CHANGES.txt       README.txt               bin/                     dist/                    example/                 
LICENSE.txt              NOTICE.txt               SYSTEM_REQUIREMENTS.txt  contrib/                 docs/                    licenses/                
root@e7f99903b15d:/app# cd /opt/solr-4.10.4/example/solr
solr/        solr-webapp/ 
root@e7f99903b15d:/app# cd /opt/solr-4.10.4/example/solr/collection1/
root@e7f99903b15d:/opt/solr-4.10.4/example/solr/collection1# ls
README.txt  conf  core.properties  data
root@e7f99903b15d:/opt/solr-4.10.4/example/solr/collection1# cd data/
root@e7f99903b15d:/opt/solr-4.10.4/example/solr/collection1/data# ls -la
total 12
drwxr-xr-x. 2 root root 4096 Jan 15 09:37 .
drwxr-xr-x. 1 solr solr 4096 Jan 15 09:37 ..

After a

run_as_root:
      - chown -R solr:solr /opt/solr-4.10.4/example/solr/collection1/data

Solr does work

@pirog pirog added this to the 3.0.0-rc.2 milestone Jan 28, 2019

@pirog pirog self-assigned this Jan 28, 2019

pirog added a commit that referenced this issue Jan 29, 2019

pirog added a commit that referenced this issue Jan 29, 2019

@pirog pirog closed this Jan 29, 2019

pirog added a commit that referenced this issue Jan 29, 2019

pirog added a commit that referenced this issue Jan 30, 2019

pirog added a commit that referenced this issue Jan 30, 2019

pirog added a commit that referenced this issue Jan 30, 2019

pirog added a commit that referenced this issue Jan 30, 2019

@pirog

This comment has been minimized.

Copy link
Member

pirog commented Jan 30, 2019

We've got some nice tests and an example to verify this now.
https://github.com/lando/lando/tree/master/examples/solr

Note that these examples and tests are against RC2 which is yet to be released so its worth waiting for that before you verify on your own

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment