A Strapi plugin for storing and serving uploaded files directly in MongoDB using GridFS. Version 3.1.6 supports Strapi v3 (no v4 compatibility). Low maintenance; simple alternative to Strapi's default file plugin when using MongoDB as the only datastore.
npm install strapi-plugin-mongodb-filesNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configures the Strapi MongoDB files plugin with a custom bucket, collection, size limit, and ACL.
Use Strapi v3 or switch to a v4-compatible file provider (e.g., @strapi/provider-upload-local).
Consider migrating to Strapi's built-in upload provider or an actively maintained alternative.
Always upload and retrieve files via Strapi's API (e.g., /upload).
Implement a cleanup job to remove orphaned chunks or use Strapi's built-in delete with proper error handling.
Ensure the MongoDB user has write access to create collections; plugin doesn't auto-create on first use.
npm install strapi-plugin-mongodb-files && verify ./config/plugins.js has correct resolve path.
Use module.exports with require() instead of import/export.
Use a bucket name without dots (e.g., 'uploads').