I have configured my VPS server for the openBalena and I was able to login:
But sadly, it doesn’t allow me to create an app or even query the device list:
root@ubuntu-desktop:~# balena apps --debug
[debug] new argv=[/home/ubuntu/balena-cli/balena,/snapshot/versioned-source/bin/balena,apps] length=3
BalenaRequestError: Request error: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /v6/my_application</pre>
</body>
</html>
BalenaRequestError: Request error: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /v6/my_application</pre>
</body>
</html>
at Object.<anonymous> (/snapshot/versioned-source/node_modules/balena-request/build/request.js:190:27)
at Generator.next (<anonymous>)
at fulfilled (/snapshot/versioned-source/node_modules/tslib/tslib.js:0:0)
at process._tickCallback (internal/process/next_tick.js:68:7)
Additional information may be available with the `--debug` flag.
For help, visit our support forums: https://forums.balena.io
For bug reports or feature requests, see: https://github.com/balena-io/balena-cli/issues/
And tried to create an app:
root@ubuntu-desktop:~# balena app create myApp --debug
[debug] new argv=[/home/ubuntu/balena-cli/balena,/snapshot/versioned-source/bin/balena,app:create,myApp] length=4
? Device Type Raspberry Pi (v1 / Zero / Zero W)
BalenaRequestError: Request error: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /v6/organization(handle=%27root%27)</pre>
</body>
</html>
BalenaRequestError: Request error: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /v6/organization(handle=%27root%27)</pre>
</body>
</html>
at Object.<anonymous> (/snapshot/versioned-source/node_modules/balena-request/build/request.js:190:27)
at Generator.next (<anonymous>)
at fulfilled (/snapshot/versioned-source/node_modules/tslib/tslib.js:0:0)
at process._tickCallback (internal/process/next_tick.js:68:7)
Additional information may be available with the `--debug` flag.
For help, visit our support forums: https://forums.balena.io
For bug reports or feature requests, see: https://github.com/balena-io/balena-cli/issues/
Any idea why this happens? I have a number of openBalena servers running well for over a year.
openBalena server version: 2.0.3
Cheers,
Shane.