-
-
Notifications
You must be signed in to change notification settings - Fork 703
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
is open5gs-dbctl works whit Mongo v6 ? #2061
Comments
Hi, I' trying to adapt the code to the new version mongo, I attach a script It works to insert if a subscriber doesn't exist. But if you check the structure of it in mongo :
If I use insertOne mongo structure looks like when I add a subscriber by the webui:
I have this script with inserOne :
I'm not tested connecting a subscriber, so the question is doesn't matter the mongo structure to connect subscribers? why do you use update instead of insert? I think if somebody try to insert a subscriber but if this isn't exist the script will add, is for that? |
I modified the open5gs-dbctl script |
I have the same issue, any update about this appreciated ::) |
Hi Rodrigo, I fix it and its in the official repositories |
Thanks @infercom2 on the update. I think it will be helpful to have open5gs-dbctl installed when we install open5gs e.g., when we run |
@infercom2 can we use this script for insert the multi subsciber in open5gs |
Hi, I was using open5gs-dbctl with mongo v4 but when open5gs update to use mongo v6, to interact with mongo by the shell now we need to use mongosh, and the architecture of open5gs db subscriber changed.
Mongo4:
Mongo6:
https://github.com/open5gs/open5gs/blob/main/misc/db/open5gs-dbctl
The text was updated successfully, but these errors were encountered: