GithubHelp home page GithubHelp logo

Comments (8)

hagen1778 avatar hagen1778 commented on September 26, 2024 3

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

from victoriametrics.

dantangfan avatar dantangfan commented on September 26, 2024

face the same problem

image

from victoriametrics.

hagen1778 avatar hagen1778 commented on September 26, 2024

Hello @dantangfan @lapo-luchini! Do you use official builds provided here https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.101.0 ?

from victoriametrics.

dantangfan avatar dantangfan commented on September 26, 2024

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 make all cmd in the root dir, and the vminsert app in ./bin/ dir got vmui 404 error.

from victoriametrics.

lapo-luchini avatar lapo-luchini commented on September 26, 2024

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).
Using the file from the release page it works fine, but while I can use that release personally (or for testing purposes), the official FreeBSD package (built from the Ports) needs to be locally compiled, so I'll need to fix that anyways in order to have it as a supported package.
PS: I'm not the official maintainer of the port, just a user interested in using a more recent release and advocating for it to be upgraded, so I'd like to send a patch in order to facilitate the process.

from victoriametrics.

lapo-luchini avatar lapo-luchini commented on September 26, 2024

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 /vmui/ searches for main.59c17910.js.

from victoriametrics.

lapo-luchini avatar lapo-luchini commented on September 26, 2024

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'

from victoriametrics.

hagen1778 avatar hagen1778 commented on September 26, 2024

The issue with missing static files should be solved starting from https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.102.0.

from victoriametrics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.