docker-phpLDAPadmin
docker-phpLDAPadmin copied to clipboard
Error bootstraping: "unterminated `s' command"
When I set the variable PHPLDAPADMIN_LDAP_HOSTS like:
PHPLDAPADMIN_LDAP_CLIENT_TLS: "false"
PHPLDAPADMIN_LDAP_HOSTS_FRIENDLY: "true"
PHPLDAPADMIN_LDAP_HOSTS: |
- server1:
- server:
- name: openldap
- host: example.com
- tls: "false"
- port: 389
- login:
- auth_type: session
- bind_id: "cn=admin,dc=example,dc=com"
- bind_pass: "admin"
And when the container bootstraps it fails with:
Bootstap phpLDAPadmin...
tr: write error: Broken pipe
tr: write error
sed: -e expression #1, char 94: unterminated `s' command
*** /container/run/startup/phpldapadmin failed with status 1
Not sure if it's linked, but I'd like to share. I tried to launch osixia/phpldapadmin:0.9.0 on our test Kubernetes cluster, and it fails with almost same error.
Bootstap phpLDAPadmin...
tr: write error: Broken pipe
tr: write error
sed: cannot rename /container/service/phpldapadmin/assets/config/sedwDYreg: Device or resource busy
*** /container/run/startup/phpldapadmin failed with status 4
In my case I passing conf via file (using configmaps).
Sorry... in my case I forgot
args: ["--copy-service"]
Using copy-service fix the problem. @daper : could it be the same problem for you ?