Hey, you might wanna check out this thread
What worked for me was:
Or you could just install the flatpak version of cockpit