Gotify: Missing Signature Key - Failed to install in the previous attempt

Unable to install the Gotify docker image because the public key is missing or out of date. How do I update the install script to fix this issue? https://hub.docker.com/r/gotify/server

Version:
RockStor 3.9.2-57
Linux: 4.12.4-1.el7.elrepo.x86_6
**/opt/rockstor/var/log/rockstor.log**
Traceback (most recent call last):                                                                                                                                                               
  File "/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py", line 127, in install                                                                                                   
    generic_install)(rockon)                                                                                                                                                                     
  File "/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py", line 242, in generic_install                                                                                           
    run_command([DOCKER, 'pull', image_name_plus_tag], log=True)                                                                                                                                 
  File "/opt/rockstor/src/rockstor/system/osi.py", line 176, in run_command                                                                                                                      
    raise CommandException(cmd, out, err, rc)                                                                                                                                                    
CommandException: Error running a command. cmd = /usr/bin/docker pull gotify/server:latest. rc = 1. stdout = ['']. stderr = ['Error response from daemon: missing signature key', '']

Sounds like it’s caused an outdated Docker version. However, running yum update docker yields a repo error.


[root@rockstor ~]# yum update docker                                                                                                                                                             
Loaded plugins: changelog, fastestmirror                                                                                                                                                         
Loading mirror speeds from cached hostfile                                                                                                                                                       
 * base: mirrors.gigenet.com                                                                                                                                                                     
 * epel: mirror.math.princeton.edu                                                                                                                                                               
 * extras: ftpmirror.your.org                                                                                                                                                                    
 * rpmfusion-free-updates: muug.ca                                                                                                                                                               
 * rpmfusion-nonfree-updates: muug.ca                                                                                                                                                            
 * updates: mirror.rackspace.com                                                                                                                                                                 
http://xxxxxxxxxxx==@updates.rockstor.com:8999/rockstor-stable/repodata/repomd.xml: [Errno 14] HTTP Error 401 - Unauthorized                     
Trying other mirror.                                                                                                                                                                             
rockstor                                                                                                                                                                  | 3.0 kB  00:00:00     
http://mirror.grid.uchicago.edu/pub/linux/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
repo id           Repo name             status            
!Rockstor-Stable  Stable updates        enabled: 72
rockstor          Rockstor 3 - x86_64   enabled: 22

Hi @wwwizzarrdry!

The error you see is unfortunately related to the fact that you are using a legacy version of Rockstor; it was based on CentOS that is no longer supported by upstream, which also means that the docker version you have is also no longer supported.

We would strongly recommend you to consider upgrading your Rockstor installation to a recent one. I’m unfortunately very short on time at the moment for more details, but we do have a guide on our docs related to that very procedure:
https://rockstor.com/docs/howtos/centos_to_opensuse.html

Many others have done this migration here so I’m sure you’ll get all the answers you may seek.

2 Likes