Cloudron cli no longer asks for 2fa?
Solved
Support
-
I just installed the Cloudron cli on a new system (Ubuntu noble with npm from the distributions repository) and I was surprised that it did not ask for my totp.
$ cloudron login my.cloudron Username: felix Password: Login successful. $ cloudron --version 5.14.0
edit. It seems the cli is broken on the system in more ways:
$ cloudron logs --app video.cloudron /usr/local/lib/node_modules/cloudron/src/actions.js:970 req.on('response', function (response) { ^ TypeError: req.on is not a function at Command.logs (/usr/local/lib/node_modules/cloudron/src/actions.js:970:13) Node.js v18.19.1
-
I just installed the Cloudron cli on a new system (Ubuntu noble with npm from the distributions repository) and I was surprised that it did not ask for my totp.
$ cloudron login my.cloudron Username: felix Password: Login successful. $ cloudron --version 5.14.0
edit. It seems the cli is broken on the system in more ways:
$ cloudron logs --app video.cloudron /usr/local/lib/node_modules/cloudron/src/actions.js:970 req.on('response', function (response) { ^ TypeError: req.on is not a function at Command.logs (/usr/local/lib/node_modules/cloudron/src/actions.js:970:13) Node.js v18.19.1
-
G girish marked this topic as a question
-
I just checked on my desktop system. And here I do have the same behaviour, but with a more recent node version. (i moved .cloudron.json away before running this).
$ cloudron login my.demo.cloudron.io Username: cloudron Password: Login successful. felix@clifford:~$ cloudron list Id Location Manifest Id State ------------------------------------ ------------------------- -------------------------------------- ------- 0bd45384-26e9-4c06-a1b2-f8ba55529841 demo.cloudron.io org.apache.guacamole.cloudronapp@2.3.0 running 30c49bfe-8adf-4644-a030-fd95f00f5632 peertube.demo.cloudron.io org.joinpeertube.cloudronapp@4.0.2 running 3113d78a-0e94-4d82-95eb-9ecb7a44185e n8n.demo.cloudron.io io.n8n.cloudronapp@3.72.0 running 3d397748-d96d-45bc-b6fe-ddb597e4c853 itt.demo.cloudron.io tech.ittools.cloudron@1.6.1 running 918eac5f-7b25-4487-b0e6-4e99768996ee mtest.demo.cloudron.io com.github.bitwardenrs@1.19.2 running felix@clifford:~$ cloudron logs Could not determine app. Use --app to specify the app felix@clifford:~$ cloudron logs --app demo.cloudron.io /home/linuxbrew/.linuxbrew/lib/node_modules/cloudron/src/actions.js:970 req.on('response', function (response) { ^ TypeError: req.on is not a function at Command.logs (/home/linuxbrew/.linuxbrew/lib/node_modules/cloudron/src/actions.js:970:13) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) Node.js v23.7.0
Logging in into my own Cloudron still skips the 2fa step. Yes, the system just got upgraded to 8.3.0.
-
G girish has marked this topic as solved