Hi everyone,
here is my quick solution to the problem:
2>&1' with exit code '125': docker: conflicting options: cannot attach both user-defined and non-user-defined network-modes. See 'docker run --help'.
First of all, you don't need the extra argument --network xxx anymore. But first things first:
- Create the letsencrypt container like in the TDL video only with the extra argument --cap-add=NET_ADMIN
- Create a new network (i.E. my-net) in bridge mode and put your letsencrypt and nextcloud containers both in here
- Putty or ShellinaBox:
- docker restart
- docker logs -f nameofyourletsencryptcontainer
- now it will take some time to create the certificate:
- It should show: Generating DH parameters, 2048 bit long safe prime, generator 2
This is going to take a long time
......
DH parameters successfully created - 2048 bitsIMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at ...
- It should show: Generating DH parameters, 2048 bit long safe prime, generator 2
- docker restart
- Edit letsencrypt file according to your conditions: nextcloud.subdomain.conf
- Edit nextcloud file according to your conditions: config.php
- Check if all ports on your router are forwarded correctly
- restart nextcloud
For me, it works like a charm.
Regards