@ali.moiaei don't know the reason but a clean build solved it maybe hash issue
Search Criteria
Package Details: mongodb-bin 8.2.7-2
Package Actions
| Git Clone URL: | https://aur.archlinux.org/mongodb-bin.git (read-only, click to copy) |
|---|---|
| Package Base: | mongodb-bin |
| Description: | A high-performance, open source, schema-free document-oriented database |
| Upstream URL: | https://www.mongodb.com/ |
| Keywords: | database document-oriented mongo mongod mongodb mongos |
| Licenses: | SSPL-1.0 |
| Conflicts: | mongodb, mongodb-shell-bin |
| Provides: | mongodb |
| Submitter: | ali.molaei |
| Maintainer: | ali.molaei (rafaelff) |
| Last Packager: | ali.molaei |
| Votes: | 95 |
| Popularity: | 0.008264 |
| First Submitted: | 2019-01-28 09:01 (UTC) |
| Last Updated: | 2026-04-17 13:54 (UTC) |
Dependencies (5)
- curl (curl-gitAUR, curl-c-aresAUR)
- mongosh-binAUR (mongosh-gitAUR)
- openssl (openssl-gitAUR, openssl-staticAUR, openssl-aegisAUR)
- chrpath (chrpath-gitAUR) (make)
- mongodb-toolsAUR (percona-server-mongodb-binAUR, mongodb36-binAUR, mongodb-tools-gitAUR, mongodb-tools-binAUR) (optional) – The MongoDB tools provide import, export, and diagnostic capabilities.
Required by (18)
- adminer (requires mongodb) (optional)
- alerta (requires mongodb) (optional)
- cronsun-bin (requires mongodb)
- flyenv-bin (requires mongodb) (optional)
- flyenv-git (requires mongodb) (optional)
- grasscutter-git (requires mongodb) (optional)
- graylog (optional)
- icalingua++ (optional)
- icalingua++-electron-git (requires mongodb) (optional)
- icalingua++-git (requires mongodb) (optional)
- librechat (requires mongodb) (optional)
- nodejs-generator-scalatra (requires mongodb) (optional)
- nodejs-wildduck
- omada-controller (requires mongodb)
- omada-controller-rxy (requires mongodb)
- pritunl-git (requires mongodb) (optional)
- pump.io (requires mongodb) (optional)
- python-ivre (requires mongodb) (optional)
Sources (7)
Bishwajit commented on 2026-04-24 08:42 (UTC)
ali.molaei commented on 2026-04-19 08:21 (UTC)
@Bishwajit I redownloaded and rechecked the hashes, its OK for me, try a clean build and see if the issue persist or not, thanks
Bishwajit commented on 2026-04-18 04:36 (UTC)
Aur (1) mongodb-bin-8.2.7-2
:: Proceed to review? [Y/n]:
:: Downloading PKGBUILDs... PKGBUILDs up to date nothing new to review fetching devel info... ==> Making package: mongodb-bin 8.2.7-2 (Sat 18 Apr 2026 10:34:25 AM +06) ==> Retrieving sources... -> Found mongodb.sysusers -> Found mongodb.tmpfiles -> Found LICENSE -> Found mongodb-org-server_8.2.7_x86_64.deb -> Found mongodb-org-mongos_8.2.7_x86_64.deb ==> Validating source files with sha256sums... mongodb.sysusers ... Passed mongodb.tmpfiles ... Passed LICENSE ... Passed ==> Validating source_x86_64 files with sha256sums... mongodb-org-server_8.2.7_x86_64.deb ... FAILED mongodb-org-mongos_8.2.7_x86_64.deb ... FAILED ==> ERROR: One or more files did not pass the validity check! error: failed to download sources for 'mongodb-bin-8.2.7-2': error: packages failed to build: mongodb-bin-8.2.7-2
trinaldi commented on 2026-04-17 22:24 (UTC)
I ran a makepkg -g to get the keys. Working as intended.
dalu commented on 2026-04-17 05:34 (UTC)
==> Making package: mongodb-bin 8.2.7-1 (Fri 17 Apr 2026 07:32:28 AM CEST)
==> Retrieving sources...
-> Found mongodb.sysusers
-> Found mongodb.tmpfiles
-> Found LICENSE
-> Found mongodb-org-server_8.2.7_x86_64.deb
-> Found mongodb-org-mongos_8.2.7_x86_64.deb
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
mongodb.sysusers ... Passed
mongodb.tmpfiles ... Passed
LICENSE ... Passed
==> Validating source_x86_64 files with sha256sums...
mongodb-org-server_8.2.7_x86_64.deb ... FAILED
mongodb-org-mongos_8.2.7_x86_64.deb ... FAILED
==> ERROR: One or more files did not pass the validity check!
openworldbtw43 commented on 2026-03-24 20:53 (UTC)
system: 6.19.9-arch1-1 mongodb: v8.2.5
Issue(Core dumped): mongodb-bin package ships a systemd service file with the flag GLIBC_TUNABLES=glibc.pthread.rseq=0, which disables restartable sequences in glibc. but tcmalloc (Ubuntu compiled) bundled inside mongod requires rseq to work correctly — without it, memory gets corrupted after ~1 minute, causing the SEGV crash.
Solution: Override service file system {sudo systemctl edit mongodb} with {Environment="GLIBC_TUNABLES="}, this simply replace this line Environment="GLIBC_TUNABLES=glibc.pthread.rseq=0"
this worked for me
paco3346 commented on 2026-03-20 13:58 (UTC) (edited on 2026-04-17 16:37 (UTC) by paco3346)
I've tried all combinations of settings, including enabling THP to no avail. I've had to roll back to 6.18 for now.
My mongo had crashed so many times my WiredTiger files were corrupted. A repair did the trick. I am employing the method that @openworldbtw43 mentions above.
sudo -u mongodb /usr/bin/mongod --config /etc/mongodb.conf --repair
Here's the most upstream issue: https://github.com/google/tcmalloc/issues/292 (it was determined that the issue is actually in tmalloc, not the kernel)
ASPIRIN commented on 2026-03-12 07:56 (UTC)
If you're experiencing MongoDB crashes on version 8.2.5-1 with recent kernels like 6.19.6, try this fix:
Edit /usr/lib/systemd/system/mongodb.service Change: Environment="GLIBC_TUNABLES=glibc.pthread.rseq=0" from 0 to 1
sudo systemctl daemon-reload sudo systemctl restart mongodb This enables restartable sequences support, which should resolve stability issues on modern Linux kernels.
ChrisTX commented on 2026-03-12 00:47 (UTC)
For reference, the issue with MongoDB atm is due to its use of tcmalloc, and is currently being looked at in this bug for the linux package.
RoKoInfo commented on 2026-03-10 17:31 (UTC)
@csatsias Thanks. My current combination mongodb-bin-8.2.5-1 and linux-6.19.6-arch1-1 is also healed by overriding the mentioned env.
Pinned Comments
ali.molaei commented on 2025-10-24 19:22 (UTC) (edited on 2025-10-24 19:25 (UTC) by ali.molaei)
8.2 is a major update so you either have to update your database Upgrade 8.0 to 8.2 or use mongodb80-bin
ali.molaei commented on 2021-07-28 14:29 (UTC) (edited on 2024-11-02 19:21 (UTC) by ali.molaei)
If you get core dumps on version 5 or above, read this: https://jira.mongodb.org/browse/SERVER-58648