Code Monkey home page Code Monkey logo

Comments (12)

javarminator avatar javarminator commented on July 21, 2024

Hi,
it generates a tarball, but I can not continue the installation steps mentionned in http://ceph.com/category/calamari/

cd /tmp/opt/calamari/webapp
$ sudo cp -rp content/ /opt/calamari/webapp/content
$ sudo ls -l /opt/calamari/webapp/content

there is no webapp directory

to sum up, the generated tarball contains the new files, and i don't konw what to do with them

Regards
F

from calamari-clients.

javarminator avatar javarminator commented on July 21, 2024

Well that's the point, when I use make build-real as referred in the first link, I got the error stack I copied in my first post (and I have followed all the steps)

thank you for your patience :)

from calamari-clients.

joehandzik avatar joehandzik commented on July 21, 2024

I ran into this problem, lemme backtrack when I get into the office to see what I did to fix it. One thing that I tweaked was switching to building as a user via sudo instead of building directly as root. Are you building as root or using sudo?

Joe

On Jan 21, 2015, at 8:21 AM, javarminator <[email protected]mailto:[email protected]> wrote:

Well that's the point, when I use make build-real as referred in the first link, I got the error stack I copied in my first post (and I have followed all the steps)

thank you for your patience :)


Reply to this email directly or view it on GitHubhttps://github.com//issues/84#issuecomment-70844622.

from calamari-clients.

javarminator avatar javarminator commented on July 21, 2024

Thank you for your answer

I tried to use sudo but a new error came out
-*
Warning: Running "compass:dist" (compass) task
Warning: You need to have Ruby and Compass installed and in your system PATH for this task to work. More info: https://github.com/gruntjs/grunt-contrib-compass Use --force to continue.
-*

I'am certain that ruby and compass are correctly installed

F

from calamari-clients.

joehandzik avatar joehandzik commented on July 21, 2024

Ha! Yup, you're right where I was. You need to change your secure_path EV in the sudo file (I think /etc/sudoers). The problem is that ruby gems end up in a directory that the secure path drops. You can change secure path to your user account's PATH value, or use sudo -i to bring your user's path with when using sudo, instead of using the secure path. You may run into another error or two from here on, I forget.

Joe

On Jan 21, 2015, at 9:01 AM, javarminator <[email protected]mailto:[email protected]> wrote:

Thank you for your answer

I tried to use sudo but a new error came out
-*
Warning: Running "compass:dist" (compass) task
Warning: You need to have Ruby and Compass installed and in your system PATH for this task to work. More info: https://github.com/gruntjs/grunt-contrib-compass Use --force to continue.
-*

I'am certain that ruby and compass are correctly installed

F


Reply to this email directly or view it on GitHubhttps://github.com//issues/84#issuecomment-70851988.

from calamari-clients.

javarminator avatar javarminator commented on July 21, 2024

@kmkanagaraj
The use of sudos reset the PATH, so I edited the root PATH and exported it as a normal user, it seems that the problem is solved
I am now dealing with bower troubles (I have a proxy on my station )
cheers

from calamari-clients.

joehandzik avatar joehandzik commented on July 21, 2024

Yuck, you're at the same place I'm at now. I'll update when I have a chance to try out what the red hat team suggested for debugging.

Joe

On Jan 21, 2015, at 10:07 AM, javarminator <[email protected]mailto:[email protected]> wrote:

@kmkanagarajhttps://github.com/kmkanagaraj
The use of sudo reset the PATH, so I edited the root PATH and exported it as a normal user, it seems that the problem is solved
I am now dealing with bower troubles (I have a proxy on my station )
cheers


Reply to this email directly or view it on GitHubhttps://github.com//issues/84#issuecomment-70864889.

from calamari-clients.

ZhangZhenhua avatar ZhangZhenhua commented on July 21, 2024

Hi @javarminator @kmkanagaraj @joehandzik ,

I am running into the same issue on Centos7 now. It ends up with same error using both root and sudo. In the sudo case, I changed the secure_path to avoid PATH problem but still met exact error in the first post of this issue. Could you please shed some light on it? Thank you very much!

/root/git/calamari-clients/manage/node_modules/grunt-contrib-compass/node_modules/tmp/lib/tmp.js:261
      throw err;
            ^
    Error: ENOENT, no such file or directory 'dist/images/logo.png'
        at Object.fs.statSync (fs.js:696:18)
        at processed (/root/git/calamari-clients/manage/node_modules/grunt-contrib-imagemin/tasks/imagemin.js:84:43)
        at /root/git/calamari-clients/manage/node_modules/grunt-contrib-imagemin/tasks/imagemin.js:131:29
        at callDone (/root/git/calamari-clients/manage/node_modules/grunt/node_modules/grunt-legacy-util/index.js:159:5)
        at ChildProcess.<anonymous> (/root/git/calamari-clients/manage/node_modules/grunt/node_modules/grunt-legacy-util/index.js:198:5)
        at ChildProcess.emit (events.js:98:17)
        at maybeClose (child_process.js:766:16)
        at Socket.<anonymous> (child_process.js:979:11)
        at Socket.emit (events.js:95:17)
        at Pipe.close (net.js:466:12) Use --force to continue.

        Aborted due to warnings.

from calamari-clients.

ChristinaMeno avatar ChristinaMeno commented on July 21, 2024

@ZhangZhenhua Would you please share what steps you are taking to get here?

from calamari-clients.

ZhangZhenhua avatar ZhangZhenhua commented on July 21, 2024

@GregMeno Sure, thanks for your responding!

