You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can see here, in this example that the /tmp/ready file (part of the lagoon entrypoints has been created by the solr user (uid:8983 and gid:8983) - but by the time the pod is running, the solr user is now 1000:1000 - and no longer has access to the file/folders created in the entrypoint/startup.
This means that any subsequent lando restarts fail at the entrypoint not being writable by the new solr user. Even when the entrypoint is bypassed (by run_as_root rm /tmp/ready) solr failed to start because of folder access permissions.
Do you have any idea why this uid/gid rewriting is being done - is there some lando-ism I'm missing?
Here are some vitals:
NAME drupal-solr
LOCATION /home/tobybellwood/sites/drupal9-solr
SERVICES cli, nginx, php, mariadb, solr, mailhog, lagooncli
URLS
✔ NGINX URLS
✔ http://localhost:32774 [302]
✔ http://nginx.drupal-solr.lndo.site:8000/ [302]
✔ https://nginx.drupal-solr.lndo.site:444/ [302]
✔ http://drupal-solr.lndo.site:8000/ [302]
✔ https://drupal-solr.lndo.site:444/ [302]
✔ SOLR URLS
✔ http://localhost:32773 [302]
✔ MAILHOG URLS
✔ http://localhost:32771 [200]
✔ http://inbox.drupal-solr.lndo.site:8000/ [200]
tobybellwood@pop-os:~/sites/drupal9-solr$ lando ssh -s solr
[drupal-solr]solr:/app$ ls -al /tmp/ready
-rw-rw-r-- 1 8983 8983 0 Jun 27 05:31 /tmp/ready
[drupal-solr]solr:/app$ ls -al /var/solr
ls: cannot open directory '/var/solr': Permission denied
[drupal-solr]solr:/app$ ls -al /var | grep solr
drwxrwx--- 5 8983 8983 4096 Jun 27 05:31 solr
[drupal-solr]solr:/app$ whoami
solr
[drupal-solr]solr:/app$ id
uid=1000(solr) gid=1000(solr) groups=1000(solr)
I've also replicated this in our varnish example - as this is another service that uses a named user
The text was updated successfully, but these errors were encountered:
You can see here, in this example that the /tmp/ready file (part of the lagoon entrypoints has been created by the solr user (uid:8983 and gid:8983) - but by the time the pod is running, the solr user is now 1000:1000 - and no longer has access to the file/folders created in the entrypoint/startup.
This means that any subsequent lando restarts fail at the entrypoint not being writable by the new solr user. Even when the entrypoint is bypassed (by run_as_root rm /tmp/ready) solr failed to start because of folder access permissions.
Do you have any idea why this uid/gid rewriting is being done - is there some lando-ism I'm missing?
I've also replicated this in our varnish example - as this is another service that uses a named user
The text was updated successfully, but these errors were encountered: