Comments (7)
Please can you add the reproduction steps and the error log?
from mongo-express.
from mongo-express.
The conditions for the reenactment are simple. Just press the move button
from mongo-express.
I have same problem (my workaround is to edit the URL and add &skip=30
, so I can avoid the runAggregate=false
and 'projection=' in generated url)
These are the logs of the mongo-express docker image (I am using mongo-express:latest
from 4 days ago, a776ee465303
)
mongo-express | MongoInvalidArgumentError: Argument "pipeline" must be an array of aggregation stages
mongo-express | at Collection.aggregate (/node_modules/mongodb/lib/collection.js:368:19)
mongo-express | at exp.viewCollection (/node_modules/mongo-express/lib/routes/collection.js:167:26)
mongo-express | at Layer.handle [as handle_request] (/node_modules/express/lib/router/layer.js:95:5)
mongo-express | at next (/node_modules/express/lib/router/route.js:144:13)
mongo-express | at mongoMiddleware (/node_modules/mongo-express/lib/router.js:260:5)
mongo-express | at Layer.handle [as handle_request] (/node_modules/express/lib/router/layer.js:95:5)
mongo-express | at next (/node_modules/express/lib/router/route.js:144:13)
mongo-express | at Route.dispatch (/node_modules/express/lib/router/route.js:114:3)
mongo-express | at Layer.handle [as handle_request] (/node_modules/express/lib/router/layer.js:95:5)
mongo-express | at /node_modules/express/lib/router/index.js:284:15 {
mongo-express | [Symbol(errorLabels)]: Set(0) {}
mongo-express | }
mongo-express | GET /db/ikb/interactions?skip=10&key=&value=&type=S&query=&projection=&runAggregate=false&sort[date]=-1 302 4.284 ms - 266
from mongo-express.
The conditions for the reenactment are simple. Just press the move button
@Caffeine21 Seems that mongo-express
image insn't updated.
In master branch, current pagination component is:
I have same problem (my workaround is to edit the URL and add
&skip=30
, so I can avoid therunAggregate=false
and 'projection=' in generated url)These are the logs of the mongo-express docker image (I am using
mongo-express:latest
from 4 days ago,a776ee465303
)mongo-express | MongoInvalidArgumentError: Argument "pipeline" must be an array of aggregation stages mongo-express | at Collection.aggregate (/node_modules/mongodb/lib/collection.js:368:19) mongo-express | at exp.viewCollection (/node_modules/mongo-express/lib/routes/collection.js:167:26) mongo-express | at Layer.handle [as handle_request] (/node_modules/express/lib/router/layer.js:95:5) mongo-express | at next (/node_modules/express/lib/router/route.js:144:13) mongo-express | at mongoMiddleware (/node_modules/mongo-express/lib/router.js:260:5) mongo-express | at Layer.handle [as handle_request] (/node_modules/express/lib/router/layer.js:95:5) mongo-express | at next (/node_modules/express/lib/router/route.js:144:13) mongo-express | at Route.dispatch (/node_modules/express/lib/router/route.js:114:3) mongo-express | at Layer.handle [as handle_request] (/node_modules/express/lib/router/layer.js:95:5) mongo-express | at /node_modules/express/lib/router/index.js:284:15 { mongo-express | [Symbol(errorLabels)]: Set(0) {} mongo-express | } mongo-express | GET /db/ikb/interactions?skip=10&key=&value=&type=S&query=&projection=&runAggregate=false&sort[date]=-1 302 4.284 ms - 266
@juan-leon This issue is fixed in #944, #956 (comment), mongo-express/mongo-express-docker#102 (comment).
Try to remove mongo-express
image and then pull a new one.
from mongo-express.
Try to remove
mongo-express
image and then pull a new one.
I did that and problem is not fixed.
From docker image inspect mongo-express
I can see 2 things:
This will help you to identify the image
"Id": "sha256:a239c27c8e22fae6501db32bde19fa3133b54189cacd9f4779753234dfcc1f8d",
...
"Created": "2023-10-16T16:59:03.180212847Z",
However, despite the image being created yesterday, I can see this also
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
...
"MONGO_EXPRESS_VERSION=1.0.0"
],
I would have expected 1.0.1 or 1.0.2 (from the comments on other issues)
from mongo-express.
@juan-leon Please check this issue here in the future.
mongo-express/mongo-express-docker#104
from mongo-express.
Related Issues (20)
- BinData stored/changed incorrectly on 1.0.0-alpha.4
- mongo-express (Docker) should also start if backend is not available
- Server Status doesnโt active when enable the admin state HOT 1
- Doesn't run with latest Node version(s) HOT 7
- ME_CONFIG_MONGODB_ENABLE_ADMIN seems default to true instead of false HOT 1
- Impossible to install MongoDB (used all ways possible to do) HOT 1
- "Delete All" Button in a Collection fails HOT 10
- no express server launched to serve 8081 port queries HOT 1
- can not go to the next page (pagination) HOT 10
- The "latest" docker tag is older than the latest pushed tag [Docker Hub] HOT 1
- What's wrong with Mongo Express? HOT 2
- CSRF Vulnerability in /admin HOT 5
- BSON field 'insert.documents.0' is the wrong type 'array', expected type 'object'
- Unable to update document - MongoServerError: Performing an update on the path '_id' would modify the immutable field '_id' HOT 2
- npm install -g mongo-express error for linux arm64 HOT 1
- [UI] Collection page, pagination empty button HOT 3
- cannot open document without 'unsafe-inline' keyword specified in csp
- Latest Update 1.0.2-20 Opens Admin Panel to Anyone if using Basic Auth HOT 3
- aws HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mongo-express.