ODK Aggregate setup on DigitalOcean

Sorry for my silly question.
1/ I'm trying to set up aggregate on DigitalOcean but I'm not sure how to " SSH SSH into your Droplet using the command: ssh root@your.domain" as the instruction.

2/ While waiting for support for community I log in to the Aggregate by Launch Console through Droplet Control panel, change the password, and run the Command " certbot run --nginx --non-interactive --agree-tos -m {MY_EMAIL} --redirect -d {MY_DOMAIN}". Is it normal if the result as below:

3/ I'm successful to access the aggregate through browser http://mydomain (not https://mydomain) and upload form but fail to download to ODK Collect

Hi, @dmtk41!

Your questions are very welcome. There's no silly questions! Only silly answers :wink:

We will add instructions to help users do this. The guide asumes you know what's SSH and how to use it, which is wrong.

In the meantime, what you did ("Launch Console" in the Droplet Control Panel) also works.

No, the command didn't completing successfully. You don't have to write the { and } characters. This is an example of an actual execution of that command: certbot run --nginx --non-interactive --agree-tos -m ggalmazor@gmail.com --redirect -d aggregate.gigialmeisor.com.

We will add an example to the guide to avoid confusion at this point.

You can't access https://mydomain because the command in 2) didn't complete successfully. Try it again removing the { and } characters.


The docs have been updated so folks don't run into this problem again. See https://github.com/opendatakit/docs/pull/973 for the progress on that change.

1 Like

Hello everyone,

I am trying to set up a new server on DigitalOcean. My previous one was on GCP and very easy to set up. I am facing issues with the console and the same command dmtk41 mentioned above.

Additionally, ODK Aggregate is running but I can't log in. What are supposed to be the user and password? I have not set any yet.

Thanks in advance.


-I've just followed the document https://docs.opendatakit.org/aggregate-do/ and finished the set up smoothly, there is no issue anymore. @Francisco_Carballo, you should try one more time.
-The initial user: administrator and pass: aggregate for the first log in should be added to the document as well.

Thanks @aurdipas , got it.

@dmtk41 I followed it and last thing that appeared on the console was the screenshot I attached on #3. After that, using the user and pass that you mentioned I can log in to ODK Aggregate.

I am concerned that it is not properly done since the console gave me errors when setting the HTTPS.

Does logging into the server via HTTPS work? Can you download forms and submit data? You can try https://www.sslshopper.com/ssl-checker.html to also confirm that things are working.

Hello @yanokwa,

Logging using HTTPS does not work. However, I can upload and download data, but the website shows warning that the connection is not secure. SSL Checker cannot confirm the certificate installation:

Hi Yaw, ggalmazor,
I just completed an Aggregate install using digitalocean, a free subdomain from FreeDNS, and SSL. It worked great. My only confusion was related to this command:

sudo certbot run --nginx --non-interactive --agree-tos -m YOUR_EMAIL --redirect -d YOUR_DOMAIN

I wasn't sure what I should substitute for "YOUR_DOMAIN"
Should it be?: my.fvandyk.com OR https://my.fvandyk.com

Fortunately, this example from ggalmazor helped:
certbot run --nginx --non-interactive --agree-tos -m ggalmazor@gmail.com --redirect -d aggregate.gigialmeisor.com


@fvandyk, this is what the docs look like

What would have been clearer? Maybe something like this?

Be sure to replace YOUR_EMAIL and YOUR_DOMAIN with your email address and your domain (e.g., your.domain)

Hi Yaw,
I think an example or two of the script would help here. It wasn't clear to me how to format YOUR_DOMAIN.

Something like:
sudo certbot run --nginx --non-interactive --agree-tos -m yaw@gmail.com --redirect -d yawsdomain.com


Another option would be to explicitly state:
Do not include http:// or https:// in the YOUR _DOMAIN string.

1 Like

A post was split to a new topic: Can't login to Aggregate on Digital Ocean