2020-05-13 13:12:46 +00:00
|
|
|
|
|
|
|
# About this issue tracker
|
|
|
|
|
2020-10-20 21:11:17 +00:00
|
|
|
*The balena CLI (Command Line Interface) is a tool used to interact with the balena platform.
|
2020-05-13 13:12:46 +00:00
|
|
|
This GitHub issue tracker is used for bug reports and feature requests regarding the CLI
|
|
|
|
tool. General and troubleshooting questions (such as setting up your project to work with a
|
|
|
|
balenalib base image) are encouraged to be posted to the [balena
|
|
|
|
forums](https://forums.balena.io), which are monitored by balena's support team and where the
|
|
|
|
community can both contribute and benefit from the answers.*
|
|
|
|
|
|
|
|
*Please also check that this issue is not a duplicate. If there is another issue describing
|
|
|
|
the same problem or feature please add comments to the existing issue.*
|
|
|
|
|
2020-09-18 14:35:36 +00:00
|
|
|
*Thank you for your time and effort creating the issue report, and helping us improve
|
2020-10-20 21:11:17 +00:00
|
|
|
the balena CLI!*
|
2020-05-13 13:12:46 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
# Expected Behavior
|
|
|
|
|
|
|
|
Please describe what you were expecting to happen. If applicable, please add links to
|
|
|
|
documentation you were following, or to projects that you were trying to push/build.
|
|
|
|
|
|
|
|
# Actual Behavior
|
|
|
|
|
|
|
|
Please describe what actually happened instead:
|
|
|
|
* Quoting logs and error message is useful. If possible, quote the **full** output of the
|
|
|
|
CLI, not just the error message.
|
|
|
|
* Please quote the **full command line** too. Sometimes users report that they were
|
|
|
|
"pushing" or "building" a project, but there are several ways to do so and several
|
|
|
|
possible "targets" such as balenaCloud, openBalena, local balenaOS device, etc.
|
|
|
|
Examples:
|
|
|
|
|
|
|
|
```
|
2021-07-15 13:41:38 +00:00
|
|
|
balena push myFleet
|
2020-05-13 13:12:46 +00:00
|
|
|
balena push 192.168.0.12
|
2021-07-15 13:41:38 +00:00
|
|
|
balena deploy myFleet
|
|
|
|
balena deploy myFleet --build
|
|
|
|
balena build . -f myFleet
|
2020-05-13 13:12:46 +00:00
|
|
|
balena build . -A armv7hf -d raspberrypi3
|
|
|
|
```
|
|
|
|
|
|
|
|
Each of the above command lines executes different code behind the scenes, so quoting the
|
|
|
|
full command line is very helpful.
|
|
|
|
|
|
|
|
Running the CLI in debug mode (`--debug` flag or `DEBUG=1` environment variable) may reveal
|
|
|
|
additional information. The `--logs` option reveals additional information for the commands:
|
|
|
|
|
|
|
|
```
|
|
|
|
balena build . --logs
|
2021-07-15 13:41:38 +00:00
|
|
|
balena deploy myFleet --build --logs
|
2020-05-13 13:12:46 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
# Steps to Reproduce the Problem
|
|
|
|
|
|
|
|
This is the most important and helpful part of a bug report. If we cannot reproduce the
|
|
|
|
problem, it is difficult to tell what the fix should be, or whether code changes have
|
|
|
|
fixed it.
|
|
|
|
|
|
|
|
1.
|
|
|
|
1.
|
|
|
|
1.
|
|
|
|
|
|
|
|
# Specifications
|
|
|
|
|
2020-10-20 21:11:17 +00:00
|
|
|
- **balena CLI version:** e.g. 1.2.3 (output of the `"balena version -a"` command)
|
2020-08-01 00:06:03 +00:00
|
|
|
- **Cloud backend: openBalena or balenaCloud?** If unsure, it will be balenaCloud
|
2019-06-13 16:21:01 +00:00
|
|
|
- **Operating system version:** e.g. Windows 10, Ubuntu 18.04, macOS 10.14.5
|
|
|
|
- **32/64 bit OS and processor:** e.g. 32-bit Windows on 64-bit Intel processor
|
2020-05-13 13:12:46 +00:00
|
|
|
- **Install method:** npm or zip package or executable installer
|
2019-06-13 16:21:01 +00:00
|
|
|
- **If npm install, Node.js and npm version:** e.g. Node v8.16.0 and npm v6.4.1
|
2018-11-13 18:50:22 +00:00
|
|
|
|
2020-05-13 13:12:46 +00:00
|
|
|
# Additional References
|
2018-11-13 18:50:22 +00:00
|
|
|
|
2020-05-13 13:12:46 +00:00
|
|
|
If applicable, please add additional links to GitHub projects, forums.balena.io threads,
|
|
|
|
gist.github.com, Google Drive attachments, etc.
|