Skip to content
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

How to install on Plone5? #38

Closed
krissik opened this issue Jun 8, 2017 · 3 comments · Fixed by #60
Closed

How to install on Plone5? #38

krissik opened this issue Jun 8, 2017 · 3 comments · Fixed by #60

Comments

@krissik
Copy link

krissik commented Jun 8, 2017

I have Plone (5.0.7 and 5.1b3) installed. If I go to http://localhost:8080/Plone/prefs_install_products_form I can not find plone.app.caching to install it. But it is show in old portal_quickinstaller. I belive it is because it is in "not installable" list here

How do I install plone.app.caching on Plone 5?

@gforcada
Copy link
Member

gforcada commented Jun 8, 2017

When you create a Plone instance using the advanced dialog you have the option there. If you want to install it with a policy package, the usual metadata.xml dependency is probably enough.

But otherwise you are right, as far as I can see, the only way is through the advanced dialog.

@jensens
Copy link
Member

jensens commented Aug 28, 2020

Works in 5.2.2.

@mauritsvanrees
Copy link
Member

mauritsvanrees commented Sep 1, 2020

Wait, let me try. First Plone 5.2.1 because I wonder how it was there. Start with only the Products.CMFPlone egg:

[buildout]
extends = https://dist.plone.org/release/5.2.1/versions.cfg
parts = instance

[instance]
recipe = plone.recipe.zope2instance
eggs = Products.CMFPlone
user = admin:admin

After running buildout:

$ grep caching bin/instance 
  '/Users/maurits/shared-eggs/cp27m/z3c.caching-2.2-py2.7.egg',
  '/Users/maurits/shared-eggs/cp27m/plone.caching-1.2.1-py2.7.egg',

Create a Plone Site. Logically, the caching control panel is not there, nor is caching in the Add-ons control panel, because plone.app.caching is no dependency. Fine.

Now set Plone in the eggs. This does depend on plone.app.caching. Run buildout, start Plone. Caching is still nowhere to be seen in the existing site. Not so good. Create a fresh Plone site and caching is there.

I tried on Plone 5.2.2 [edited], but it is the same there, nothing changed.

In other words: if you start out with only Products.CMFPlone, and only later the buildout to use the Plone egg, or explicitly add plone.app.caching, then you have no way in the Plone UI to install it.
Not very nice, but I guess this does not happen often.

And I guess in the Plone versions from the first comment, there really was a problem also when you started with the full Plone egg.

mauritsvanrees added a commit that referenced this issue Sep 1, 2020
Remove references to Plone 4.  4.0 even...
This fixes #38 by improving the documentation.
mister-roboto pushed a commit to plone/buildout.coredev that referenced this issue Sep 4, 2020
Branch: refs/heads/master
Date: 2020-09-01T17:52:49+02:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/plone.app.caching@7b1c8c2

Improved installation documentation.

Remove references to Plone 4.  4.0 even...
This fixes plone/plone.app.caching#38 by improving the documentation.

Files changed:
M README.rst
Repository: plone.app.caching

Branch: refs/heads/master
Date: 2020-09-04T12:37:29+02:00
Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com>
Commit: plone/plone.app.caching@c878fda

Merge pull request #60 from plone/maurits/readme-install

Improved installation documentation.

Files changed:
M README.rst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants