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

Windows: service installed has weird name #15082

Closed
inge4pres opened this issue Dec 31, 2024 · 2 comments
Closed

Windows: service installed has weird name #15082

inge4pres opened this issue Dec 31, 2024 · 2 comments
Labels

Comments

@inge4pres
Copy link
Contributor

APM Server version (apm-server version):

8.17.0 and main

Description of the problem including expected versus actual behavior:

Env: Windows
The installer configures a service with a bad name {.BeatName | title}.

Image

Steps to reproduce:

  1. Go to https://www.elastic.co/downloads/apm
  2. follow the instructions to install the service
  3. open Super+R -> services.msc

Provide logs (if relevant):

N/A

Possible cause

Might be that a missing Go template variable isn't passed to the service install script?

@axw
Copy link
Member

axw commented Jan 7, 2025

-displayName {{.BeatName | title}} `

This was copied from Beats where it was a template, but it's not a template in the apm-server repo. I think we just need to change that to -displayName "Elastic APM Server" or whatever we want it to say.

@inge4pres
Copy link
Contributor Author

Thanks, as suggested by @kruskall we have incorporated a fix for this in #14905

inge4pres added a commit that referenced this issue Jan 7, 2025
* Win: install APM Server in Program Files dir
* update service name

Also fixes #15082
---------

Co-authored-by: kruskall <[email protected]>
mergify bot pushed a commit that referenced this issue Jan 7, 2025
* Win: install APM Server in Program Files dir
* update service name

Also fixes #15082
---------

Co-authored-by: kruskall <[email protected]>
(cherry picked from commit 0681721)
mergify bot pushed a commit that referenced this issue Jan 7, 2025
* Win: install APM Server in Program Files dir
* update service name

Also fixes #15082
---------

Co-authored-by: kruskall <[email protected]>
(cherry picked from commit 0681721)
mergify bot pushed a commit that referenced this issue Jan 7, 2025
* Win: install APM Server in Program Files dir
* update service name

Also fixes #15082
---------

Co-authored-by: kruskall <[email protected]>
(cherry picked from commit 0681721)
mergify bot added a commit that referenced this issue Jan 7, 2025
* Win: install APM Server in Program Files dir
* update service name

Also fixes #15082
---------

Co-authored-by: kruskall <[email protected]>
(cherry picked from commit 0681721)

Co-authored-by: Francesco Gualazzi <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
mergify bot added a commit that referenced this issue Jan 7, 2025
* Win: install APM Server in Program Files dir
* update service name

Also fixes #15082
---------

Co-authored-by: kruskall <[email protected]>
(cherry picked from commit 0681721)

Co-authored-by: Francesco Gualazzi <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
mergify bot added a commit that referenced this issue Jan 7, 2025
* Win: install APM Server in Program Files dir
* update service name

Also fixes #15082
---------

Co-authored-by: kruskall <[email protected]>
(cherry picked from commit 0681721)

Co-authored-by: Francesco Gualazzi <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
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