I got a nextcloudbox from WD (with a raspberry) and my certificate is due for renewal.
Unfortunately it produces an error while trying to do so.
I tried to seek help there, but in the end it seems to come down to lets encrypt.
(read here: https://github.com/nextcloud/nextcloud-snap/issues/289 )
I have not tried to install certbot a second time, as it must be installed. (it uses it when trying to autoupdate)
Even when I don’t find it in the system so don’t know how to read a better log.
That is the output, when I try to run the wizard again (sudo nextcloud.enable-https lets-encrypt):
Detail: Could not connect to ***.myfritz.net
To fix these errors, please make sure that your domain name was entered correctly and the DNS A record(s) for that domain contain(s) the right IP address. Additionally, please check that your computer has a publicly routable IP address and that no firewalls are preventing the server from communicating with the client. If you’re using the webroot plugin, you should also verify that you are serving files from the webroot path you provided.
2017-05-31 16:19:34,793:INFO:certbot.auth_handler:Cleaning up challenges
2017-05-31 16:19:34,794:DEBUG:certbot_nextcloud_plugin.webroot:Removing /var/snap/nextcloud/current/certs/certbot/.well-known/acme-challenge/MJ2042CxcsaiQLv5YSJ1uQfEWlqR35jh9Bc_lPw2mU8
2017-05-31 16:19:34,797:DEBUG:certbot_nextcloud_plugin.webroot:All challenges cleaned up, removing /var/snap/nextcloud/current/certs/certbot/.well-known/acme-challenge
2017-05-31 16:19:34,798:WARNING:certbot.renewal:Attempting to renew cert from /var/snap/nextcloud/current/certs/certbot/config/renewal/***.myfritz.net.conf produced an unexpected error: Failed authorization procedure. ***.myfritz.net (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Could not connect to ***.myfritz.net. Skipping.
2017-05-31 16:19:34,805:DEBUG:certbot.renewal:Traceback was:
Traceback (most recent call last):
File “/snap/nextcloud/1476/lib/python2.7/site-packages/certbot/renewal.py”, line 418, in handle_renewal_request
main.renew_cert(lineage_config, plugins, renewal_candidate)
File “/snap/nextcloud/1476/lib/python2.7/site-packages/certbot/main.py”, line 640, in renew_cert
_get_and_save_cert(le_client, config, lineage=lineage)
File “/snap/nextcloud/1476/lib/python2.7/site-packages/certbot/main.py”, line 77, in _get_and_save_cert
renewal.renew_cert(config, domains, le_client, lineage)
File “/snap/nextcloud/1476/lib/python2.7/site-packages/certbot/renewal.py”, line 296, in renew_cert
new_certr, new_chain, new_key, _ = le_client.obtain_certificate(domains)
File “/snap/nextcloud/1476/lib/python2.7/site-packages/certbot/client.py”, line 313, in obtain_certificate
self.config.allow_subset_of_names)
File “/snap/nextcloud/1476/lib/python2.7/site-packages/certbot/auth_handler.py”, line 81, in get_authorizations
self._respond(resp, best_effort)
File “/snap/nextcloud/1476/lib/python2.7/site-packages/certbot/auth_handler.py”, line 138, in _respond
self._poll_challenges(chall_update, best_effort)
File “/snap/nextcloud/1476/lib/python2.7/site-packages/certbot/auth_handler.py”, line 202, in _poll_challenges
raise errors.FailedChallenges(all_failed_achalls)
FailedChallenges: Failed authorization procedure. ***.myfritz.net (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Could not connect to ***.myfritz.net
2017-05-31 16:19:34,806:INFO:certbot.hooks:Running post-hook command: restart-apache
2017-05-31 16:19:36,258:ERROR:certbot.hooks:Error output from restart-apache:
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
2017-05-31 16:19:36,260:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File “/snap/nextcloud/1476/bin/certbot”, line 11, in
sys.exit(main())
File “/snap/nextcloud/1476/lib/python2.7/site-packages/certbot/main.py”, line 742, in main
return config.func(config, plugins)
File “/snap/nextcloud/1476/lib/python2.7/site-packages/certbot/main.py”, line 692, in renew
renewal.handle_renewal_request(config)
File “/snap/nextcloud/1476/lib/python2.7/site-packages/certbot/renewal.py”, line 435, in handle_renewal_request
len(renew_failures), len(parse_failures)))
Error: 1 renew failure(s), 0 parse failure(s)
Anyone got a idea for this?