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

Upgrade to Nextcloud 12.0 fails: "PHP Fatal error: Class '\OC\Memcache\APC' not found in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 116" #50

Open
Ezwen opened this Issue Aug 6, 2017 · 4 comments

Comments

Projects
None yet
5 participants
@Ezwen

Ezwen commented Aug 6, 2017

I am trying to upgrade nextcloud to 12.0 using the moulinette, but it seems to fail with the error:

PHP Fatal error:  Class '\OC\Memcache\APC' not found in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 116

Complete log: https://paste.yunohost.org/rewaninole

Fortunately the upgrade mechanism is quite robust and it successuly restores a backup :). Really nice job on this part!

I have also opened a ticket here, I wasn't sure where was the best: https://dev.yunohost.org/issues/985

@JimboJoe

This comment has been minimized.

Show comment
Hide comment
@JimboJoe

JimboJoe Aug 6, 2017

Contributor

I encountered once the same problem.
Try removing the line "memcache.locking": "\\OC\\Memcache\\APC", from /var/www/nextcloud/config/config.php.

Contributor

JimboJoe commented Aug 6, 2017

I encountered once the same problem.
Try removing the line "memcache.locking": "\\OC\\Memcache\\APC", from /var/www/nextcloud/config/config.php.

@Ezwen

This comment has been minimized.

Show comment
Hide comment
@Ezwen

Ezwen Aug 6, 2017

Thanks, that solved the problem!

Ezwen commented Aug 6, 2017

Thanks, that solved the problem!

@Shnoulle

This comment has been minimized.

Show comment
Hide comment
@Shnoulle

Shnoulle Sep 11, 2017

Solved too, for information : my Nextcloud come from an old OwnCloud (Maybe 9.??)

Shnoulle commented Sep 11, 2017

Solved too, for information : my Nextcloud come from an old OwnCloud (Maybe 9.??)

@augustindo

This comment has been minimized.

Show comment
Hide comment
@augustindo

augustindo May 6, 2018

Solved too, thanks !
I encountered the issue trying to migrate from Owncloud with "yunohost app upgrade -u https://github.com/YunoHost-Apps/nextcloud_ynh owncloud --verbose".
So I restored the snapshot I took before launching the failed migration, removed the line "memcache.locking": "\OC\Memcache\APC", from /var/www/owncloud/config/config.php, and relaunched the migration.

augustindo commented May 6, 2018

Solved too, thanks !
I encountered the issue trying to migrate from Owncloud with "yunohost app upgrade -u https://github.com/YunoHost-Apps/nextcloud_ynh owncloud --verbose".
So I restored the snapshot I took before launching the failed migration, removed the line "memcache.locking": "\OC\Memcache\APC", from /var/www/owncloud/config/config.php, and relaunched the migration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment