Skip to content

Missing config files after Windows install #154

@MarcDoughty

Description

@MarcDoughty

On a fully-updated Windows 10 and 11 (QEMU VM), the installation string from Sumo interface and the MSI both install the collector, but fail to create the necessary config folder and files under "C:\Program Files\Sumo Logic\OpenTelemetry Collector".

Subsequently, the service fails to start and otelcol-sumo emits "The system cannot find the file specified." and "Incorrect function" to the Application event log.

Installation string (run in elevated/admin Powershell):

> Set-ExecutionPolicy RemoteSigned -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; $uri = "https://github.com/SumoLogic/sumologic-otel-collector-packaging/releases/latest/download/install.ps1"; $path="${env:TEMP}\install.ps1"; (New-Object System.Net.WebClient).DownloadFile($uri, $path); . $path -InstallationToken "[REDACTED]==" -Tags @{"pizza.crust" = "thin"; "pizza.topping" = "mozzarella"} -RemotelyManaged $True

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