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

RocketChat.Info is not available on local dev build #1618

Closed
flourishing opened this issue Dec 10, 2015 · 5 comments
Closed

RocketChat.Info is not available on local dev build #1618

flourishing opened this issue Dec 10, 2015 · 5 comments

Comments

@flourishing
Copy link

same branch ,same code . when i run meteor int the directory, Chrome client console can run RocketChat.Info and shows the version , but if i build it ,start the service by pm2 , doesn't show RocketChat.Info, which lead the rocket chat. codova can't works always report my rocket chat version is too old.
1
2
3

@flourishing flourishing changed the title RocketChat.Info dispear RocketChat.Info disappear Dec 10, 2015
@Sing-Li Sing-Li changed the title RocketChat.Info disappear RocketChat.Info is not available on dev build Dec 10, 2015
@Sing-Li Sing-Li changed the title RocketChat.Info is not available on dev build RocketChat.Info is not available on local dev build Dec 10, 2015
@Sing-Li
Copy link
Member

Sing-Li commented Dec 10, 2015

@flourishing Deploy your server via our binary tgz to bypass the problem... https://github.com/RocketChat/Rocket.Chat/wiki/Deploy-Rocket.Chat-without-docker

@engelgabriel
Copy link
Member

Are you 100% sure that you are pointing pm2 to the right bundle folder?
Can you try RocketChatInfo all together on the console? (that's the old variable)
What command parameters are you using for the meteor build?

@flourishing
Copy link
Author

ROOTPATH=/var/www/fans12306_2

cd $ROOTPATH
meteor build --server "$HOST" --directory $ROOTPATH

cd $ROOTPATH/bundle/programs/server
npm install

....

2015-12-10 11 03 17
2015-12-10 11 03 41

@engelgabriel
Copy link
Member

do you use a pm2 json file?

@flourishing
Copy link
Author

thanks for engelgabriel's help.
on my laptop it's working , server ,not ok.
delete all the file,re clone the code, and build it again , after update all packages, now it works .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants