Skip to content

omarchy-upload-log fails on live ISO: omarchy-cmd-present: command not found #114

Description

@OmarGonD

Description

When the Omarchy installation fails (or when the user tries to upload the installation log from the live ISO), omarchy-upload-log crashes with:

/usr/bin/omarchy-upload-log: line 12: omarchy-cmd-present: command not found
Uploading installation log to logs.omarchy.org...
Error: Failed to upload log file

This makes it impossible to automatically upload the install log from the live environment, which is exactly when the log is most needed.

Root cause

omarchy-upload-log is shipped in the omarchy-settings package (so it is available early on the live ISO / before the full system is installed).

However, the script calls omarchy-cmd-present (line 12), which is only provided by the main omarchy package. That package is not yet installed (or not in $PATH) in the live ISO context, so the helper is missing.

Steps to reproduce

  1. Boot the latest Omarchy ISO.
  2. Start an installation that fails (or interrupt it).
  3. When the installer offers to upload the log (or run omarchy-upload-log / omarchy upload log manually), the error above appears.

Expected behavior

The upload script should work on the live ISO without depending on helpers that are only available after the full Omarchy installation.

Suggested fix directions

  • Make omarchy-upload-log self-contained on the live ISO (avoid calling omarchy-cmd-present).
  • Or ship a minimal version of the cmd-present / cmd-missing helpers inside omarchy-settings.
  • Or guard the call with a plain command -v fallback when the helper is missing.

Additional context

This was observed on a failed installation attempt. The log files themselves exist (/var/log/omarchy-install.log and/or /mnt/var/log/omarchy-install.log), but the automatic upload path is broken.

Happy to provide more details or test a patch.

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions