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

[Debian 10] MongoDB not installable due to missing packages [for Sugarizer] #1437

Open
arky opened this issue Jan 31, 2019 · 18 comments

Comments

@arky
Copy link
Contributor

commented Jan 31, 2019

There is no package named 'mongodb' on Debian 10. More work needs to be done to enable mongodb service on Debian 10.

Refer: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-debian/

@holta holta added this to the 7.0 milestone Jan 31, 2019

@holta holta changed the title [Debian10] Mongodb uninstallable due to missing packages [Debian 10] MongoDB not installable due to missing packages Jan 31, 2019

@holta

This comment has been minimized.

Copy link
Member

commented Feb 1, 2019

Ref: #1387 #1449

@deldesir

This comment has been minimized.

Copy link

commented Feb 8, 2019

mongodb package exists now on Debian 10 @arky.

@holta

This comment has been minimized.

Copy link
Member

commented Feb 8, 2019

mongodb package exists now on Debian 10 @arky.

Do you have a link? What version of MongoDB is currently being offered?

@holta

This comment has been minimized.

Copy link
Member

commented Feb 8, 2019

@holta

This comment has been minimized.

Copy link
Member

commented Feb 23, 2019

This appears to be MongoDB 3.4.18 for now, and might even work on RPi potentially ?

https://packages.debian.org/source/buster/mongodb
https://packages.debian.org/buster/mongodb
https://packages.debian.org/buster/mongodb-server

Once again MongoDB was removed from Debian 10 "Buster" — the links above no longer work.

Also note Red Hat announced last week that it is removing MongoDB from RHEL 8.

@llaske is there an idea how Sugarizer will navigate this?

@llaske

This comment has been minimized.

Copy link

commented Feb 23, 2019

@holta If MongoDB is no longer include as a Debian package, it's still possible to install it by hand.
On our side we're using a Docker container to avoid deployment issues.
See a schema of the architecture here: https://github.com/llaske/sugarizer-server/blob/dev/docs/architecture.md

@floydianslips

This comment has been minimized.

Copy link

commented Mar 18, 2019

Mongo is still not available on Debian 10. Are there any suggestions on how to move forward? It would appear it is not coming back.

@holta

This comment has been minimized.

Copy link
Member

commented Mar 19, 2019

Mongo is still not available on Debian 10. Are there any suggestions on how to move forward? It would appear it is not coming back.

Let's discuss during Thursday's call (http://minutes.iiab.io).

RHEL and therefore CentOS are also dropping MongoDB so we have a bigger dilemma growing here e.g. if Ubuntu drops it too?

(We may need a few months to understand what long-term strategy makes most sense?)

@floydianslips

This comment has been minimized.

Copy link

commented Mar 19, 2019

@holta

This comment has been minimized.

Copy link
Member

commented Mar 22, 2019

If Sugarizer doesn't require a document based db perhaps it can be made to use the postgres DB that we already have.

@tim-moody found these links which suggest similar:

https://www.simform.com/mongodb-vs-mysql-databases/

https://www.theguardian.com/info/2018/nov/30/bye-bye-mongo-hello-postgres

“But postgres isn’t a document store!” I hear you cry. Well, no, it isn’t, but it does have a JSONB column type, with support for indexes on fields within the JSON blob

@llaske

This comment has been minimized.

Copy link

commented Mar 24, 2019

Sugarizer require MongoDB because it store, explore and update JSON content coming from client. It will be a huge work to move to PostgresSQL.

@holta

This comment has been minimized.

Copy link
Member

commented May 10, 2019

Seems we can defer decisionmaking here until Q3 2019, for IIAB 7.1

(I'm assuming Debian 10 will be released after IIAB 7.0...but then again I could be entirely wrong...which would force our hand here!)

@holta

This comment has been minimized.

Copy link
Member

commented May 19, 2019

@llaske mentions that MongoDB might be compiled from source (e.g. on Debian 10 Buster and other distros?) using these instructions: #1449 (comment)

@holta

This comment has been minimized.

Copy link
Member

commented Jul 3, 2019

@tarunsinghal92 and @NikhilM98 do you have ideas/recommendations towards getting MongoDB running on Debian 10 — whose final release is this coming Saturday 2019-07-06 — so that Sugarizer can run on this mainstream Linux distro used by Internet-in-a-Box?

@llaske had earlier suggested avoiding PostgreSQL, and perhaps compiling MongoDB from source?

Or are there other approaches you recommend, possibly by installing .deb's from https://docs.mongodb.com/manual/tutorial/install-mongodb-on-debian/ or similar?

@holta holta changed the title [Debian 10] MongoDB not installable due to missing packages [Debian 10] MongoDB not installable due to missing packages [for Sugarizer] Jul 4, 2019

@holta

This comment has been minimized.

Copy link
Member

commented Jul 4, 2019

CC'ing @georgejhunt who observed this same dilemma (#1814) that we're all officially facing, starting Saturday, when Debian 10 Buster is released:

https://www.phoronix.com/scan.php?page=news_item&px=Debian-Installer-Buster-RC3

@llaske

This comment has been minimized.

Copy link

commented Jul 8, 2019

@NikhilM98 tried to compile MongoDB from source but without success. Take too long time and resource.
We've tried alternate method like this one but without success. As mentioned in comments, it seems that MongoDB use a library deprecated in Debian 10 (libcurl3). So an update is required in MongoDB source code to support Debian 10.
I think we've no choice to wait for an official MongoDB for Debian 10 package which should be available here soon: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-debian/
In the mean time the only possibility to host Sugarizer on Debian 10 is to use it from a Docker container or using the no server mode.

@holta

This comment has been minimized.

Copy link
Member

commented Jul 8, 2019

@NikhilM98 tried [several ways]

Profound Thanks to @NikhilM98 & @llaske who's "paying his salary" ;-)

Please keep us updated if progress is hopefully possible later this summer !

@holta

This comment has been minimized.

Copy link
Member

commented Jul 8, 2019

Am deferring this tough issue to the IIAB 7.1 Milestone, so we can get IIAB 7.0 out the door i.e. released in coming days hopefully!

Ref PRs #1850 #1852

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.