docker-mailserver: [BUG]: Solr image is oudated and does not support arm64
๐ Preliminary Checks
- I tried searching for an existing issue and followed the debugging docs advice, but still need assistance.
๐ What Happened?
When following the documentation on setting up full test search the following docker image is used for the setup: https://hub.docker.com/r/lmmdock/dovecot-solr
This image hasnโt been updated in 2 years and does not support the arm64 architecture supported by DMS.
I think that the official image should be used instead.
๐ Reproduction Steps
- Use an
arm64server - [Follow the documentation] on setting up Solr full text indexing
- See
exec /opt/docker-solr/scripts/docker-entrypoint.sh: exec format errorin the Solr container logs - See that the image is 2 years old and doesnโt support
arm64
๐ DMS Version
v13.1
๐ป Operating System and Architecture
Debian GNU/Linux 11 (bullseye) aarch64
โ๏ธ Container configuration files
solr:
image: lmmdock/dovecot-solr:latest
volumes:
- ./docker-data/dms/config/dovecot/solr-dovecot:/opt/solr/server/solr/dovecot
restart: always
๐ Relevant log output
exec /opt/docker-solr/scripts/docker-entrypoint.sh: exec format error
exec /opt/docker-solr/scripts/docker-entrypoint.sh: exec format error
exec /opt/docker-solr/scripts/docker-entrypoint.sh: exec format error
exec /opt/docker-solr/scripts/docker-entrypoint.sh: exec format error
exec /opt/docker-solr/scripts/docker-entrypoint.sh: exec format error
exec /opt/docker-solr/scripts/docker-entrypoint.sh: exec format error
exec /opt/docker-solr/scripts/docker-entrypoint.sh: exec format error
exec /opt/docker-solr/scripts/docker-entrypoint.sh: exec format error
exec /opt/docker-solr/scripts/docker-entrypoint.sh: exec format error
exec /opt/docker-solr/scripts/docker-entrypoint.sh: exec format error
Improvements to this form?
Suggested fix?
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 1
- Comments: 17 (15 by maintainers)
Nuking it is, for me, a way of resolving it ๐
I understand. I just thought that wonโt fix was a better description than Resolved (as we did not resolve it but nuked it out of existence to avoid resolving it)
Thereโs no way around that sadly. But at least this way what community uses the community maintains so the new cool things work while the old ones are dropped. Like you said updating my chagnelog:
Iโll go ahead and close this as Wonโt Fix before the PR closes it as Fixed. Someone may get the false sense of the issue being solved and look for a solution in the comments.
Iโve made a PR dropping Solr: #4025
Seems like Xapian is working and K9Mail just cannot search text.
I just tried using the official image instead and I get some errors from DMS:
Iโll look into what needs to be changed in the config.