Wonderfall / docker-nextcloud

All-in-one Nextcloud Docker image, based on Alpine Linux. Aims at being simple and hardened.
194 stars 93 forks source link

25.0.4 image is broken #113

Closed suprovsky closed 1 year ago

suprovsky commented 1 year ago

Hey, after upgrading your image to 25.0.4 it container went into a broken state:

Error loading shared library libssl.so.3: No such file or directory (needed by /usr/sbin/nginx)
Error loading shared library libcrypto.so.3: No such file or directory (needed by /usr/sbin/nginx)
Error relocating /usr/sbin/nginx: SSL_set_SSL_CTX: symbol not found
Error relocating /usr/sbin/nginx: X509_up_ref: symbol not found
Error relocating /usr/sbin/nginx: SSL_get1_peer_certificate: symbol not found
Error relocating /usr/sbin/nginx: SSL_CTX_set_cipher_list: symbol not found
Error relocating /usr/sbin/nginx: BIO_write: symbol not found
Error relocating /usr/sbin/nginx: SSL_CTX_remove_session: symbol not found
Error relocating /usr/sbin/nginx: X509_NAME_print_ex: symbol not found
Error relocating /usr/sbin/nginx: SSL_CTX_get_verify_mode: symbol not found
Error relocating /usr/sbin/nginx: X509_get1_ocsp: symbol not found

apk add openssl-libs-static libssl3 libcrypto3 resolves the problem. openssl-libs-static does not resolve the problem but after installing the other two and restarting the container everything went back to operation.

benyanke commented 1 year ago

Also broken for me.

However, the workaround resolves it. Specific commands to install them and restart:

docker exec -u 0 -it [containername] apk --no-cache add libssl3 libcrypto3
docker restart [containername] 
Wonderfall commented 1 year ago

Should be fixed now.

benyanke commented 1 year ago

Thank you! Works great for me.