-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
iconv does not work properly on fpm-alpine #1299
Comments
This issue has been killing the mail application for weeks... |
@sfornengo For me it was as simple as changing the image in the docker-compose. But please keep the sequence in mind:
|
@snevas, here is the result: |
Ok, switching from fpm-alpine to fpm need also to chown /var/www to remove the error below: But even under fpm instead of fpm-alpine the mail app stucks on "loading messages"... |
An exemplary fix for the linuxservers image is displayed in linuxserver/docker-nextcloud#166 This is much needed for nextcloud/mail#4351 For those already building their Nextcloud image from the examples in this repository themselves, adding this to the
Indeed if it's mandatory for the Alpine platform, we might want to consider to include these packages in the Dockerfile by default. As stated in #1300 (comment) by @jkellerer:
Are the maintainers of this repository happy to accept a PR similar to #1300 that applies the knowingly working patch? |
We use the PHP Docker image. |
Fixed for me with nextcloud 20.0.8-fpm-alpine and mail app 1.9.1 |
There currently seems to be an issue with iconv on alpine linux which means that specific plugins and other NC functionalities break if iconv is needed. This happens for example with the mail app and is noted in this issue: nextcloud/mail#3999
There seems to be apossible workaround as linked to the corresponding StackOverflow link: https://stackoverflow.com/questions/63746822/why-does-iconv-returns-empty-string-in-php7-4-fpm-alpine-docker/63747282#63747282
However I'm not sure if this is desirable to be implemented in this Dockerfile
The text was updated successfully, but these errors were encountered: