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
VMUI static files are missing in v1.101.0 #6224
Comments
Hello @dantangfan @lapo-luchini! Do you use official builds provided here https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.101.0 ? |
oh no. I build by myself for test purpose. I run |
I'm using a locally modified FreeBSD Port that I personally updated to v1.100.1 (and it was working fine, except for #6192) and then to v1.101.0 in commit 5df9610 (and it gives this error). |
I noticed that diff v1.100.1...v1.101.0 shows this: "entrypoints": [
"static/css/main.bc07cc78.css",
- "static/js/main.034044a7.js"
+ "static/js/main.8e7757ef.js"
] but then the |
I managed to reproduce on a pristine Linux virtual machine (no relation to FreeBSD): $ git clone https://github.com/VictoriaMetrics/VictoriaMetrics.git --branch v1.101.0 --depth=1
$ cd VictoriaMetrics
$ make victoria-metrics
APP_NAME=victoria-metrics make app-local
make[1]: Entering directory '/root/VictoriaMetrics'
CGO_ENABLED=1 go build -ldflags "-X 'github.com/VictoriaMetrics/VictoriaMetrics/lib/buildinfo.Version=victoria-metrics-20240507-112209-tags-v1.101.0-0-g5334f0c'" -o bin/victoria-metrics github.com/VictoriaMetrics/VictoriaMetrics/app/victoria-metrics
make[1]: Leaving directory '/root/VictoriaMetrics'
$ bin/victoria-metrics -httpListenAddr '[::]:18428' &
$ wget -qO - http://localhost:18428/vmui/ | egrep -o 'static/js/main[^"]+'
static/js/main.59c17910.js
$ wget http://localhost:18428/vmui/static/js/main.59c17910.js
--2024-05-07 11:26:45-- http://localhost:18428/vmui/static/js/main.59c17910.js
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:18428... failed: Connection refused.
Connecting to localhost (localhost)|127.0.0.1|:18428... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-05-07 11:26:45 ERROR 404: Not Found. While on previous version: $ git clone https://github.com/VictoriaMetrics/VictoriaMetrics.git VM-100 --branch v1.100.1 --depth=1
$ cd VM-100
$ make victoria-metrics
$ bin/victoria-metrics -httpListenAddr '[::]:18428' &
$ wget -qO - http://localhost:18428/vmui/ | egrep -o 'static/js/main[^"]+'
static/js/main.f9cc1e6c.js
$ wget http://localhost:18428/vmui/static/js/main.f9cc1e6c.js
--2024-05-07 11:36:44-- http://localhost:18428/vmui/static/js/main.f9cc1e6c.js
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:18428... failed: Connection refused.
Connecting to localhost (localhost)|127.0.0.1|:18428... connected.
HTTP request sent, awaiting response... 200 OK
Length: 474574 (463K) [text/javascript]
Saving to: 'main.f9cc1e6c.js' |
These files weren't added to the git after `make vmui-build vmui-update` command in commit 7fd9325#diff-50d9a4b91bdad190f2db92553736267103ab4225dfb6642b675fb4b8196e6560 Related to #6224 Signed-off-by: hagen1778 <roman@victoriametrics.com>
My bad, I forgot to add newly created static files to the git in this commit 7fd9325#diff-50d9a4b91bdad190f2db92553736267103ab4225dfb6642b675fb4b8196e6560 This should be addressed here 56531ab |
These files weren't added to the git after `make vmui-build vmui-update` command in commit 7fd9325#diff-50d9a4b91bdad190f2db92553736267103ab4225dfb6642b675fb4b8196e6560 Related to #6224 Signed-off-by: hagen1778 <roman@victoriametrics.com> (cherry picked from commit 56531ab)
Describe the bug
When I access
/vmui/
I get404
on generated files.To Reproduce
http://localhost:8428/vmui/
Version
victoria-metrics-20240426-090403-tags-v1.101.0-0-g5334f0c
Logs
Screenshots
No response
Used command-line flags
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: