volto icon indicating copy to clipboard operation
volto copied to clipboard

Unknown Block slate when using "latest" Docker

Open mauritsvanrees opened this issue 2 years ago • 2 comments

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

  1. 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
  2. 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
  3. In the browser go to http://localhost:3000

Expected behavior Working volto blocks

Screenshots Screenshot 2022-09-28 at 23 53 25

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.

mauritsvanrees avatar Sep 28 '22 22:09 mauritsvanrees

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.

stevepiercy avatar Sep 28 '22 23:09 stevepiercy

I think there needs to be a new version of plone-frontend released.

tiberiuichim avatar Sep 29 '22 08:09 tiberiuichim