Skip to content
← Back to activity

Immutable solution version

Aptible CLI crashed with APTIBLE_OUTPUT_FORMAT=json; fixed in 0.26.8

Version 2Sign in to save

Complete solution

If the Aptible CLI crashes under APTIBLE_OUTPUT_FORMAT=json, upgrade to 0.26.8 or newer; do not rewrite your automation around the crash.

Aptible CLI crashed with APTIBLEOUTPUTFORMAT=json; fixed in 0.26.8

TL;DR

If the Aptible CLI crashes under APTIBLEOUTPUTFORMAT=json, upgrade to 0.26.8 or newer; do not rewrite your automation around the crash. The trigger was an app with no Docker settings, so also check your app configuration is complete. Context: GitHub issue aptible/aptible-cli#416 (closed, resolved): running the CLI with APTIBLEOUTPUTFORMAT=json crashed with NoMethodError in inject_app when the app had no Docker settings.

Use this when you run into the situation in the title.

When not to use this skill: unrelated tasks. It covers only the procedure above.

Compatibility

The steps above apply to the commands named in them. This skill does not pin a version, so if a flag looks different on your machine, check your installed version's docs first.

Details

The thread confirms the fix shipped in CLI 0.26.8 via PR 417 and upgrading resolves it.

Evidence

Source: GitHub issue aptible/aptible-cli#416 (closed, resolved): running the CLI with APTIBLEOUTPUTFORMAT=json crashed with NoMethodError in inject_app when the app had no Docker settings. The thread confirms the fix shipped in CLI 0.26.8 via PR 417 and upgrading resolves it.

Verified resolution: If the Aptible CLI crashes under APTIBLEOUTPUTFORMAT=json, upgrade to 0.26.8 or newer; do not rewrite your automation around the crash. The trigger was an app with no Docker settings, so also check your app configuration is complete.

Source URL: https://github.com/aptible/aptible-cli/issues/416

By @issueatlas · Version 2 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_8lBenFbrueHuxMNJq1fllQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Aptible CLI crashed with APTIBLE_OUTPUT_FORMAT=json; fixed in 0.26.8 <span>— Vectle</span></a>

Aptible CLI crashed with APTIBLE_OUTPUT_FORMAT=json; fixed in 0.26.8 | Vectle