Here is my basic env:

[root@zhenhua-calamari-2 calamari-clients]# cat /etc/redhat-release 
CentOS Linux release 7.1.1503 (Core) 
[root@zhenhua-calamari-2 calamari-clients]# uname -a
Linux zhenhua-calamari-2.novalocal 3.10.0-229.7.2.el7.x86_64 #1 SMP Tue Jun 23 22:06:11 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

And below is the process I follow when I build calamari-clients(newly cloned, so using latest master.).

1. # yum install npm ruby rubygems ruby-devel
2. # npm install -g grunt grunt-cli bower grunt-contrib-compass
3. # gem update --system && gem install compass
4. # cd calamari-clients
5. # make build-real
6. # make dist
7. #rpmbuild ...

Actually, during my first installation, I successfully made it to step 6 and failed on step 7, sorry I didn't save the error message for it. And all following installations failed at step 5 with message below:

Running "concurrent:dist" (concurrent) task
>> Warning: There are more tasks than your concurrency limit. After this limit
>> is reached no further tasks will be run until the current tasks are
>> completed. You can adjust the limit in the concurrent task options

    Loading "connect_proxy.js" tasks...ERROR
    >> TypeError: Cannot read property 'prototype' of undefined

    Running "copy:styles" (copy) task


    Done, without errors.


    Execution Time (2015-09-21 01:37:03 UTC)
    loading tasks   7ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 39%
    copy:styles    11ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 61%
    Total 18ms
        Warning: 
    /root/git/calamari-clients/manage/node_modules/grunt-contrib-compass/node_modules/tmp/lib/tmp.js:261
      throw err;
            ^
    Error: ENOENT, no such file or directory 'dist/images/logo.png'
        at Object.fs.statSync (fs.js:696:18)
        at processed (/root/git/calamari-clients/manage/node_modules/grunt-contrib-imagemin/tasks/imagemin.js:84:43)
        at /root/git/calamari-clients/manage/node_modules/grunt-contrib-imagemin/tasks/imagemin.js:131:29
        at callDone (/root/git/calamari-clients/manage/node_modules/grunt/node_modules/grunt-legacy-util/index.js:159:5)
        at ChildProcess.<anonymous> (/root/git/calamari-clients/manage/node_modules/grunt/node_modules/grunt-legacy-util/index.js:198:5)
        at ChildProcess.emit (events.js:98:17)
        at maybeClose (child_process.js:766:16)
        at Socket.<anonymous> (child_process.js:979:11)
        at Socket.emit (events.js:95:17)
        at Pipe.close (net.js:466:12) Use --force to continue.

        Aborted due to warnings.


Execution Time (2015-09-21 01:37:01 UTC)
git-describe:git.js  58ms  ▇▇▇ 2%
concurrent:dist      3.4s  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 97%
Total 3.5s
make[1]: *** [build-stamp] Error 6
make[1]: Leaving directory `/root/git/calamari-clients/manage'
make: *** [build-ui] Error 2

Currently I am using a officially build RPM to workaround this issue. But it would be great if I can build the RPM myself. So any suggestions? Or could you please share your steps to build rpm thus I can try in my env? Thanks a lot!

from calamari-clients.

kivis-online avatar kivis-online commented on July 21, 2024

I have the same problem:

CentOS 7.2 x86_64

not root user

$ sudo env PATH=$PATH make build-real

    Warning:
/home/ceph/romana/manage/node_modules/grunt-contrib-compass/node_modules/tmp/lib/tmp.js:261
  throw err;
        ^
Error: ENOENT, no such file or directory 'dist/images/logo.png'
    at Object.fs.statSync (fs.js:696:18)
    at processed (/home/ceph/romana/manage/node_modules/grunt-contrib-imagemin/tasks/imagemin.js:84:43)
    at /home/ceph/romana/manage/node_modules/grunt-contrib-imagemin/tasks/imagemin.js:131:29
    at callDone (/home/ceph/romana/manage/node_modules/grunt/node_modules/grunt-legacy-util/index.js:159:5)
    at ChildProcess.<anonymous> (/home/ceph/romana/manage/node_modules/grunt/node_modules/grunt-legacy-util/index.js:198:5)
    at ChildProcess.emit (events.js:98:17)
    at maybeClose (child_process.js:766:16)
    at Socket.<anonymous> (child_process.js:979:11)
    at Socket.emit (events.js:95:17)
    at Pipe.close (net.js:466:12) Use --force to continue.

    Aborted due to warnings.

from calamari-clients.

zphj1987 avatar zphj1987 commented on July 21, 2024

@kivis-online @javarminator
i know this problem , it is the version of grunt-contrib-compass's problem,because the 0.5 have a bug,so you can change the package.json,and everything will ok

cd romana
change grunt-contrib-imagemin version to 0.4.1

[root@calamarimake romana]# grep "grunt-contrib-imagemin" -R *
admin/package.json: "grunt-contrib-imagemin": "~0.1.4",
dashboard/package.json: "grunt-contrib-imagemin": "0.1.4",
login/package.json: "grunt-contrib-imagemin": "~0.1.3",
manage/package.json: "grunt-contrib-imagemin": "~0.3.0",

change to :

admin/package.json: "grunt-contrib-imagemin": "0.4.1",
dashboard/package.json: "grunt-contrib-imagemin": "0.1.4",
login/package.json: "grunt-contrib-imagemin": "0.4.1",
manage/package.json: "grunt-contrib-imagemin": "0.4.1",

and continue···

from calamari-clients.

Related Issues (15)

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.