You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deployment: Docker using ghcr.io/ferretdb/ferretdb:v1.21.0 image
Deployment details: Docker version 26.0.1,
What did you do?
I exported source data from mongodb and stored as *.json。 I was tring to use mongoimport tool import *.json to postgresql through FerretDB , but mongoimport tool give me an error with "Failed: error connecting to db server: EOF", at the same time , FerretDB shows an error。
The import command is :
./tools/mongoimport --mode=upsert --uri="mongodb://polaruser:123456789@172.16.0.183:27017/teambition?authMechanism=PLAIN" --collection=projects /root/offline/teambition/database-bak/database/mongodump-json/teambition/projects.json
What did you expect to see?
use mongoimport/mongorestore tool to restore source data successfully
The text was updated successfully, but these errors were encountered:
peintune
added
code/bug
Some user-visible feature works incorrectly
not ready
Issues that are not ready to be worked on; PRs that should skip CI
labels
May 17, 2024
FerretDB version
Starting FerretDB v1.21.0... {"version": "v1.21.0", "commit": "a3fb274d25bac13aea594ec34d603338bc00bfc3", "branch": "unknown", "dirty": true, "package": "docker", "debugBuild": false, "buildEnvironment": {"-buildmode":"exe","-compiler":"gc","CGO_ENABLED":"0","GOAMD64":"v1","GOARCH":"amd64","GOOS":"linux","go.version":"go1.22.1","vcs":"git","vcs.time":"2024-03-20T06:51:32Z"}, "uuid": "9e87c620-5030-4eae-ae5f-72513027d594"}
Backend
PostgreSQL : 14
Environment
What did you do?
I exported source data from mongodb and stored as *.json。 I was tring to use mongoimport tool import *.json to postgresql through FerretDB , but mongoimport tool give me an error with "Failed: error connecting to db server: EOF", at the same time , FerretDB shows an error。
The import command is :
./tools/mongoimport --mode=upsert --uri="mongodb://polaruser:123456789@172.16.0.183:27017/teambition?authMechanism=PLAIN" --collection=projects /root/offline/teambition/database-bak/database/mongodump-json/teambition/projects.json
What did you expect to see?
use mongoimport/mongorestore tool to restore source data successfully
What did you see instead?
mongoimport log:
[root@iZuf6hcv5xn2rlf0fj1dhdZ offline]# ./tools/mongoimport --mode=upsert --uri="mongodb://polaruser:123456789@172.16.0.183:27017/teambition?authMechanism=PLAIN" --collection=projects /root/offline/teambition/database-bak/database/mongodump-json/teambition/projects.json
2024-05-17T15:20:20.551+0800 Failed: error connecting to db server: EOF
2024-05-17T15:20:20.551+0800 imported 0 documents
FerretDB log:
github.com/FerretDB/FerretDB/internal/clientconn.(*conn).logResponse
/src/internal/clientconn/conn.go:616
github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run
/src/internal/clientconn/conn.go:317
github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop.func1
/src/internal/clientconn/listener.go:305
2024-05-17T07:20:20.551Z DPANIC // 172.16.64.1:33464 -> 192.168.16.3:27017 clientconn/conn.go:170 no response to send to client
(err = )
github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run.func3
/src/internal/clientconn/conn.go:170
runtime.gopanic
/usr/local/go/src/runtime/panic.go:770
github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run
/src/internal/clientconn/conn.go:376
github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop.func1
/src/internal/clientconn/listener.go:305
2024-05-17T07:20:20.551Z WARN listener clientconn/listener.go:310 Connection stopped {"conn": "172.16.64.1:33464 -> 192.168.16.3:27017", "error": "panic"}
The text was updated successfully, but these errors were encountered: