-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Warning on Ubuntu: Docker version is not supported: Got 24.0 – (edited, hint: currently only tested with 26.0) #50
Comments
Need to update to latest Cookieplone 8.0.0 and retry |
same with Cookieplone 0.8.0 |
@acsr First thing: Docker is optional, like it says. If you don't plan to use the commands which build and run Plone inside containers, you can ignore this warning. The minimum version is currently set to The choice of 26 is somewhat arbitrary because that's the version I had installed when I added the check. There's a good chance that older versions work fine as well, but I didn't have a way to test that. If you try it and find that things work fine on Docker 24, I would be happy to update this check. For the Node 22 version check, a fix was merged yesterday (#49). @ericof, we need a new release with this, please. |
OK, thanks for the clarification. This is indeed a warning only, but when your whole stack fails day after day, you can try to workaround, but cannot be sure if there is something in the guts a greasemonkey failed to fix. The namespace issues etc. When I was was trying to get this to work earlier in february, there were these yarn issues driving you crazy. Since I am targeting the Ansible stuff and building the images, docker seemed to be important for me. In feb it took several strong attempts to work around these obstacles (i18n testing not working, blocking the image generation etc.). Each obvious at the end but not discoverable in the docs in advance. Why? The docs were written from a "knowing" perspective and obvious stuff was just mentioned implicit. Please take that into mind. SuggestionsWhen you only have tested just with Docker 26, I suggest to write exactly this and explicitly "Currently only tested with docker 26: Got 24.0" instead of just "Docker version is not supported" which reads aka not working at all. In the settings.py there is only a Docker min 20.x constraint obvious. This together with "Docker version is not supported: Got 24.0" reads as "You may need an older version" On the Plone 6 Installation docs (Offtopic here, but valueful)Developers are not always good copywriters. To fix the docs I need to have a fork of the docs in place. I used to do that with older versions and promised to dive in again, but even docs to contribute to the docs sucks. I remember the work of Mikko to throw everyone not contributing properly into the bay of Naples to feed the sharks, but also simplify the process… Maybe we need to start there. @stevepiercy ist doing great efforts, but it was not easy for me to dive in until now. Outlook for CookieploneI really like the possibilities of Cookiecutter and it is my choice to avoid overwhelming documentation. How? Let Cookiecutter create more background output using a verbose option. It is nice to reduce interactivity using replay and prerequisites, but the other way round would be also nice. Lets see how I can contribute. @davisagli you commented in #17 |
I had the docker snap installed by default using the 24 version.
|
I can confirm cookiecutter 0.8.1 is starting up with node v22 and docker 26 without warnings. I give the docker 24 a try when I get the rest basically to work. THX @davisagli and @ericof for the fast reaction and new release. |
What specifically—as you so elegantly state—sucks about them? What would improve them? I put a lot of effort into making it easy to locally build and contribute to docs. If it is not easy, then I've failed. For almost the last three years, I've been diligently serving as copy editor. I expect developers and non-native English writers to make mistakes, and mistakes are perfectly OK. If your primary language is Sanskrit, then write docs in Sanskrit, and I will use various translation tools to figure it out. I can work with them. My only expectation is that the technical steps be correct. I lack the technical knowledge of how to do things in Plone, as I am a relative Plone n00b. |
@stevepiercy maybe my words seem to harsh. My point is, that I am still struggling with serious painpoints in the docs. e.g. no Troubleshooting FAQ with common known mistakes you can get stuck with. I know GIYF but I am currently listing them for me and hopefully can contribute back.
The whole text at about contributor roles and requirements is disencouraging as long as just pointing to misleading stuff as feedback is welcome. This is why these simple requests: Was this helpful as Star Ratings were created offering a freetext field to let your emotions run. Never ever let an input in this field touch your personal mood ;-) One more point: The well understandable requirements for "First Time Contributors" are a bit of disencouraging as well for improving just docs. I started my first contributions to Plone with docs for the Plone 3 theming story by wrapping up stuff from listening in a workshop Denis Msihunov during the Naples Conference in 2007. Writing docs can jumpstart your understanding in an impressing way. To get an idea what I mean visit this page from my archive thats is still present in the web: This short wrapup of the procedure was present on every Docs page and lead me to my first docs contributions: I hope I come back with serious improvements, but first I need to get this to run, run, run… Please take this not personal! Its not the correctness of the steps, but the elegance how to jump in as an easy going. What is the best place to move this a bit distracting discussion from here? If we write and test docs having the knowledge of the development and docreading experience in mind and think further how to put this at the fingertips during cookieplone setup using a chatbot like experience could improve the setup successrate enormously. Important Note mentioning the inspiring work: The example shown above is the work of Mikko Ohtamaa, I mentioned earlier in this ticket here: #50 (comment) |
@acsr thanks for the feedback. I opened a new issue in plone/documentation#1778. I'll respond there to avoid hijacking this issue any further. You have a lot of good suggestions, and I think we can implement most, if not all, of them. |
@stevepiercy thanks for the resonance! All said! Lets go at #1778 for it! |
PreRerequisites
I tried starting a new Plone6 Project on a fresh Ubuntu LTS 24.04 Server Instance with dependencies already installed following the instructions at https://6.docs.plone.org/install/create-project-cookieplone.html
Result of
pipx run cookieplone --version
:Issue
I get a Docker Version warning:
Question
Why is this warning generated, and where does the not supported setting comes from?
Why? Looking at the code no idea why…
In the cookieplone code there is only one place found by me where the Docker version is mentioned:
cookieplone/cookieplone/settings.py
Line 25 in 1f46ed8
My Versions
I use this script to list the requirement installed versions:
result:
one more thing related to version pinning (maybe need another ticket as well later):
I also got:
Node version is not supported: Got v22.11.0
after just usingnvm install --lts
as described at https://6.docs.plone.org/install/create-project-cookieplone.html#node-jseven when version 22 is allowed and listed in
cookieplone/settings.py
I could fix it there with:
nvm install --lts=iron
ending up withnode version: v20.18.0
The text was updated successfully, but these errors were encountered: