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

Instructions for other distros #25

Open
gbraad opened this issue Jun 28, 2023 · 2 comments
Open

Instructions for other distros #25

gbraad opened this issue Jun 28, 2023 · 2 comments
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@gbraad
Copy link
Contributor

gbraad commented Jun 28, 2023

  • SUSE (Leap/SLE)
  • Ubuntu

SUSE

https://build.opensuse.org/project/show/systemsmanagement%3Acockpit

@gbraad gbraad added the documentation Improvements or additions to documentation label Jun 28, 2023
@gbraad gbraad added this to the Beta milestone Jun 28, 2023
@darylkk
Copy link

darylkk commented Aug 6, 2023

Trying to get this working in debian 12 without npm. Added dist folder to /usr/share/cockpit/tailscale and restarted cockpit.socket

Any tips would be appreciated, thank you

@gbraad
Copy link
Contributor Author

gbraad commented Aug 7, 2023

place the dist-folder with a better name (eg. tailscale) in /usr/local/share/cockpit/tailscale


I quickly ran this on Bookworm and is functional. Have you used the build artifact output? If so, did you check the journalctl output of cockpit? If so, you might have noticed:

(cockpit-bridge:6870): cockpit-bridge-WARNING **: 04:01:52.737: couldn't open file: /usr/share/cockpit/tailscale/fonts/RedHatDisplay-Bold.woff2: Failed to open file ?/usr/share/cockpit/tailscale/fonts/RedHatDisplay-Bold.woff2?: open() failed: Permission denied

So this is a permission issue. Please make all files 644 and the folders 755. Confirm with:

$ sudo runuser -u cockpit-wsinstance -- /usr/lib/cockpit/cockpit-ws --port=9090 --for-tls-prox

that no issues are shown.

While Debian packages are considered, I am not very familiar with their packaging process.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Status: Todo
Development

No branches or pull requests

2 participants