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: UI error reading base template #4596

Closed
alexandrul opened this Issue Sep 12, 2018 · 11 comments

Comments

Projects
None yet
6 participants
@alexandrul
Copy link

alexandrul commented Sep 12, 2018

Bug Report

What did you do?
Upgraded to 2.4.0 and opened http://localhost:9090 in Chrome

What did you expect to see?
The web UI

What did you see instead? Under which circumstances?
error reading base template: open /\templates_base.html: file does not exist

Environment

  • System information:
    Windows Server 2008 R2

  • Prometheus version:
    prometheus, version 2.4.0 (branch: HEAD, revision: 068eaa5)
    build user: root@d84c15ea5e93
    build date: 20180911-10:56:06
    go version: go1.10.3

@alexandrul

This comment has been minimized.

Copy link
Author

alexandrul commented Sep 12, 2018

stderr:

level=info ts=2018-09-12T06:21:31.7431125Z caller=main.go:238 msg="Starting Prometheus" version="(version=2.4.0, branch=HEAD, revision=068eaa5dbfce6c08f3d05d3d3c0bfd96267cfed2)"
level=info ts=2018-09-12T06:21:31.7431125Z caller=main.go:239 build_context="(go=go1.10.3, user=root@d84c15ea5e93, date=20180911-10:56:06)"
level=info ts=2018-09-12T06:21:31.7431125Z caller=main.go:240 host_details=(windows)
level=info ts=2018-09-12T06:21:31.7431125Z caller=main.go:241 fd_limits=N/A
level=info ts=2018-09-12T06:21:31.7431125Z caller=main.go:242 vm_limits=N/A
level=info ts=2018-09-12T06:21:31.7441126Z caller=web.go:397 component=web msg="Start listening for connections" address=0.0.0.0:9090
level=info ts=2018-09-12T06:21:31.7441126Z caller=main.go:554 msg="Starting TSDB ..."
level=info ts=2018-09-12T06:21:31.7521134Z caller=main.go:564 msg="TSDB started"
level=info ts=2018-09-12T06:21:31.7521134Z caller=main.go:624 msg="Loading configuration file" filename=C:\...\prometheus.yml
level=info ts=2018-09-12T06:21:31.7591141Z caller=main.go:650 msg="Completed loading of configuration file" filename=C:\...\prometheus.yml
level=info ts=2018-09-12T06:21:31.7591141Z caller=main.go:523 msg="Server is ready to receive web requests."
@simonpasquier

This comment has been minimized.

Copy link
Member

simonpasquier commented Sep 12, 2018

This is probably related to #4430. I'll have a look at it.

@nadilas

This comment has been minimized.

Copy link

nadilas commented Sep 13, 2018

+1

@gouthamve gouthamve changed the title error reading base template windows: UI error reading base template Sep 14, 2018

@simonpasquier

This comment has been minimized.

Copy link
Member

simonpasquier commented Sep 17, 2018

@alexandrul and @nadilas it would be great if you could test #4616

@alexandrul

This comment has been minimized.

Copy link
Author

alexandrul commented Sep 17, 2018

@simonpasquier seems fine on my PC (using go 1.11 and latest cygwin64).

@notOccupanther

This comment has been minimized.

Copy link

notOccupanther commented Sep 19, 2018

Still having this issue. Just downloaded 2.4 this morn. (Windows 10)

Accessing localhost:9090/metrics shows detail,

but localhost:9090 shows:
"error reading base template: open /\templates_base.html: file does not exist"

@simonpasquier

This comment has been minimized.

Copy link
Member

simonpasquier commented Sep 19, 2018

@notOccupanther you'll have to wait for v2.4.1 (see #4632).

@codesome

This comment has been minimized.

Copy link
Member

codesome commented Sep 21, 2018

@simonpasquier I think this can be closed now.

@gouthamve

This comment has been minimized.

Copy link
Member

gouthamve commented Sep 21, 2018

Closed in #4616

@gouthamve gouthamve closed this Sep 21, 2018

@simonpasquier

This comment has been minimized.

Copy link
Member

simonpasquier commented Sep 21, 2018

however the change isn't on master yet which is probably why GitHub didn't auto-close this issue.

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 22, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 22, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.