evanugarte / LAN-File-Transfer

Using React.js, C++ and MongoDB, this application allows files to be hosted and transferred over local networks.
9 stars 3 forks source link

Change MongoDB container version to 4.0 #140

Closed evanugarte closed 2 years ago

evanugarte commented 2 years ago

Using version 4.0 for MongoDB allows for compatibility with older CPUs. Running this project on an old server with version 5 I got the error

WARNING: MongoDB 5.0+ requires a CPU with AVX support, and your current system does not appear to have that!
mongo-lft          |   see https://jira.mongodb.org/browse/SERVER-54407
mongo-lft          |   see also https://www.mongodb.com/community/forums/t/mongodb-5-0-cpu-intel-g4650-compatibility/116610/2
mongo-lft          |   see also https://github.com/docker-library/mongo/issues/485#issuecomment-891991814