Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APITOKEN is not saved during windows silent install #489

Open
daisy613 opened this issue Jan 18, 2024 · 1 comment
Open

APITOKEN is not saved during windows silent install #489

daisy613 opened this issue Jan 18, 2024 · 1 comment
Labels

Comments

@daisy613
Copy link

Problem description

Steps to reproduce the problem

  1. Run the following silent install commands:
graylog_sidecar_installer_1.5.0-1.exe /S -SERVERURL=https://XXXXXXXX.graylog.cloud/api  -APITOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
"C:\Program Files\graylog\sidecar\graylog-sidecar.exe" -service install
"C:\Program Files\graylog\sidecar\graylog-sidecar.exe" -service start
  1. The following install error shows in the log:
    time="2024-01-17T22:24:09-05:00" level=fatal msg="Failed service action: Failed to start Graylog Sidecar: The service did not respond to the start or control request in a timely fashion."
  2. The sidecar.yml entry for the api token is blank:
    server_api_token: ""
  3. When the correct API is added to the yml file, the service starts successfully.

Environment

  • Sidecar Version: 1.5.0-1
  • Graylog Version: Graylog Cloud 5.2.2 (397)
  • Operating System: Windows Server 2019
  • Elasticsearch Version:
  • MongoDB Version:
@daisy613
Copy link
Author

I ended up having to script the install to just insert the API key into the YML file before starting the service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants