raintank / raintank-docker

raintank docker images and dev stack DEPRECATED / UNMAINTAINED
https://blog.raintank.io/docker-based-development-environment/
16 stars 4 forks source link

grafana: Completed /public/app/core/core.js 404 Not Found in 1.08208ms #40

Closed Dieterbe closed 9 years ago

Dieterbe commented 9 years ago

loading up the grafana web ui doesn't work because of this error

this is latest raintank/grafana master i ran ./setup_dev.sh which normally takes care of all this stuff, but this time doesn't look like it

> grafana >config fix
> grafana > npm install
npm WARN package.json expect.js@0.2.0 No repository field.
npm WARN package.json rjs-build-analysis@0.0.3 No repository field.
npm http GET https://registry.npmjs.org/grunt-cli
npm http 304 https://registry.npmjs.org/grunt-cli
npm http GET https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/findup-sync
npm http GET https://registry.npmjs.org/resolve
npm http 304 https://registry.npmjs.org/findup-sync
npm http 304 https://registry.npmjs.org/nopt
npm http 304 https://registry.npmjs.org/resolve
npm http GET https://registry.npmjs.org/abbrev
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/abbrev
npm http 304 https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/lru-cache
/usr/local/bin/grunt -> /usr/local/lib/node_modules/grunt-cli/bin/grunt
grunt-cli@0.1.13 /usr/local/lib/node_modules/grunt-cli
├── resolve@0.3.1
├── nopt@1.0.10 (abbrev@1.0.7)
└── findup-sync@0.1.3 (lodash@2.4.2, glob@3.2.11)
> grafana > grunt
Running "jscs:src" (jscs) task
>> 171 files without code style errors.

Running "jshint:source" (jshint) task

✔ No problems

Running "jshint:tests" (jshint) task

✔ No problems

Running "tslint:source" (tslint) task
>> 11 files lint free.

Running "clean:gen" (clean) task
Cleaning public_gen...OK

Running "copy:public_to_gen" (copy) task
Created 143 directories, copied 665 files

Running "less:src" (less) task
File public_gen/css/bootstrap.dark.min.css created.
File public_gen/css/bootstrap.light.min.css created.
File public_gen/css/bootstrap-responsive.min.css created.

Running "concat:cssDark" (concat) task
File public_gen/css/grafana.dark.min.css created.

Running "concat:cssLight" (concat) task
File public_gen/css/grafana.light.min.css created.

Running "typescript:build" (typescript) task
42 files created. js: 14 files, map: 14 files, declaration: 14 files (968ms)

Done, without errors.

@torkelo @woodsaj any idea?

torkelo commented 9 years ago

What's the grafana log? Do you have public/css folder , if that is so remove it On 13 Oct 2015 17:09, "Dieter Plaetinck" notifications@github.com wrote:

loading up the grafana web ui doesn't work because of this error

this is latest raintank/grafana master i ran ./setup_dev.sh which normally takes care of all this stuff, but this time doesn't look like it

grafana >config fix grafana > npm install npm WARN package.json expect.js@0.2.0 No repository field. npm WARN package.json rjs-build-analysis@0.0.3 No repository field. npm http GET https://registry.npmjs.org/grunt-cli npm http 304 https://registry.npmjs.org/grunt-cli npm http GET https://registry.npmjs.org/nopt npm http GET https://registry.npmjs.org/findup-sync npm http GET https://registry.npmjs.org/resolve npm http 304 https://registry.npmjs.org/findup-sync npm http 304 https://registry.npmjs.org/nopt npm http 304 https://registry.npmjs.org/resolve npm http GET https://registry.npmjs.org/abbrev npm http GET https://registry.npmjs.org/glob npm http GET https://registry.npmjs.org/lodash npm http 304 https://registry.npmjs.org/abbrev npm http 304 https://registry.npmjs.org/lodash npm http 304 https://registry.npmjs.org/glob npm http GET https://registry.npmjs.org/inherits npm http GET https://registry.npmjs.org/minimatch npm http 304 https://registry.npmjs.org/minimatch npm http 304 https://registry.npmjs.org/inherits npm http GET https://registry.npmjs.org/lru-cache npm http GET https://registry.npmjs.org/sigmund npm http 304 https://registry.npmjs.org/sigmund npm http 304 https://registry.npmjs.org/lru-cache /usr/local/bin/grunt https://registry.npmjs.org/lru-cache/usr/local/bin/grunt -> /usr/local/lib/node_modules/grunt-cli/bin/grunt grunt-cli@0.1.13 /usr/local/lib/node_modules/grunt-cli ├── resolve@0.3.1 ├── nopt@1.0.10 (abbrev@1.0.7) └── findup-sync@0.1.3 (lodash@2.4.2, glob@3.2.11) grafana > grunt Running "jscs:src" (jscs) task

171 files without code style errors.

Running "jshint:source" (jshint) task

✔ No problems

Running "jshint:tests" (jshint) task

✔ No problems

Running "tslint:source" (tslint) task

11 files lint free.

Running "clean:gen" (clean) task Cleaning public_gen...OK

Running "copy:public_to_gen" (copy) task Created 143 directories, copied 665 files

Running "less:src" (less) task File public_gen/css/bootstrap.dark.min.css created. File public_gen/css/bootstrap.light.min.css created. File public_gen/css/bootstrap-responsive.min.css created.

Running "concat:cssDark" (concat) task File public_gen/css/grafana.dark.min.css created.

Running "concat:cssLight" (concat) task File public_gen/css/grafana.light.min.css created.

Running "typescript:build" (typescript) task 42 files created. js: 14 files, map: 14 files, declaration: 14 files (968ms)

Done, without errors.

@torkelo https://github.com/torkelo @woodsaj https://github.com/woodsaj any idea?

— Reply to this email directly or view it on GitHub https://github.com/raintank/raintank-docker/issues/40.

Dieterbe commented 9 years ago

so weird. removing public/css makes it work. does rm -rf public/css need to be added to a grafana build script or to setup_dev.sh ?

torkelo commented 9 years ago

No, there should not be such a folder there. Is a remnant of old css build script. If you do a clean checkout is it there? On 14 Oct 2015 07:52, "Dieter Plaetinck" notifications@github.com wrote:

so weird. removing public/css makes it work. does rm -rf public/css need to be added to a build script or to setup_dev.sh ?

— Reply to this email directly or view it on GitHub https://github.com/raintank/raintank-docker/issues/40#issuecomment-148026936 .

woodsaj commented 9 years ago

There is no public/css folder in the repo. This problem was simply due to out of data in your working dir.

there is no need to add the rm command to the build scripts.