# System Update results in error due to missing GoAccess Key

**URL:** <https://discourse.equality-tech.com/t/system-update-results-in-error-due-to-missing-goaccess-key/1174>\
**Category:** support\
**Tags:** bug\
**Created:** [September 23, 2020, 7:57pm UTC](https://discourse.equality-tech.com/t/system-update-results-in-error-due-to-missing-goaccess-key/1174 "2020-09-23T19:57:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eqt](https://discourse.equality-tech.com/user_avatar/discourse.equality-tech.com/eqt/32/16_2.png) [@eqt](https://discourse.equality-tech.com/u/eqt)\
**Post date:** [September 23, 2020, 7:57pm UTC](https://discourse.equality-tech.com/t/system-update-results-in-error-due-to-missing-goaccess-key/1174/1 "2020-09-23T19:57:38Z")

</div>

```auto
Wednesday 23 September 2020 19:21:56 +0000 (0:00:01.041) 0:00:13.037 *** 
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/packaging/os/apt.py
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: meza-ansible
<localhost> EXEC /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-cniuoqaphtmjltkugovvzvqghwyktxsy; /usr/bin/python'"'"' && sleep 0'
The full traceback is:
WARNING: The below traceback may *not* be related to the actual failure.
  File "/tmp/ansible_apt_payload_OfoRso/ __main__.py", line 1026, in main
    cache.update()
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 485, in update
    raise FetchFailedException()

fatal: [localhost]: FAILED! => {
    "changed": false, 
    "invocation": {
        "module_args": {
            "allow_unauthenticated": false, 
            "autoclean": false, 

```

```auto
root@scg:/opt/meza# sudo apt update
Get:1 http://deb.goaccess.io stretch InRelease [2,337 B]
Hit:2 http://security.debian.org stretch/updates InRelease                       
Ign:3 http://mirrors.digitalocean.com/debian stretch InRelease                   
Hit:4 http://mirrors.digitalocean.com/debian stretch-updates InRelease
Hit:5 http://mirrors.digitalocean.com/debian stretch Release
Hit:6 https://repos.sonar.digitalocean.com/apt main InRelease
Hit:7 https://packages.sury.org/php stretch InRelease
Ign:8 https://artifacts.elastic.co/packages/5.x/apt stable InRelease
Hit:9 https://artifacts.elastic.co/packages/6.x/apt stable InRelease
Hit:10 https://artifacts.elastic.co/packages/5.x/apt stable Release
Err:1 http://deb.goaccess.io stretch InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 97BD1A0133449C3D

```

---

<div class="post-metadata">

**Author:** ![eqt](https://discourse.equality-tech.com/user_avatar/discourse.equality-tech.com/eqt/32/16_2.png) [@eqt](https://discourse.equality-tech.com/u/eqt)\
**Post date:** [September 23, 2020, 7:59pm UTC](https://discourse.equality-tech.com/t/system-update-results-in-error-due-to-missing-goaccess-key/1174/2 "2020-09-23T19:59:05Z")

</div>

Work Around:

`wget -O - https://deb.goaccess.io/gnugpg.key | sudo apt-key --keyring /etc/apt/trusted.gpg.d/goaccess.gpg add -`

```auto
--2020-09-23 19:24:32-- https://deb.goaccess.io/gnugpg.key
Resolving deb.goaccess.io (deb.goaccess.io)... 67.205.130.138
Connecting to deb.goaccess.io (deb.goaccess.io)|67.205.130.138|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2468 (2.4K) [application/octet-stream]
Saving to: ‘STDOUT’

- 100%[=====================================================================================================>] 2.41K --.-KB/s in 0s      

2020-09-23 19:24:32 (237 MB/s) - written to stdout [2468/2468]

OK

```

---

<div class="post-metadata">

**Author:** ![eqt](https://discourse.equality-tech.com/user_avatar/discourse.equality-tech.com/eqt/32/16_2.png) [@eqt](https://discourse.equality-tech.com/u/eqt)\
**Post date:** [September 23, 2020, 8:03pm UTC](https://discourse.equality-tech.com/t/system-update-results-in-error-due-to-missing-goaccess-key/1174/3 "2020-09-23T20:03:43Z")

</div>

The GoAccess role [installs the key](https://github.com/freephile/meza/blob/34.x/src/roles/goaccess/tasks/main.yml#L12-L17), however a new key has been released [[1](http://goaccess.io/download)].

---

<div class="post-metadata">

**Author:** ![eqt](https://discourse.equality-tech.com/user_avatar/discourse.equality-tech.com/eqt/32/16_2.png) [@eqt](https://discourse.equality-tech.com/u/eqt)\
**Post date:** [September 30, 2020, 8:03pm UTC](https://discourse.equality-tech.com/t/system-update-results-in-error-due-to-missing-goaccess-key/1174/4 "2020-09-30T20:03:47Z")

</div>

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