Skip to content

Missing memcache class on CLI upgrade #17329

@PVince81

Description

@PVince81

Steps

  1. Setup OC 8.1RC1
  2. Enable APCu memcache (enable the php module and set 'memcache.local' => '\OC\Memcache\APCu' in config.php
  3. Go to admin page, see that there is no warning about memcache
  4. Switch code to OC 8.1RC2
  5. Run CLI upgrade with sudo -uwwwrun ./occ upgrade

Expected result

Upgrade works

Actual result

An unhandled exception has been thrown:
OC\HintException: [0]: Missing memcache class \OC\Memcache\APCu for local cache (Is the matching PHP module installed and enabled ?)

Please note that the web UI upgrade works properly.

Versions

ownCloud 8.1 RC2

@icewind1991 @DeepDiver1975

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions