Skip to content

Problem: Configuration is misleading #3943

@whisperzer0

Description

@whisperzer0

Issue

This is installation from the RPM package on Rocky Linux.

Issue one:
The Running path is invalid. I assume this is designed for the single binary install and not the RPM?
When completing the configuration wizard, it displays the following command to execute:

./semaphore server --config /opt/semaphore/output/config.json

The actual binary is stored in /usr/bin so the command presented above won't execute.

Issue two:

During configuration of the setup script, it asks the following questions:
Public URL (optional, example: https://example.com/semaphore):
I enter my host's IP: https://192.168.xx.xx and then after completing the default server configuration, I get 404 within the browser. However semaphore is actually running on port 3000.

/usr/bin/semaphore server --config /opt/semaphore/output/config.json

SQLite @/opt/semaphore/main.db semaphore
Tmp Path (projects home) /opt/semaphore/playbooks
Semaphore 2.18.12-8a4dcf0-1780941761
Interface 
Port :3000
Server is running

There was no information that this will run on port 3000, and so if I try to access the URL on port 3000, I get a blank page.

Viewing the source, it appears that all links originate to the defined parameter given in the installation script. However these are invalid because the actual URL / application is running on port 3000.

<!DOCTYPE html>
<html lang="en">
  <head>
    <base href="https://192.168.xx.xx/">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="icon" href="[favicon.png](view-source:https://192.168.xx.xx/favicon.png)">
    <title>Dashboard - Semaphore UI</title>
  <script defer src="[js/chunk-vendors.69e569a9.js](view-source:https://192.168.14.235/js/chunk-vendors.69e569a9.js)"></script><script defer src="[js/app.3fd09e46.js](view-source:https://192.168.xx.xx/js/app.3fd09e46.js)"></script><link href="[css/chunk-vendors.b6bd358c.css](view-source:https://192.168.xx.xx/css/chunk-vendors.b6bd358c.css)" rel="stylesheet"><link href="[css/app.a9ed4876.css](view-source:https://192.168.xx.xx/css/app.a9ed4876.css)" rel="stylesheet"></head>
  <body>
    <noscript>
      <strong>
          We're sorry but web doesn't work properly
          without JavaScript enabled. Please enable it to continue.
      </strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>

And after updating the configuration I still receive the "Without JavaScript enabled"
Javascript is enabled and is the same error on Waterfox, Firefox and Chromium.

<!DOCTYPE html>
<html lang="en">
  <head>
    <base href="[https://192.168.xx.xx:3000/](view-source:https://192.168.xx.xx:3000/)">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="icon" href="[favicon.png](view-source:https://192.168.xx.xx:3000/favicon.png)">
    <title>Dashboard - Semaphore UI</title>
  <script defer src="[js/chunk-vendors.69e569a9.js](view-source:https://192.168.xx.xx:3000/js/chunk-vendors.69e569a9.js)"></script><script defer src="[js/app.3fd09e46.js](view-source:https://192.168.xx.xx:3000/js/app.3fd09e46.js)"></script><link href="[css/chunk-vendors.b6bd358c.css](view-source:https://192.168.x.xx:3000/css/chunk-vendors.b6bd358c.css)" rel="stylesheet"><link href="[css/app.a9ed4876.css](view-source:https://192.168.xx.xx:3000/css/app.a9ed4876.css)" rel="stylesheet"></head>
  <body>
    <noscript>
      <strong>
          We're sorry but web doesn't work properly
          without JavaScript enabled. Please enable it to continue.
      </strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>

Impact

Web-Frontend (what users interact with)

Installation method

Docker

Database

No response

Browser

No response

Semaphore Version

2.18.12-8a4dcf0-1780941761

Ansible Version

Logs & errors

No response

Manual installation - system information

No response

Configuration

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions