Can someone assit with enable cli

What is the problem?

I am trying to run command in bash, ssh'd on the server.
The long goal is to automate the updates of oictoprint and its plugins via cli, so i can create an ansible script for automation.

Trying to follow from source: Software Update Plugin β€” OctoPrint master documentation

Command line usage

octoprint plugins softwareupdate:check --help
-bash: octoprint: command not found

What did you already try to solve it?

I followed the steps listed on that page, and the command is not found.

Have you tried running in safe mode?

no

Did running in safe mode solve the problem?

no, this is a new attempt

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)

WRITE HERE
octoprint-systeminfo-20240316102854.zip (86.9 KB)

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

WRITE HERE

Octoprint Version 1.9.3
no printer, only octoprint software running on pi. Only using software to remote view of print from different angle.
rasp pi OS Version 10 buster

Use the complete path - for example

~/oprint/bin/octoprint

Thank you, running the command from the parent directory resolved the issue.

1 Like