Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cockpit doesn't install correctly for 32-bit or 64-bit raspberry pi os, pi 4gb? #58

Closed
VersatileNinja opened this issue Feb 8, 2022 · 10 comments
Assignees
Labels
bug Something isn't working cockpit Cockpit service issues

Comments

@VersatileNinja
Copy link

VersatileNinja commented Feb 8, 2022

I was able to get into retronas, but I noticed when I try to install cockpit, it will go through but at the very end it shows this very long red error message.

When I check services running, cockpit is not running. When I try to access the pi through the web browser ipaddress:9090, it doesn't work, because cockpit isn't working.

BUT if I install it manually via: `sudo apt install cockpit', then it works! Why is that?

@sairuk
Copy link
Collaborator

sairuk commented Feb 8, 2022

Can you add the error to this issue to aid in troubleshooting?

@VersatileNinja
Copy link
Author

VersatileNinja commented Feb 8, 2022

I will record the error and post it tomorrow (maybe I can get a screenshot to share too), thanks in advance.

@sairuk
Copy link
Collaborator

sairuk commented Feb 8, 2022

Hi please also review this issue #8 to see if is related at all

@VersatileNinja
Copy link
Author

image

I did a fresh install on my pi 4gb, 32-bit raspberry pi os. Afterwards, I enabled ssh using raspi-config, did not use a blank ssh file for example.

Now I go to install cockpit from the retronas interface, and I get the red error (see image provided).

I know that if I were to install cockpit manually outside of retronas, it will work, but I'd like to help you troubleshoot how to make installer work? I'm a raspberry pi novice, but glad to help where I can.

@sairuk
Copy link
Collaborator

sairuk commented Feb 8, 2022

This looks like you are having the same apt-key problem as mentioned in issue #41

@VersatileNinja
Copy link
Author

Thanks for the tip. That did the trick and I fixed it by the following (for anyone in future curious what I did):

I did the following:
sudo nano /etc/dhcpcd.conf

Then added at the bottom for CloudFlare public DNS:
static domain_name_servers=1.1.1.1 1.0.0.1

Restart the service:
sudo service dhcpcd restart

Afterwards, went back into retronas and cockpit installed successfully! Not sure why it would install correctly outside of retronas even though I didn't change the DNS, but at least it works the way it is supposed to right now.

@sairuk sairuk added the cockpit Cockpit service issues label Feb 9, 2022
@retinoic
Copy link

Thank you @VersatileNinja for the solution. Had the same issue with fresh 64 bit RPi OS Lite install.

@danmons
Copy link
Collaborator

danmons commented Feb 15, 2022

This looks like you are having the same apt-key problem as mentioned in issue #41

I'll try and get a fix out for this soon. I'm not sure why certain setups aren't able to resolve the key servers. "works for me" on my stock RPiOS bullseye 64bit.

Fix will be to avoid the key servers and just grab the Debian signing keys via a dpkg file.

@sairuk sairuk reopened this Feb 15, 2022
@sairuk
Copy link
Collaborator

sairuk commented Feb 15, 2022

I will reopen this while we are pending a fix so we have visibility on occurrence of this iss

@sairuk sairuk added the bug Something isn't working label Feb 15, 2022
@danmons
Copy link
Collaborator

danmons commented Feb 18, 2022

Sorted this just now. New method no longer uses "apt-key" nor points to keyservers listening on weird ports.

Instead it grabs the .deb package containing the keys (with a couple of known working mirrors as fallback to each other) and installs that. It's more compliant with the new APT key storing method, and should be more reliable for people either with poor DNS servers or restrictive firewalls.

@sairuk sairuk closed this as completed Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cockpit Cockpit service issues
Projects
None yet
Development

No branches or pull requests

4 participants