Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

build fails when I build the source code #806

Open
yihichan opened this issue Nov 3, 2020 · 6 comments
Open

build fails when I build the source code #806

yihichan opened this issue Nov 3, 2020 · 6 comments

Comments

@yihichan
Copy link

yihichan commented Nov 3, 2020

⚠️ Before posting a new issue, please make sure that your issue hasn't already been resolved in another issue.

Describe the bug
A clear and concise description of what the bug is.
when I build the botfront source code ,there were some problems ,and the command is "meteor npm run start:docker-compose.dev"

image

To Reproduce
Steps to reproduce the behavior:

I installed it entirely according to official instructions, and It went well until the last command.
image

So,what happened and what should I do? please!

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@pheel
Copy link
Contributor

pheel commented Nov 3, 2020

@yihichan Could you provide the logs at ~/.npm/_logs/2020-11-03.....log?

@yihichan
Copy link
Author

yihichan commented Nov 3, 2020

yes , there seems to be something wrong with the mongo,but the mongo in docker is running well and can access mongo database @pheel

2020-11-03T07_33_43_391Z-debug.log

@znat
Copy link
Contributor

znat commented Nov 3, 2020

I think Meteor just doesn't allow to run as root, unless you set the env variable or use --allow-superuser option

@yihichan
Copy link
Author

yihichan commented Nov 4, 2020

@znat yes, great ! it work! I used command "meteor npm run start:docker-compose.dev --allow-superuser" , and it doesn't work, but I try to change the command as "meteor --allow-superuser npm run start:docker-compose.dev" , it work ! Thank you ever so much!
But
another problem is comming
image

I have edit the botfront.yml file, and change the root_url to the machine IP address and 8888 ,5005,5055,8000,27017,8080,3000 port is set to the public,, and I can access all the url in this project but "http://101.32.184.76:3000/project/bf/dialogue"

@MatthieuJnon
Copy link
Contributor

Are you specifying the port too in your ROOT_URL variable ? what are you setting it as ?

@yihichan
Copy link
Author

yihichan commented Nov 5, 2020

Yes ,I set ROOT_URL in botfront.yml , as follows :
"env:
bf_project_id: bf
bf_url: 'http://botfront:3000/graphql'
root_url: 'http://101.32.184.76:8888'
augmentation_factor: 50
mongo_url: 'mongodb://mongo:27017/bf'
version: 0.27.3
"
This file exists in both the project and the source code , I set both

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

No branches or pull requests

4 participants