OpenBalena: Cannot create application

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.

Ok, I figured out.

OpenBalena server should be v2.0.0 and the balena-cli should be v12.11.0

Hello Shane,

just wanted to check if it work after upgrading to openBalena v2.0.0 ?

regards, Juan

Mate, I have downgraded from 2.0.3 to 2.0.0… lol

Hello Shane,

Could you please confirm that everything is working fine now?

Best regards,

Yes, it works well…

I can create an application and add device.

Hi Shane – glad to hear that things are working for you. Be sure to let us know if you run into any further problems!

All the best,
Hugh