Skip to content

Running bin/magento setup:upgrade re-enables layout, block_html and full_page caches #28186

Closed
@markshust

Description

@markshust

Preconditions (*)

1.Magento 2.4-develop

Steps to reproduce (*)

  1. Disable the caches by running: bin/magento cache:disable block_html full_page layout
  2. Run: bin/magento setup:upgrade

Expected result (*)

  1. After setup:upgrade completes execution, the block_html, full_page, and layout caches are still disabled

Actual result (*)

  1. An "enabling caches" message appears in the CLI output of setup:upgrade:
Enabling caches:
Current status:
Array
(
    [layout] => 1
    [block_html] => 1
    [full_page] => 1
)
  1. Those caches are re-enabled:
magento235$ bin/magento cache:status
Current status:
                        config: 1
                        layout: 1
                    block_html: 1
                   collections: 1
                    reflection: 1
                        db_ddl: 1
               compiled_config: 1
                           eav: 1
         customer_notification: 1
            config_integration: 1
        config_integration_api: 1
                google_product: 1
                     full_page: 1
             config_webservice: 1
                     translate: 1
                        vertex: 1

Metadata

Metadata

Assignees

Labels

Component: CacheComponent: ConsoleFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P3May be fixed according to the position in the backlog.Progress: doneReported on 2.4.0Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S3Affects non-critical data or functionality and does not force users to employ a workaround.Triage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject it

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions