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
Unable to load dynamic library ‘imap.so’ #2037
Comments
Hi, So please fix it! |
Hi, there, Same problem here, using a variant of the dockerfile as well (provided as an example in the repo: https://github.com/nextcloud/docker/blob/master/.examples/dockerfiles/full/fpm/Dockerfile) When upgrading my image to On my side, I had another system on which I was able to recover my previous modified image, and restoring it was able to restart my nextcloud instance without any problem in the version 27.0.1.2 (no version change between the two images). It seems that the problem is due to the change in version of Debian and PHP, since we're moving from bullseye to a bookworm. I haven't found any other information though to solve the issue. |
I have exactly the same problem at the moment |
Hi, I've tested a little bit and found, that there is something wrong with the garbe collection of the build process. I've commented it out and the problem was away ....
conclusion: It seems that that the purge command will also remove something needed for the imap.so library or the library himself. |
Thank you very much for looking into this. It solved the issue for me too. My working Dockerfile looks like this now:
|
Hello I don't know if this is very useful, but it seems to be: I've kept part of the cleanup:
some really useless packets are removed with this method. I think more should be removed, but it's better than nothing 👍 ) |
@Sim0nW0lf Shouldn't the issue be left open so that the dockerfile is fixed in the repository? |
If you say the problem exists with the official Dockerfile too, yes. I didn't test it but let's see what they think. |
This bug affected me building docker container with |
Fix is here: |
@stavros-k Thank you for the fix in Nextcloud Docker core. I think, this fix should also be added to the example files (https://github.com/nextcloud/docker/tree/master/.examples/dockerfiles). |
I didn't add any fix in this repo, I just linked the fix that people have to apply in their custom builds |
Hi,
|
But the fix has been merged a week ago. I have tried that part in the Dockerfile and it works, so problem solved 👍🏼 docker/Dockerfile-debian.template Lines 78 to 90 in 7bd3b7b
|
Sure, the problem is solved with the changes. But I would suggest, that everyone of us used the |
True, sorry I missed that the example folder was not updated. |
Still getting the bug on nextcloud:fpm modified with dockerfile :
|
nvm did not see the fix was to be added to this file 👍
|
after upgrading nextcloud from 27.0 to 27.0.1 I am getting the following errors. What could be the issue? I am pulling the latest apache image. Dockerfile and versions.php is right below.
The text was updated successfully, but these errors were encountered: