just for a DISCLAIMER, I am a very new to all of this server and internet stuff.
I am having a problem with enabling HTTPS on my nextcloud domain. So I have installed nextcloud during Ubuntu server installation and it seems it installed it as a snap. I have set up the storage (RAID and all of that), bought a domain, port forwarded the ports 80 and 443 to my server and everything worked beautifully until I ran
nextcloud.enable-https lets-encrypt which is the command that was supposed to enable https on nextcloud.
However it printed out an error saying it doesnt have permission for /home/username which I found weird because I ran the command with
Then I retried the command as root user and it literally broke everything… Now when I tried going to my nextcloud via the domain I bought it was saying something about “self-signed” certificates and then displayed me my router’s webpage.
And now everytime I go to https://mydomain.tld it displays me my router’s webpage and the padlock on the URL bar has a warning saying it isn’t secure.
So I retried the command a couple of times and now I am getting this:
There were too many requests of a given type :: Error creating new order :: too many certificates (5) already issued for this exact set of domains in the last 168 hours: mydomain.tld, retry after 2024-02-05T22:35:46Z: see Duplicate Certificate Limit - Let's Encrypt
I am so confused about whats going on… Can I somehow delete these certificates and retry the command or something? I mean if I have 5 of them already doesn’t that mean my HTTPS should work?
What’s more confusing is that when I run
nextcloud.disable-https it displays:
HTTPS doesn’t seem enabled
What can I do about this? Any help is very appreciated!