# Issues running certbot command

**URL:** <https://community.letsencrypt.org/t/issues-running-certbot-command/133347>\
**Category:** Help\
**Created:** [September 10, 2020, 10:45pm UTC](https://community.letsencrypt.org/t/issues-running-certbot-command/133347 "2020-09-10T22:45:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gariepyt](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/gariepyt/32/42596_2.png) [@gariepyt](https://community.letsencrypt.org/u/gariepyt)\
**Post date:** [September 10, 2020, 10:45pm UTC](https://community.letsencrypt.org/t/issues-running-certbot-command/133347/1 "2020-09-10T22:45:45Z")

</div>

My domain is:

> **[Aloha Dental Group: Welcome to Aloha Dental Group](http://alohadentalgroup.com)**
>
> Make your teeth look and feel their best.

I ran this command:  
sudo certbot --nginx

It produced this output:  
jq: error (at :0): Cannot iterate over null (null)

My web server is (include version):  
Hosted through AWS

The operating system my web server runs on is (include version):  
Ubuntu v16.04

My hosting provider, if applicable, is:  
Domain is currently hosted through Bluehost, but that will soon be moved to AWS.

I can login to a root shell on my machine (yes or no, or I don’t know):  
Yes.

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):  
I am currently connecting to my site’s server using SSH.

The version of my client is (e.g. output of `certbot --version` or `certbot-auto --version` if you’re using Certbot):  
Cannot run this command either.

I have tried removing and reinstalling Certbot using snap, but that did not fix the issue. I was able to get Certbot to run on another site without seeing this issue. I cannot figure out what the difference is.

---

<div class="post-metadata">

**Author:** ![\_az](https://avatars.discourse-cdn.com/v4/letter/_/22d042/32.png) [@\_az](https://community.letsencrypt.org/u/_az)\
**Post date:** [September 10, 2020, 10:49pm UTC](https://community.letsencrypt.org/t/issues-running-certbot-command/133347/2 "2020-09-10T22:49:08Z")

</div>

Hi @gariepyt,

That’s an unfortunate issue which is my fault, but hopefully we will get it fixed soon. For now, try this:

```
sudo snap install core && sudo snap refresh core

```

That’s all you should need to do to fix it. Having an up-to-date` snapd` package from `apt` would also fix it for Ubuntu 16.04.

By the way, if anybody else runs into this in the next week or so, and you haven’t run the above command yet, it’d be great if you could also post what your OS is and the output of `snap version`.

---

<div class="post-metadata">

**Author:** ![bmw](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/bmw/32/7797_2.png) [@bmw](https://community.letsencrypt.org/u/bmw)\
**Post date:** [September 10, 2020, 10:57pm UTC](https://community.letsencrypt.org/t/issues-running-certbot-command/133347/3 "2020-09-10T22:57:00Z")

</div>

To be clear, my current understanding is that while it may technically be true that the fact you see the exact error text

```auto
 jq: error (at :0): Cannot iterate over null (null)

```

is partially az’s fault, this problem occurring if core/snapd wasn’t updated existed before az made any changes and their changes improved a number of other things in the Certbot snap.

---

<div class="post-metadata">

**Author:** ![griffin](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/griffin/32/50204_2.png) [@griffin](https://community.letsencrypt.org/u/griffin)\
**Post date:** [September 10, 2020, 11:36pm UTC](https://community.letsencrypt.org/t/issues-running-certbot-command/133347/4 "2020-09-10T23:36:38Z")

</div>

Welcome to the Let’s Encrypt Community 🙂

Backward day has officially been accomplished.

If only we just started with solutions then worked backwards to the greeting. Where’s the fun in that though? 🤔

---

<div class="post-metadata">

**Author:** ![gariepyt](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/gariepyt/32/42596_2.png) [@gariepyt](https://community.letsencrypt.org/u/gariepyt)\
**Post date:** [September 11, 2020, 3:40pm UTC](https://community.letsencrypt.org/t/issues-running-certbot-command/133347/5 "2020-09-11T15:40:40Z")

</div>

> [@\_az](#):
>
> `sudo snap install core && sudo snap refresh core`

That did it. Thanks!!

---

<div class="post-metadata">

**Author:** ![super\_oliver](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/super_oliver/32/42675_2.png) [@super\_oliver](https://community.letsencrypt.org/u/super_oliver)\
**Post date:** [September 14, 2020, 4:06am UTC](https://community.letsencrypt.org/t/issues-running-certbot-command/133347/6 "2020-09-14T04:06:35Z")

</div>

Thanks, still work for me, my system is Ubuntu 18.04

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [October 14, 2020, 4:06am UTC](https://community.letsencrypt.org/t/issues-running-certbot-command/133347/7 "2020-10-14T04:06:37Z")

</div>

Closed on October 14, 2020, 4:06am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
