Hello everyone.
=====
My domain is: biz.freemyip.com
I ran this command: $ cerbot certonly
$ 1
$ biz.freemyip.com
It produced this output: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Could not bind TCP port 80 because it is already in use by another process on
this system (such as a web server). Please stop the program in question and then
try again.
My web server is (include version): docker-proxy
The operating system my web server runs on is (include version): Linux server 5.15.0-56-generic #62-Ubuntu SMP x86_64 GNU/Linux
My hosting provider, if applicable, is: njal.la
I can login to a root shell on my machine (yes or no, or I don't know): Yes i can
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): NO, sir
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): certbot 2.1.0
=====
I tried to install nextcloud on VPS following this way:
$ apt install docker.io docker-compose
$ git clone GitHub - nextcloud/docker: â›´ Docker image of Nextcloud
$ cd docker/.examples/docker-compose/with-nginx-proxy/postgres/fpm/
$ vim db.env POSTGRES_PASSWORD=MySecretPassword
$ vim docker-compose.yml VIRTUAL_HOST=yourhost.domain.com LETSENCRYPT_HOST=yourhost.domain.com LETSENCRYPT_EMAIL=youremail@yourmail.com
$ docker-compose up -d
"When installed this way, NextCloud itself will go and get the Let's Encrypt certificate, install it, and add a task to the scheduler that will automatically renew the certificate every few months,” this instruction said.
"You just had to go to your domain and continue installing NextCloud through the web interface."
But instead I see an error: net::ERR_CONNECTION_TIMED_OUT
Later I tried to manually create a certificate with certbot, also without success. As far as I understand, the problem is in docker.
(I ran this command: $ cerbot certonly
$ 1
$ biz.freemyip.com
It produced this output: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Could not bind TCP port 80 because it is already in use by another process on
this system (such as a web server). Please stop the program in question and then
try again.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- )
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Judging by similar topics here on the forum, I realized that this can be done manually. But I'm a noob. So I will be glad, if not a direct algorithm of actions, then links that can shed light on my problem.
Thanks in advance and good luck everyone.
-