New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MongoDB Atlas (was: Wekan 3.86 et mongodb 4.2.3 replicaset doesn't work) #2977
Comments
That's interesting, I have not yet tried Wekan on Atlas. I'll look at it. |
I found a solution for the image upload/download with mongodb.
Now uploading/downloading an image seems to work. Regards. |
Hi ! I am trying to connect my wekan app to mongoDB atlas and I still have a similar issue :
That's what I put in my docker-compose : Using the latest version of wekan 4.53 and mongo version 4.2.10 Where are we on this problem ? Thank you for your work ! |
That meanware/gridfs is old fork of gridfs. Current plans are to change from current Wekan cfs to ostrio:files #3273 https://github.com/veliovgroup/Meteor-Files . Although I don't know does ostrio:files work with MongoDB Atlas - if not, maybe that MongoDB Atlas specific changes could be sent as pull request to ostrio:files. Well, "soon" depends on definition of soon:
(Psst, I have crazy secret plan to change from MongoDB to other databases #787 , but all those urgent feature and bugfix requests asking "when this and that will be ready" for current Wekan disturb a little) |
Atlas is mentioned here:
Could someone test does Atlas work? |
Hello, this seems to be an issue I'm hitting currently. Im having this kind of connection string
From what I could figure out searching, its probably this: https://stackoverflow.com/a/56766466
I am not using Atlas, just the plain dns seedlist connection string as described here: https://www.mongodb.com/docs/v5.2/reference/connection-string/#dns-seed-list-connection-format So is this related or doest it come from somwhere else? |
What version of MongoDB are you using? |
Having mongodb 5.x here
Lauri Ojansivu ***@***.***> schrieb am Mo. 9. Jan. 2023 um
15:54:
… @Nightreaver <https://github.com/Nightreaver>
What version of MongoDB are you using?
—
Reply to this email directly, view it on GitHub
<#2977 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAY6MDBHVBSJ2EAUKJOI76DWRQRDBANCNFSM4LWROXPA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
What version of WeKan? Is it Docker/Snap/Bundle/other? |
Sorry for lack of information …
Wekan Docker in Kubernetes v6.67. with the helm chart we edited before
new-year
Lauri Ojansivu ***@***.***> schrieb am Mo. 9. Jan. 2023 um
16:02:
… @Nightreaver <https://github.com/Nightreaver>
What version of WeKan? Is it Docker/Snap/Bundle/other?
—
Reply to this email directly, view it on GitHub
<#2977 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAY6MDDVXQEZECMFEGHUDXLWRQSBNANCNFSM4LWROXPA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Ok. I'm In Progress of releasing WeKan v6.69, you can then test does it work better. |
In that new version, I'm testing does it help that I removed older MongoDB Node.js driver from package.json 17a06ad , because Meteor also has dependency to newer version of driver at https://github.com/meteor/meteor/blob/master/packages/npm-mongo/package.js Newest WeKan currently uses MongoDB 6.x, versions are listed at https://wekan.github.io Download section, I'm looking are there any errors with using it. |
Please try WeKan v6.69 with Helm Chart version 1.1.6 and MongoDB 6.0.3: |
Hello, I tried the 6.69 / 1.1.6 without success, the same error came up. I cannot test with mongodb 6.x as our IT only provides 5.x atm |
Try 6.72 / 1.1.9 with MongoDB 5.x. |
I've tested with v6.74 now and still getting |
When adding MongoDB:
|
Issue
I have tried last version of Wekan with Mongodb replicaset 4.2.3 (mongodb Atlas).
MONGO_URL: mongodb://mongodb-atlas:xxxxxx@host1:27017,host2:27017,host3:27017/wekan-prod?ssl=true&replicaSet=wekan-replicaset&authSource=admin&retryWrites=true&w=majority
Wekan never connect to mongodb saying member of replicaset can't be found
Searching solution on google I found this post : https://github.com/meanware/gridfs
So I replace meteor gridfs default module (cfs:gridfs) by this one (meanware/gridf) and it WORKS !
For the moment, I found only one issue, I can't upload image into mongodb but this problem is blocking for us ...
Error : Cannot read property 'start' of undefined at Object.createReadStream (packages/meanware_gridfs.js:94:26))
So there is a problem with the module (meanware/gridfs) I decided to use earlier.
So I have 2 questions :
How is it possible that the default cfs:gridfs module in recent version of meteor(1.10) is not up to date (it seems to only works with old mongodb version when using with replicaset).
Can Wekan be used with recent version of mongodb with replicaset and how make it work ?
I'm not a developper, just a cloud architecture guy so my knowledge in development are very limited.
Thanks a lot.
BR
Mathieu Mesnil
The text was updated successfully, but these errors were encountered: