[SERVER-18329] Add Debian 8 (Jessie) builds and associated package repository Created: 05/May/15 Updated: 23/Nov/16 Resolved: 11/Feb/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Packaging |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.13, 3.2.8, 3.3.2 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Marco Franssen | Assignee: | Sam Kleinman (Inactive) |
| Resolution: | Done | Votes: | 20 |
| Labels: | code-and-test | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||
| Backport Completed: | |||||||||||||||||||||||||||||
| Sprint: | Build 10 (02/19/16) | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Description |
|
Please add a repository for debian jessie over here. Debian jessie is the current stable debian release which most people start using. Everyone who upgrades from wheezy will have issues with mongodb install. http://repo.mongodb.org/apt/debian/dists/ I tried using the wheezy repository on jessie but that one does not get the mongodb-org package on jessie. |
| Comments |
| Comment by Githook User [ 13/Jun/16 ] | ||||||||||||
|
Author: {u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}Message: | ||||||||||||
| Comment by Githook User [ 13/Jun/16 ] | ||||||||||||
|
Author: {u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}Message: (cherry picked from commit 5495e297c683a92da95cd6a6420dde99ad751df7) | ||||||||||||
| Comment by Githook User [ 13/Jun/16 ] | ||||||||||||
|
Author: {u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}Message: (cherry picked from commit 6f01e1c7555e39e3618953c3fc0a5c5c216be09b) | ||||||||||||
| Comment by Ramon Fernandez Marina [ 09/Jun/16 ] | ||||||||||||
|
zajca, unfortunately we're unable to provide Debian 8 packages for 2.6 at this time. You may want to explore other options, like using tarballs and/or mongodump/mongorestore. If you need assistance on that front please post on mongodb-user group. Thanks, | ||||||||||||
| Comment by Martin Zajic [ 01/Mar/16 ] | ||||||||||||
|
Ramon Fernandez, my comment is related to this issue, documentation which you references is for debian 7 not debian 8 which is discussed here. I suggest backport 2.6 to allow user switch from official 2.4 version | ||||||||||||
| Comment by Ramon Fernandez Marina [ 01/Mar/16 ] | ||||||||||||
|
zajca, please note you first need to upgrade to 2.6, where the package names are different. Note also that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag, where your question will reach a larger audience. A question like this involving more discussion would be best posted on the mongodb-user group. See also our Technical Support page for additional support resources. Regards, | ||||||||||||
| Comment by Martin Zajic [ 29/Feb/16 ] | ||||||||||||
|
Hi guys, | ||||||||||||
| Comment by Ernie Hershey [ 12/Feb/16 ] | ||||||||||||
|
A github user asked if we can include BOTH the systemd service and sysvinit file.
Also - I downloaded nightly enterprise packages and did a quick smoke test of installing/starting/stopping/uninstalling from this evergreen compile and everything looks ok. | ||||||||||||
| Comment by Githook User [ 11/Feb/16 ] | ||||||||||||
|
Author: {u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}Message: | ||||||||||||
| Comment by Githook User [ 09/Feb/16 ] | ||||||||||||
|
Author: {u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}Message: | ||||||||||||
| Comment by Chad Kreimendahl [ 18/Jan/16 ] | ||||||||||||
|
I would submit this mongod.service file via github, but I figure that does nothing to get it into the jessie package (which doesn't yet exist). Given that Jessie is now the current stable release, it would be great to get this in 3.2. I think the change below is rather quick and easy. I don't know that this is any better, but it's what I'm going to use for the time being. It doesn't do all the ulimit stuff and numactl checking that you get with the init.d script, but it fits for now. This is a cut/paste from your RPM mongod.service file, presumably for your systemd RedHat implementations. I assume you could just rewrite your install script for jessie to update-rc.d mongod install this... and it'd be rather quick. It's a rip of your code, but with the locations used on Debian vs RedHat:
| ||||||||||||
| Comment by Ernie Hershey [ 14/Jan/16 ] | ||||||||||||
|
I'm sorry I don't have a lot more detail to share. We've done additional testing and started planning necessary internal infrastructure. | ||||||||||||
| Comment by Chad Kreimendahl [ 14/Jan/16 ] | ||||||||||||
|
Any update, Ernie? | ||||||||||||
| Comment by Alex [ 07/Dec/15 ] | ||||||||||||
|
+1 a native Jessie package integrated with systemd would be very welcome | ||||||||||||
| Comment by Tom Dworzanski [ 23/Oct/15 ] | ||||||||||||
|
I can confirm the Wheezy (Debian 7) repo seems fine for me as well on Jessie (Debian 8) based on the current instructions. Based on my initial tests, systemd seems to be compatible with the init script /etc/init.d/mongod provided by the Wheezy package. When this issue was created, the MongoDB repo instructions would not work because they used $(lsb_release -sc) to fill in the package source information. Since there was no Jessie package, filling in jessie would break the instructions as there is a package at repo.mongodb.com/.../wheezy, but not at repo.mongodb.com/.../jessie (yet). Ironically, when someone on the MongoDB team updated the code to explicitly specify wheezy, the instructions worked again. Of course this isn't a good solution as using a package built for a previous version of Debian could have issues that are not obvious. The good news, though, is that it does not seem like much different to generate an official MongoDB Jessie package. The toughest part might be the systemd script. You'd think the official Debian repo would have a good systemd script for the Debian MongoDB package, but this is all it offers (for MongoDB version 2.4):
That's obviously incomplete. I'll probably put something better together over the next week or two as I learn to administer MongoDB and contribute it as a suggestion. The init script could also be used, I guess, if taking on systemd is too much right now or if you guys are part of the (futile) resistance to systemd | ||||||||||||
| Comment by Ernie Hershey [ 21/Oct/15 ] | ||||||||||||
|
Hi - Thanks a lot for the feedback on interest in Debian Jessie. We've done some preliminary testing on it and will post here when we have more progress to report. | ||||||||||||
| Comment by Christiano Anderson [ 11/Oct/15 ] | ||||||||||||
|
Using Debian 7 (Wheezy) repository works fine, but it doesn't use the new default init system (Systemd). Since Debian 8 is the new stable distribution, it would be nice to provide native Debian 8 MongoDB packages. | ||||||||||||
| Comment by Derick Rethans [ 28/May/15 ] | ||||||||||||
|
The instructions at: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian/?_ga=1.188287976.1943177576.1336128512#install-mongodb won't work on jessie or sid either, as there is no corresponding repository at http://repo.mongodb.org/apt/debian/dists/ As they run fine, perhaps just add a symlink for them? | ||||||||||||
| Comment by Roman [ 12/May/15 ] | ||||||||||||
|
using wheezy repository, setting default locale (en_US.UTF-8) and installing the mongodb-org-server first solved my problem: echo "deb http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.0 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list I hope it helps someone. |