volto
volto copied to clipboard
Unknown Block slate when using "latest" Docker
Describe the bug The first thing I see in a new Volto site is the Welcome to Volto page with eleven times the text "Unknown Block slate"
To Reproduce Steps to reproduce the behavior:
Follow the instructions of https://6.dev-docs.plone.org/install/containers/index.html
- Start Plone 6.0.0b2 backend:
docker run --name plone6-backend -e SITE=Plone -e CORS_ALLOW_ORIGIN='*' -d -p 8080:8080 plone/plone-backend:6.0.0b2
- Start latest volto frontend:
docker run --name plone6-frontend --link plone6-backend:backend -e RAZZLE_API_PATH=http://localhost:8080/Plone -e RAZZLE_INTERNAL_API_PATH=http://backend:8080/Plone -d -p 3000:3000 plone/plone-frontend:latest
- In the browser go to http://localhost:3000
Expected behavior Working volto blocks
Screenshots
Software (please complete the following information):
http://localhost:3000/controlpanel tells me:
- Volto 15.14.0
- Plone 6.0.0b2
- plone.restapi 8.26.0
Ah, and that is of course the problem: plone/plone-frontend:latest
gives me Volto 15 instead of 16.
When I specify 16.0.0-alpha.26
instead of latest
it works.
So this is a documentation problem. Once Volto 16 is final, the problem is gone, but meanwhile a solution would be welcome.
Is there a different tag we can pass, that gives us the latest alpha?
nightly
would work, but it is less stable of course.
If this is a documentation problem, then this issue should be moved to that repo. I think latest
was a conscious decision to avoid potential bugs from either using nightly
or pinning to a specific version.
I think developers who use containers are expected to know how to specify versions in the command, but we could provide a tip that they can do that somewhere in Start Plone.
I think there needs to be a new version of plone-frontend released.