mirror of
https://github.com/clonos/control-pane.git
synced 2026-04-27 05:35:55 +03:00
[GH-ISSUE #72] NoVNC python3 not found because no /usr/local/bin in $PATH for shell script started by service #41
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/control-pane#41
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @infostud on GitHub (Dec 26, 2024).
Original GitHub issue: https://github.com/clonos/control-pane/issues/72
In
novnc/utils/websockify/runAfter
service clonos-vnc2wss startbecause /usr/local/bin isn't in the
$PATHwherepython3is located. A quick and dirty solution is to include the full path/usr/local/bin/python3in therunshell script. Most Linux distributions include python3 in system directories. *BSD advocates might say that is polluting the system core directories with third-party software.@mergar commented on GitHub (Dec 26, 2024):
Its ClonOS or setup on FreeBSD ? Most likely you missed an important step from the instructions:
@infostud commented on GitHub (Dec 26, 2024):
Set up on new installation of 14.2-RELEASE.
The error is
exec: python3: not foundAfter changing to
exec /usr/local/bin/python3 -m websockify "$@"the error
exec: python3: not foundno longer appears. Also if therunfile is executed directly without the addition of/usr/local/binit gives python error messages about insufficient arguments. In the context of aservicethe$PATHdoes not include/usr/local/binso can't findpython3. I tested this by adding@olevole commented on GitHub (Dec 26, 2024):
@infostud Hi, thanks for the reporting. I will double check the instructions soon, at the moment there is a lot of work on integrating the new translate framework into ClonOS and I checked ISO/memstich image only. We were forced to move away from the fixed release model to rolling due to the small amount of resources.