Skip to content

snap PATH missing for git #1997

@sbt-awilson

Description

@sbt-awilson

Describe the bug
When launching novnc from snap if it can't find websockify it attempts to clone it with git - but it can't find git despite it being at /usr/bin/git

To reproduce
Steps to reproduce the behavior:
Deploy Ubuntu 18.04.6 LTS (Bionic Beaver)
Let snap install latest novnc (snap version 153 as of writing)

Expected behavior
Launch novnc/novnc_proxy

error:

No installed websockify, attempting to clone websockify...
/snap/novnc/153/novnc_proxy: line 192: git: command not found
Unable to locate /snap/novnc/153/websockify/run after downloading

which novnc

/snap/bin/novnc

which git

/usr/bin/git

Client (please complete the following information):

  • OS: Ubuntu 18.04

Server (please complete the following information):

  • noVNC version: Snap version 153
  • VNC server: TIgerVNC
  • WebSocket proxy: Trying to use websockify

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions