-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
tutorial is broken: Host not enough!
#5659
Comments
Dear @dcsan , Sorry for the bad first impression, it seems you deployed a cluster in the first run!👍🏻 ADD HOSTS is an action to activate storaged hosts, while the service need some time to be fully up if they were not activated for a while. Could you please query |
Actually, the easiest way to quickly get started from on the server side(rather than the docker extension on the desktop) should be with Docker-Compose, see here, which ideally should cover the We'll improve the docs! Thanks again~~ |
so the quickstart using a docker extension is NOT expected to work? the docker verison says:
But if even the most basic quickstart has these type of bugs... 😅
so then the connection string for with python would be... ? |
Sorry didn't mean that and docker extension is supposed to work! With only one click if we are on the docker desktop like here. For the initial desktop playing it's the most recommended way :). I thought you are on a server(as you started with a cluster in the issue), thus recommending the docker-compose way(instead of the extension way), with docker-compose, everything should be up and running after For the
Sorry for this, also it's more than welcome to help improve our docs if you would like to, either to click the pencil from the corresponding page or via https://github.com/vesoft-inc/nebula-docs.
I would recommend https://github.com/wey-gu/ipython-ngql if you are try it the first time for playing NebulaGraph with python. For application layers, use https://github.com/vesoft-inc/nebula-python |
hiya - no I'm on a mac desktop for development. I installed the docker extension, opened a browser to login to the DB, it's all running. But I cannot write any data - see the error above.
I'm on a mac with M2 chip - is that supported? there were some docker problems a year ago but mostly working now. I could try the whole dockerfile approach but I'm not running this server side now. so this 'offline' status means it wasn't able to start... something? where can i find logs to diagnose? |
where can i find these logs? |
And if we already have docker compose based cluster running it'll impact the extension based service, we should remove one to enable the other to work. Apple chip should work( we are Mac users too)😊 |
No, the top terminal screenshot was the terminal inside the docker extension. I haven't tried the dockercompose method yet. I uninstalled the extension so I guess i can try via the dc up method. thanks for all your help! will try later. |
OK, if it's inside the docker extension, it should be done without needing of manually add hosts, as I implemented this via the extension itself, maybe something is wrong. On docker desktop, extension is the recommended way to go. Could you do via the get started inside the docker extension window?(when dc is confirmed to be stopped) It guided how to add hosts although, too. |
Hi, I have noticed that the issue you created hasn’t been updated for nearly a month, so I have to close it for now. If you have any new updates, you are welcome to reopen this issue anytime. Thanks a lot for your contribution anyway 😊 |
going through the quickstart i have the DB running as a docker extension and have logged in.
https://docs.nebula-graph.io/3.5.0/2.quick-start/1.quick-start-workflow/
CREATE SPACE bverse(partition_num=10, replica_factor=1, vid_type=fixed_string(30));
gives the error
Host not enough
tried reducing partitions, no luck
digging around i found something about setting up hosts
ADD HOSTS 192.168.10.100:9779, 192.168.10.101:9779, 192.168.10.102:9779;
which runs OK...
but
CREATE SPACE
still fails.is there a getting started that actually works? this isn't very reassuring.
The text was updated successfully, but these errors were encountered: