Ticket #9233 (confirmed Bug)

Opened 7 years ago

Last modified 3 years ago

@@maintenance-controlpanel: No support for mounted storages, but just for "main"

Reported by: ajung Owned by:
Priority: minor Milestone: 4.x
Component: Templates/CSS Version: 4.2
Keywords: Cc: ida

Description

The Plone Control Panel for packing the ZODB seems to support only the 'main' storage. This useless for Plone instances where the Plone instance is located within some ZEO storage mounted using a ZODB mountpoint. In this case you can not pack the *real* storage.

(Likely affects all Plone versions supporting ZODB packing on the Plone UI level)

Change History

comment:1 Changed 7 years ago by hannosch

  • Component changed from Unknown to Infrastructure

Yep, the control panel has been written only for the most simple case. It should probably have some check to see if it can support packaging and give appropriate feedback in the UI.

comment:2 Changed 7 years ago by kleist

I've never learned to appreciate the value of this Plone control panel, because I follow the advice of never being logged in to Plone using the Zope admin user (except once: when creating a Plone admin).

This advice might be obsolete though, that was the 2.0 days... Had something to do with a subtle difference between how authorities were handled for Plone and non-Plone users.

comment:3 Changed 4 years ago by eleddy

  • Version set to 4.1
  • severity set to Untriaged

Is this still legit? I confess I am not even sure what this is referring to.

comment:4 Changed 4 years ago by ida

  • Cc ida added

comment:5 Changed 4 years ago by kleist

  • Status changed from new to confirmed
  • Version changed from 4.1 to 4.2
  • Component changed from Infrastructure to Templates/CSS
  • Summary changed from Plone Control does not support mounted storages to @@maintenance-controlpanel: No support for mounted storages, but just for "main"
  • Milestone changed from 3.3.x to 4.x

Still valid in Plone 4.2, i.e. the "Maintenance" control panel page just covers the "main" storage.

Until somebody finds the time and enthusiasm to fix this, maybe we could simply add a link to ZMI (/Control_Panel/Database/manage_main) on  https://github.com/plone/plone.app.controlpanel/blob/master/plone/app/controlpanel/maintenance.pt ?

comment:6 Changed 3 years ago by vangheem

This will be low priority as deploying plone with mounted storages is an advanced deployment technique that is only for power admins.

Additionally, realistically, packing the database shouldn't really be done TTW like this as it'll lock up the plone site running this for potentially a long time. I'd be more in favor of getting rid of this control panel form as these actions should really not be done TTW...

Note: See TracTickets for help on using tickets.