Replies: 5 comments 33 replies
-
Before releasing newest WeKan to Snap Stable, there needs to be these additions:
I'm not yet sure how close it is to update Snap. All help is very welcome. Other way would be for you to just install newest WeKan with Snap Candidate, like this: https://github.com/wekan/wekan/wiki/OpenSuse |
Beta Was this translation helpful? Give feedback.
-
Newest WeKan is using Meteor-Files. At database, there are text fields (like filename, etc). That database structure has changed from CollectionFS to Meteor-Files. Then, at database, there are chunks, where actual files are. One file can be in one or more chunks. So it is possible to install WeKan Snap Stable and Snap Candidate, and compare database structure, after adding one attachment. For migrating database structure, there is this incomplete migration code, currently commented out: https://github.com/wekan/wekan/blob/main/server/migrations.js#L1248-L1408 Alternatively, with mongofiles command (for MongoDB 3.x and 6.x), it is possible to export files etc, like at https://github.com/wekan/minio-metadata There is info how to build WeKan at https://github.com/wekan/wekan/wiki/Emoji |
Beta Was this translation helpful? Give feedback.
-
There are so much place where this migration is discussed that I've got the feeling I've lost my time. I think I understand better what @xet7 tried to say and #5226 also helped me. I was focused on reusing what was written in The good news is that I've consume almost all the time I could spend on Wekan last week and I'll have just a few this week, after what I'll have to work on something else. But, if anyone gets here, is interested in moving from Wekan 6.09 and knows well Mongo, the trick is really to:
You needn't to know Meteor, just Mongo. Certainly after, there will be exceptions to focus on, but that's the first way to go. I think it's what @xet7 tried to explain last week (and in different places), and I never managed to get it. |
Beta Was this translation helpful? Give feedback.
-
For attachments this nodejs script works for me on snap RC after mongorestore
For avatars it shouldn't be so different but we won't work on it as we have just 8 to changeOther things that could be done:
|
Beta Was this translation helpful? Give feedback.
-
Any new about your plan regarding upgrade? Looking at #5226 and https://github.com/wekan/wekan/blob/main/snap-src/bin/mongodb-control#L21-L66, I may understand:
It looks there is a lot of snap instances worldwide. Do you think a migration script could handle all use cases? I've got the feeling, users will have to backup their instance anyway. As an admin sys, I wonder if I wouldn't prefer a script, than an automation. The typical risk is, if wekan is big, you can't check everything everywhere, so you believe everything is all right. But, after few months, if ever you discover it is not, users are using the new version and have created datas. So it may get really hard to reconciliate. It happened to me sometimes. I'm working with Debian for more than 20 years now and migration are never "simple" (even when praised it is). I worry about a full automation. Moving from mongoDB 3 to mongoDB 6 + Meteor version change + CollectionFS to MeteorFiles + one year of wekan improvements is a big move. I have no crystal ball, but I suppose, some may fail the snap/stable migration even with a good automation. Couldn't we release a kind of recipes like in #4780. So, we would have 2 wekan/stable, like wekan/stable and wekan/new-stable or wekan/old-stable and wekan/stable (or simply wekan/stable and wekan/candidate). Is this even possible through a simple snap/stable upgrade, to send a message/email to the administrator (if ever he has filled it) about what is going to happen? I have also this feeling, after migration, somes may be impacted by changes that happened since their stable version, raising a lot of question/issues (in my case default on board cover images has changed). This also praise for little by little move. All instances who have an admin sys or anyone with enough skills to try #4780, should try to migrate and report whatever they observe wrong. The process could be permanently optimised in a wiki page. This is a good place for discussion. But we are only three, right now. Anything we could do to test/help/document? |
Beta Was this translation helpful? Give feedback.
-
Hello @xet7,
I came across information that you're working on an update for Snap. Currently, I have a fresh installation of Wekan on my Ubuntu 22.04 LTS. I'm developing an HTML integration app with Wekan to enhance the production line at my workplace. This leads me to inquire whether you're close to releasing a Snap update, or if I should consider an alternative installation method to get the latest version immediately. If so, what method do you recommend for keeping up with updates? Perhaps Docker, or something else?
Beta Was this translation helpful? Give feedback.
All reactions