Skip to content

[Bug]: beszel Linux install script needs some work #1002

@kode54

Description

@kode54

Component

Agent

Description

The agent install script has some shortcomings, particularly affecting OpenWrt.

  1. The env line should have all of the environment variables space-delimited on one line. Somehow, having more than two variables on separate lines is breaking it.
  2. To generate or usermod the user entry, opkg should install both shadow-useradd and shadow-usermod. I'm not sure if coreutils is needed if these are installed.

Expected Behavior

The script should install the daemon and actually work.

Steps to Reproduce

  1. Copy Linux install command
  2. Paste to latest OpenWrt 24.10.2 shell
  3. Observe as daemon no longer launches

Category

Installation

Affected Metrics

Other

OS / Architecture

linux/amd64 (agent), linux/aarch64 (agent)

Beszel version

0.12.1

Installation method

Binary

Configuration

Do I need to paste my tokens here? It's failing to detect the KEY variable if three or four env variables are all set on separate lines instead of being globbed onto one line.

The tools will also allow creating and maintaining the shadow user for the daemon to run as.

Hub Logs

Agent Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions