question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Issue] MongoError: file with id xxxxxxx not opened for writing

See original GitHub issue

Issue

Server Setup Information:

  • Wekan version: v1.11.0 (wekan-mongodb - Docker)
  • Operating System: Ubuntu 18.04 LTS (VM - Google Computer Engine)
  • Deployment Method(snap/docker/sandstorm/mongodb bundle/source): Docker
  • Node Version: v8.11.1
  • MongoDB Version: v3.2.20

Problem description:

  • I can not export a Board (but I can export all the other Boards).
  • If I try to export the board I get the next error:
[...]
MongoError: file with id 5b39e8d6015db60001df4796 not opened for writing
    at Function.MongoError.create (/build/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/node_modules/mongodb-core/lib/error.js:31:11)
    at /build/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/lib/gridfs/grid_store.js:979:33
    at handleCallback (/build/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/lib/utils.js:96:12)
    at /build/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/lib/collection.js:1401:5
    at handleCallback (/build/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/lib/utils.js:96:12)
    at /build/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/lib/cursor.js:675:5
    at handleCallback (/build/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:172:5)
    at setCursorNotified (/build/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:517:3)
    at /build/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:590:16
    at queryCallback (/build/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/node_modules/mongodb-core/lib/cursor.js:233:18)
    at /build/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:436:18
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickDomainCallback (internal/process/next_tick.js:218:9)

Thanks.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
GYKADSCcommented, Jul 22, 2018

Thanks for the workaround @d3dbit! Saved my board!

0reactions
xet7commented, Jan 12, 2021

There has been improvements in import/export, and more is coming.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MongoError: file with id ### not opened for writing #111 - GitHub
Need to store picture with my API using FeatherJS. I got the error MongoError: file with id ### not opened for writing. with...
Read more >
Cannot add data to MongoDB Atlas "not authorized to execute ...
The error is saying: MongoError: not authorized on admin to execute command { insert: .... This means that you are trying to insert...
Read more >
Unable to connect to Atlas cluster using "Standard ... - MongoDB
I am trying to connect to my Atlas cluster using “Standard Connection String” format. mongo "mongodb://xxx:xxx@xxx-shard-00-02.m32cu.mongodb.net ...
Read more >
MongoDB | Databricks on AWS
MongoDB is a document database that stores data in flexible, JSON-like documents. The following notebook shows you how to read and write data...
Read more >
Provision Grafana | Grafana documentation
If the data source already exists, Grafana reconfigures it to match the provisioned configuration file. The configuration file can also list data sources...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found