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

not showing collections Ubuntu 16.04, mongo 3.14.3 #229

Open
pelon888 opened this issue Feb 20, 2018 · 2 comments
Open

not showing collections Ubuntu 16.04, mongo 3.14.3 #229

pelon888 opened this issue Feb 20, 2018 · 2 comments

Comments

@pelon888
Copy link

I have tried all permutations of more recent versions of gems : mongo, bson, bson_ext.
The latest gem versions that will actually load genghisapp in the browser are
mongo 1.12.3
bson 1.12.3
bson_ext 1.9.2 (there is no 1.12.3, and 1.12.5 doesnt work)

With above config (as well as all 3 on 1.9.2) the genghis app loads in the browser, but shows "0" for collections of all databases.
How to fix?
thanks
G

@hauptDev
Copy link

hauptDev commented Aug 2, 2018

I can confirm this on Linux Mint (19 Tara - x86-64) with the versions:
bson (1.9.2)
bson_ext (1.9.2)
mongo (1.9.2)

Versions for GenghisApp:
'genghisapp' 2.3.11
rack 1.3
sinatra 1.4.8
vegas 0.1.11

I have installed mongodb in the current version (4.0.0)
The GenghisApp loads in the browser but shows "0" for collections of all databases.
You can manually add a new collection in GenghisApp for existing collections and it shows the correct amount of documents in the collection.
If you try to open the collection you get redirected to an error page.

There is no '--auth' option set on mongodb.

My browser (firefox) information shows me the following debugger information:
{"id":"test_database","name":"test_database","count":0,"collections":[],"stats":{"db":"test_database","collections":1,"views":0,"objects":2,"avgObjSize":138.0,"dataSize":276.0,"storageSize":16384.0,"numExtents":0,"indexes":1,"indexSize":16384.0,"fsUsedSize":585996488704.0,"fsTotalSize":983433551872.0,"ok":1.0}}

I also get some errors for passing empty strings to getElementById() in the script.js.

Hope that information helps.
Any tips to fix this are welcome.

@julien-c
Copy link

Maybe guys should try Mongoku, a new, more modern Web-based client for Mongo, inspired by Genghis:
https://github.com/huggingface/Mongoku

It's built on Node.js (using Typescript) and Angular.

I'd be surprised if it didn't solve your issue.

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

3 participants