-
Notifications
You must be signed in to change notification settings - Fork 4
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
Use Debian Bookworm #48
Comments
I tried to replace It seemed to work well, I played with the Uwazi GUI during 20 minutes afterwards. => [2/7] RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y bzip2 dh-autoreconf git libpng-dev gnupg poppler-utils 17.6s 1/5 Validating package.json => => # warning " > react-redux-form@1.16.14" has incorrect peer dependency "react-dom@^0.14.7 || ^15.0.0 || ^16.0.0". Unfortunately, this was displayed as a sub-process in the console, which prevented copy-paste, and let only a few lines be displayed while exporting the console output afterwards. |
@fititnt , you mentioned " In theory the Uwazi app is working, but I haven't tested every feature, so in particular @acme might need to do tests on a backup (not main database) and maybe warn me if it was a bad idea." Is there a test database already populated with documents, a full data model with many relationships among entities, a rich collection, etc? |
Also, possibly a useful discussion:
|
Yes, now we have, added on #51.
These warnings are from Uwazi production tag (most of the about how is build the nodejs dependencies). But they're mostly harmless. Whith the
Yes, the Debian Bookworm is quite new, so for who is migrating from older apps, they would have more issues than as soon as it become stable, you or me change the fist line from the Dockerfile to use the lastest stable debian. But anyway, one reason to not upgrade for Bookworm was test a bit if other parts are obviously broken (like the #50, that problem with redis would affect every distro) but I think that now, if theres nothing else broken, and the app is running, then it could be attempted to just upgrade for Bookworm and we stick with it for next several years. |
Ok, a new report found by @hakkiunlu found a error on we not using the exact mongo 4.2 Well, the error @hakkiunlu got is true. I even downgraded to not use the lastest version around the time of this new change with the following (the
and with Mongo 6.0 (which we're using because 4.2 is more complex to deploy with newer Debian) it will fail. In theory, needs rewrite the setup script and preferable in a easy-to-run way, without manual steps. And If the problem is merely this, all other things still working, we might better try to still on latest MongoDB (but we already know that this needs more testing to go in production, otherwise, is better to stay on the very strict versions used by the Uwazi documentation. Issues related related: |
Originally posted by @fititnt in #45 (comment)
Hi @mayeulk , this issue is now fixed. Maybe I will have newer ones, feel free to open other issues.
I didn't attempt to use the very last Debian 12 Bookworm (which will have a LTS by 2028, see https://endoflife.date/debian) but now is the Debian 11 (Bullseye), but if you want we could do a quick check.
Relevant point which is different from current Uwazi documentation: this Uwazi-docker is using MongoDB 6.0, not the MongoDB 4.2, which I had problems using recently Debian. In theory the Uwazi app is working, but I haven't tested every feature, so in particular @acme might need to do tests on a backup (not main database) and maybe warn me if it was a bad idea.
If you all have some time next weeks and are interested, I could try to test again on very recent Debian, so we might push the versions up and for several years just keep doing minor incremental upgrades. For now I only done with MongoDB.
But, as expected, the fititnt/uwazi-docker, even with current approach of point to latest
production
tag of uwazi, is granted "to break" after some years because of the dependencies, however this likely to be better since at least the ones who are users don't stay with version too older.The text was updated successfully, but these errors were encountered: