Cockpit Software Update fails

when I open cockpit and go to Software Updates
I get a proper check for software updates, after a while I get the message

Checking software status
Refreshing package information

Loading available updates failed

Please resolve the issue and reload this page.

cannot update repo 'rspamd': repomd.xml GPG signature verification error: Bad GPG signature

When I look further at services
I see the message there;

kdump
Crash recovery kernel arming
Failed to start

im not sure what and how to resolve this ‘errors’ / ‘notifications’ ?

I have found this post:
https://github.com/cockpit-project/cockpit/issues/17857
but im not sure if i must run this on my apis system

This will update the GPG key:

upcp -sbf mail/rspamd

This is normal. kexec is disabled. It may be enabled with:

cpcmd scope:set kernel.crashguard true

Note, it’s not useful on resource-constrained systems.

When i run the
upcp -sbf mail/rspamd

PLAY RECAP *****************************************************************************************************************************************************************************************************
localhost                  : ok=251  changed=0    unreachable=0    failed=0    skipped=24   rescued=0    ignored=0

gives still the

Danger alert:Error: cannot update repo 'rspamd': repomd.xml GPG signature verification error: Bad GPG signature

You can import the key directly,

rpmkeys --import https://rspamd.com/rpm/rspamd.asc

If dnf --disablerepo='*' --enablerepo=rspamd list is still reporting errors, try dnf clear all.

^ typo? dnf clean all

Still the same:

cannot update repo 'rspamd': repomd.xml GPG signature verification error: Bad GPG signature

Try blowing out the rspamd repo cache entirely:

dnf clean all
rm -rf /var/cache/dnf/rspamd*

Still no luck :frowning:

Loading available updates failed

Please resolve the issue and reload this page.

cannot update repo 'rspamd': repomd.xml GPG signature verification error: Bad GPG signature

I’m stumped on this. Run this:

cpcmd scope:set cgroup.version 2

Server will reboot. Then run EditDomain --reconfig --all. This should resolve the polkit error but does not affect Cockpit usage from what I see.

For the other server that works, is it behind the same network as this server? I receive a 404 error when accessing cockpit.js but other assets work… I really don’t know what to make of this.

i have run the commands
:slight_smile:

reboot the server.
the other server is in the same network.

/usr/share/cockpit/base1 was removed from the system. It’s best not to muck with these files. Reinstalled cockpit-bridge RPM and everything works as expected. Clue originated from:

cockpit-bridge[110624]: resource package was not found: base1

Sorry I don’t know what muck means?
I did not edited files if that’s what u mean?