Landscape standalone server 18.03 on Ubuntu 18.04: cannot sync pocket from demo (gpg certs missing?)
I found the above issue on this site that describes my problem almost exactly, and provides a solution, but I can't get the gpg key imported into landscape with the "edit-pocket" command. I receive a "server error 500". The gpg commands weren't specified.
Can someone clarify the commands to receive and export the gpg keys from Ubuntu? These are what I tried, and the error I received:
# gpg --keyid-format long --keyserver hkp://keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
# gpg -a --export 790BC7277767219C42C86F933B4FE6ACC0B21F32 > /tmp/ubuntu-bionic-public-key-2
# landscape-api edit-pocket --mirror-gpg-key /tmp/ubuntu-bionic-public-key-2 release bionic ubuntu
Got unexpected server error:
Status: 500
Error message: Server error