mittwald / cli

The mittwald command-line interface
https://developer.mittwald.de/cli
MIT License
7 stars 0 forks source link

Self-update from v1.0.0-alpha.47 to v1.0.0-beta.1 fails #768

Closed martin-helmich closed 2 months ago

martin-helmich commented 2 months ago
$ mw update
@mittwald/cli: Updating CLI from 1.0.0-alpha.47-2c1739a to 1.0.0-beta.2-d3b403f... !
╭──────────────────────────────────────────────────────────────────────────────╮
│ ERROR                                                                        │
│                                                                              │
│ An error occurred while executing this command:                              │
│                                                                              │
│   RequestError: Invalid number                                               │
│                                                                              │
│ If you believe this to be a bug, please open an issue at                     │
│ https://github.com/mittwald/cli/issues/new.                                  │
╰──────────────────────────────────────────────────────────────────────────────╯

  ERROR STACK TRACE

  Please provide this when opening a bug report.

  RequestError: Invalid number
      at Request._beforeError (file:///opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/got/dist/source/core/index.js:310:21)
      at Request._onResponse (file:///opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/got/dist/source/core/index.js:772:18)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      at filesize (/opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/filesize/lib/filesize.js:69:12)
      at filesize (file:///opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/@oclif/plugin-update/dist/update.js:11:27)
      at Request.<anonymous> (file:///opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/@oclif/plugin-update/dist/update.js:326:60)
      at Request.emit (node:events:513:28)
      at Request._onResponseBase (file:///opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/got/dist/source/core/index.js:609:14)
      at Request._onResponse (file:///opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/got/dist/source/core/index.js:768:24)
      at ClientRequest.<anonymous> (file:///opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/got/dist/source/core/index.js:786:23)
      at Object.onceWrapper (node:events:628:26)
      at ClientRequest.emit (node:events:525:35)
      at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:693:27)

Full output with DEBUG=* ``` $ DEBUG=* mw update /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/bin/mw update MW_BINPATH=/opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/bin/mw /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/bin/node /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/bin/run update oclif:main process.execPath: /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/bin/node +0ms oclif:main process.execArgv: +1ms oclif:main process.argv: [ oclif:main '/opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/bin/node', oclif:main '/opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/bin/run', oclif:main 'update' oclif:main ] +0ms find-root:root-plugin Finding root plugin using /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/bin/run.js +0ms find-root:root-plugin Finding root starting at /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/bin/run.js +0ms find-root:root-plugin Checking /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/bin/package.json +0ms find-root:root-plugin Checking /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/package.json +0ms find-root:root-plugin Found root by traversing up from starting point! +0ms find-root:root-plugin Found root at /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a +0ms config loading core plugin from /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a +0ms config:@mittwald/cli command discovery options { globPatterns: [ '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)', '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)' ], strategy: 'pattern', target: './dist/commands' } +0ms config:ts-path Skipping typescript path lookup for /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a because NODE_ENV is NOT "test" or "development" +0ms config:@mittwald/cli loading IDs from /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands +0ms config:@mittwald/cli found commands [ 'app:copy', 'app:download', 'app:get', 'app:list-upgrade-candidates', 'app:list', 'app:ssh', 'app:uninstall', 'app:upgrade', 'app:upload', 'app:versions', 'conversation:categories', 'conversation:close', 'conversation:create', 'conversation:list', 'conversation:reply', 'conversation:show', 'conversation:show2', 'backup:create', 'backup:delete', 'backup:download', 'backup:get', 'backup:list', 'context:get', 'context:reset', 'context:set', 'domain:get', 'domain:list', 'ddev:init', 'ddev:render-config', 'cronjob:create', 'cronjob:delete', 'cronjob:execute', 'cronjob:get', 'cronjob:list', 'login:reset', 'login:status', 'login:token', 'project:create', 'project:delete', 'project:get', 'project:list', 'project:ssh', 'project:update', 'org:delete', 'org:get', 'org:invite', 'org:list', 'server:get', 'server:list', 'sftp-user:delete', 'sftp-user:list', 'ssh-user:delete', 'ssh-user:list', 'user:get', 'app:dependency:list', 'app:dependency:update', 'app:dependency:versions', 'app:create:node', 'app:create:php', 'app:create:python', 'app:create:static', 'backup:schedule:list', 'domain:dnszone:get', 'domain:dnszone:list', 'domain:dnszone:update', 'domain:virtualhost:create', 'domain:virtualhost:delete', 'domain:virtualhost:get', 'domain:virtualhost:list', 'app:install:contao', 'app:install:drupal', 'app:install:grav', 'app:install:joomla', 'app:install:matomo', 'app:install:moodle', 'app:install:neos', 'app:install:nextcloud', 'app:install:prestashop', 'app:install:shopware5', 'app:install:shopware6', 'app:install:typo3', 'app:install:wordpress', 'cronjob:execution:abort', 'cronjob:execution:get', 'cronjob:execution:list', 'cronjob:execution:logs', 'database:redis:create', 'database:redis:get', 'database:redis:list', 'database:redis:shell', 'database:redis:versions', 'database:mysql:charsets', 'database:mysql:create', 'database:mysql:delete', 'database:mysql:dump', 'database:mysql:get', 'database:mysql:import', 'database:mysql:list', 'database:mysql:phpmyadmin', 'database:mysql:port-forward', ... 37 more items ] +8ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/ddev/init.js +357ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/upgrade.js +3ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/versions.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/ssh.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/download.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/upload.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/ddev/render-config.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/project/ssh.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/project/update.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/project/membership/get-own.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/database/redis/create.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/database/mysql/create.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/backup/create.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/mail/address/create.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/project/delete.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/domain/dnszone/update.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/domain/virtualhost/create.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/context/set.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/context/reset.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/login/token.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/database/redis/shell.js +1ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/database/mysql/import.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/database/mysql/dump.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/conversation/close.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/copy.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/cronjob/execute.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/dependency/update.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/org/membership/revoke.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/org/invite/revoke.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/user/api-token/create.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/cronjob/create.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/backup/download.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/cronjob/execution/abort.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/user/ssh-key/create.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/user/ssh-key/import.js +1ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/user/get.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/cronjob/execution/get.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/database/redis/get.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/mail/address/get.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/mail/deliverybox/get.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/project/invite/get.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/project/membership/get.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/user/api-token/get.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/user/session/get.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/user/ssh-key/get.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/database/mysql/user/get.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/login/reset.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/project/create.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/server/get.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/org/invite.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/create/node.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/create/php.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/create/python.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/create/static.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/install/grav.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/install/matomo.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/install/moodle.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/install/drupal.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/install/neos.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/install/contao.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/install/joomla.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/install/nextcloud.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/install/prestashop.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/install/wordpress.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/install/typo3.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/install/shopware6.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/install/shopware5.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/database/mysql/get.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/database/mysql/shell.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/database/mysql/port-forward.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/mail/address/update.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/uninstall.js +1ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/domain/virtualhost/delete.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/mail/address/delete.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/user/api-token/revoke.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/user/ssh-key/delete.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/backup/delete.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/cronjob/delete.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/sftp-user/delete.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/ssh-user/delete.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/database/mysql/user/delete.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/org/delete.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/database/mysql/delete.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/database/mysql/phpmyadmin.js +5ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/conversation/create.js +2ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/conversation/reply.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/cronjob/execution/logs.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/login/status.js +26ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/conversation/list.js +1ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/cronjob/list.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/mail/deliverybox/list.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/project/invite/list-own.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/org/invite/list-own.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/project/membership/list.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/conversation/show.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/mail/address/list.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/cronjob/execution/list.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/backup/list.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/project/invite/list.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/project/membership/list-own.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/org/membership/list-own.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/user/api-token/list.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/user/ssh-key/list.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/user/session/list.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/org/invite/list.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/org/membership/list.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/conversation/categories.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/project/list.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/server/list.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/org/list.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/dependency/list.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/dependency/versions.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/database/mysql/charsets.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/database/mysql/versions.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/database/mysql/user/list.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/domain/list.js +1ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/ssh-user/list.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/sftp-user/list.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/backup/schedule/list.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/domain/virtualhost/list.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/database/redis/versions.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/database/redis/list.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/database/mysql/list.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/list.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/list-upgrade-candidates.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/domain/dnszone/list.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/backup/get.js +34ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/conversation/show2.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/context/get.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/domain/get.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/cronjob/get.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/project/get.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/org/get.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/domain/dnszone/get.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/domain/virtualhost/get.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/project/filesystem/usage.js +0ms config:@mittwald/cli (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/dist/commands/app/get.js +0ms config reading user plugins pjson /Users/mhelmich/.local/share/mw/package.json +0ms config loading plugins [ '@oclif/plugin-autocomplete', '@oclif/plugin-help', '@oclif/plugin-update', '@oclif/plugin-warn-if-update-available' ] +3ms find-root:@oclif/plugin-autocomplete Finding root using /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a +0ms find-root:@oclif/plugin-autocomplete Found starting point with require.resolve +0ms find-root:@oclif/plugin-autocomplete Finding root starting at /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/@oclif/plugin-autocomplete/lib +0ms find-root:@oclif/plugin-autocomplete Found root based on plugin name! +0ms find-root:@oclif/plugin-help Finding root using /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a +0ms find-root:@oclif/plugin-help Found starting point with require.resolve +0ms find-root:@oclif/plugin-help Finding root starting at /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/@oclif/plugin-help/lib +0ms find-root:@oclif/plugin-help Found root based on plugin name! +0ms find-root:@oclif/plugin-update Finding root using /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a +0ms find-root:@oclif/plugin-update require.resolve could not find plugin starting point +0ms find-root:@oclif/plugin-update Finding root using legacy method +0ms find-root:@oclif/plugin-warn-if-update-available Finding root using /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a +0ms find-root:@oclif/plugin-warn-if-update-available Found starting point with require.resolve +0ms find-root:@oclif/plugin-warn-if-update-available Finding root starting at /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/@oclif/plugin-warn-if-update-available/lib +0ms find-root:@oclif/plugin-warn-if-update-available Found root based on plugin name! +0ms find-root:@oclif/plugin-autocomplete Found root at /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/@oclif/plugin-autocomplete +0ms find-root:@oclif/plugin-help Found root at /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/@oclif/plugin-help +0ms find-root:@oclif/plugin-warn-if-update-available Found root at /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/@oclif/plugin-warn-if-update-available +0ms config loading core plugin from /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/@oclif/plugin-autocomplete +0ms config loading core plugin from /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/@oclif/plugin-help +0ms config loading core plugin from /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/@oclif/plugin-warn-if-update-available +0ms find-root:@oclif/plugin-update Found root at /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/@oclif/plugin-update +0ms config loading core plugin from /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/@oclif/plugin-update +0ms config:@oclif/plugin-autocomplete command discovery options { globPatterns: [ '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)', '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)' ], strategy: 'pattern', target: './lib/commands' } +0ms config:@oclif/plugin-help command discovery options { globPatterns: [ '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)', '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)' ], strategy: 'pattern', target: './lib/commands' } +0ms config:@oclif/plugin-warn-if-update-available command discovery options undefined +0ms config:@oclif/plugin-update command discovery options { globPatterns: [ '**/*.+(js|cjs|mjs|ts|tsx|mts|cts)', '!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)' ], strategy: 'pattern', target: './dist/commands' } +0ms config:@oclif/plugin-autocomplete using manifest from /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/@oclif/plugin-autocomplete/oclif.manifest.json +0ms config:@oclif/plugin-help using manifest from /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/@oclif/plugin-help/oclif.manifest.json +1ms config:@oclif/plugin-warn-if-update-available using manifest from /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/@oclif/plugin-warn-if-update-available/oclif.manifest.json +1ms config:@oclif/plugin-update using manifest from /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/@oclif/plugin-update/oclif.manifest.json +1ms config config done +0ms config start init hook +0ms config:ts-path Skipping typescript path lookup for /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/@oclif/plugin-warn-if-update-available because NODE_ENV is NOT "test" or "development" +455ms config:ts-path Skipping typescript path lookup for /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/@oclif/plugin-update because NODE_ENV is NOT "test" or "development" +0ms mw:@oclif/plugin-warn-if-update-available:hooks:init start (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/@oclif/plugin-warn-if-update-available/lib/hooks/init/check-update.js +0ms mw:@oclif/plugin-warn-if-update-available:hooks:init done +0ms mw:@oclif/plugin-update:hooks:init start (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/@oclif/plugin-update/dist/hooks/init.js +0ms mw:@oclif/plugin-update:hooks:init done +0ms config init hook done +2ms config runCommand update [] +0ms config:ts-path Skipping typescript path lookup for /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/@oclif/plugin-update because NODE_ENV is NOT "test" or "development" +2ms config:@oclif/plugin-update (import) /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/@oclif/plugin-update/dist/commands/update.js +82ms config start prerun hook +79ms config prerun hook done +0ms mw:update init version: @oclif/core@3.26.6 argv: [] +0ms config start preparse hook +0ms config preparse hook done +0ms config start preupdate hook +573ms config preupdate hook done +0ms oclif-update extracting to /opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-beta.2-d3b403f.partial.79546 +0ms @mittwald/cli: Updating CLI from 1.0.0-alpha.47-2c1739a to 1.0.0-beta.2-d3b403f... ! ╭──────────────────────────────────────────────────────────────────────────────╮ │ ERROR │ │ │ │ An error occurred while executing this command: │ │ │ │ RequestError: Invalid number │ │ │ │ If you believe this to be a bug, please open an issue at │ │ https://github.com/mittwald/cli/issues/new. │ ╰──────────────────────────────────────────────────────────────────────────────╯ ERROR STACK TRACE Please provide this when opening a bug report. RequestError: Invalid number at Request._beforeError (file:///opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/got/dist/source/core/index.js:310:21) at Request._onResponse (file:///opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/got/dist/source/core/index.js:772:18) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at filesize (/opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/filesize/lib/filesize.js:69:12) at filesize (file:///opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/@oclif/plugin-update/dist/update.js:11:27) at Request. (file:///opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/@oclif/plugin-update/dist/update.js:326:60) at Request.emit (node:events:513:28) at Request._onResponseBase (file:///opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/got/dist/source/core/index.js:609:14) at Request._onResponse (file:///opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/got/dist/source/core/index.js:768:24) at ClientRequest. (file:///opt/homebrew/Cellar/mw/1.0.0-alpha.47/lib/client/1.0.0-alpha.47-2c1739a/node_modules/got/dist/source/core/index.js:786:23) at Object.onceWrapper (node:events:628:26) at ClientRequest.emit (node:events:525:35) at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:693:27) ```
martin-helmich commented 2 months ago

The build manifests are generated incorrectly after #766 (the bucket name is missing in the referenced URLs, because an invalid host is set in the upload configuration):

$ xh https://mittwald-cli.s3.eu-central-1.amazonaws.com/channels/stable/mw-darwin-arm64-buildmanifest
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: max-age=86400
Content-Length: 559
Content-Type: binary/octet-stream
Date: Mon, 09 Sep 2024 15:56:54 GMT
Etag: "324057d450b0b55a637d90beaa85598b"
Last-Modified: Mon, 09 Sep 2024 14:04:04 GMT
Server: AmazonS3
X-Amz-Id-2: OgpETQjixdMDAnf1Y8KN5LLFVbJTcK+TAwoFIHQSV6EroqX3fgOUcCfbhkucBVgET3b0o+r/Cjw=
X-Amz-Request-Id: 0P679EGG1ZXDT17X
X-Amz-Server-Side-Encryption: AES256

{
  "baseDir": "mw",
  "gz": "https://s3.eu-central-1.amazonaws.com/versions/1.0.0-beta.2/d3b403f/mw-v1.0.0-beta.2-d3b403f-darwin-arm64.tar.gz",
  "node": {
    "compatible": ">=18.0.0",
    "recommended": "18.20.4"
  },
  "sha": "d3b403f",
  "sha256gz": "619cd56aabc541f6b14c4935822959541092621d8b88a2af5fbf4720a4435e08",
  "sha256xz": "1a4926ecb730d53bc4baee7627a4b9ccf4194d67ac6e6c4addca63b28a950372",
  "version": "1.0.0-beta.2",
  "xz": "https://s3.eu-central-1.amazonaws.com/versions/1.0.0-beta.2/d3b403f/mw-v1.0.0-beta.2-d3b403f-darwin-arm64.tar.xz"
}