-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Memcache error when update to 9.1.0 #25692
Comments
@insertjokehere If you don't have multiple oC instances connecting to the same memcached a quick workaround would be to use APCu as recommended here: |
Or just disable all caching modules during upgrade. |
If disabling memcache is the only solution then maybe OC could try and detect that it's enabled and refuse to upgrade before it isn't ? |
The point of having an upgrade script with sanity checks reporting eveltual problems (+1) is that you can detect what's going on. This is not an enhacement issue, it is a bug. I work for another FLOSS project and I know it is hard to cope with all the things people report. But I think this kind of issues should have higher priority, as they are BLOCKERS for normal users. |
What are the steps to reproduce the issue ? |
CONCLUSION: Either the upgrade checks are wrong or the production UI is wrongly hidding real problems with memcache. |
@VicDeo can you have a look ? |
Googling is better than |
Got the trace
Might be related to the fact that APCu extension is not enabled for php-cli by default. |
@PVince81 No need to fire an update. Reproducible by running an integrity check from CLI with enabled memcached. I'm not an memcached expert, but it looks like a bug in validation:
We always do
apparently as per http://php.net/manual/en/memcached.cas.php#97603 but this is for as a workaround |
I also heard somone say that the APCu cache for CLI and web server are completely separate. So maybe when upgrading we should just disable APCu completely as it is unlikely to be useful at all as it has no access to the stuff cached by the web server ? |
actually we could even disable APCu for ALL commands:
|
Side-note: This issue here is about Memcached as the cache. For Memcached and Redis it makes sense to keep it for all commands as this cache is shared between cli and webserver. |
@RealRancor By any chance do you have an idea why this could happen?
It seems to me that php-memcached unexpectedly closes a connection to the memcached server. |
ok.
is a |
@VicDeo Sorry, don't have any experience with memcached. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
After installing the packages for Owncloud 9.1.0 over 9.0.4, I cannot complete the
occ upgrade
step because of anError 21 interacting with memcached : SERVER END
messageSteps to reproduce
apt-get upgrade
to 9.1.0occ upgrade
Expected behaviour
The upgrade should complete so I can use my instance
Actual behaviour
The upgrade fails. Output looks like:
Server configuration
Operating system: Ubuntu 14.04
Web server: nginx
Database: Postgresql 9.3
PHP version: 5.5.9
ownCloud version: 9.1.0
Updated from an older ownCloud or fresh install: 9.0.4
Where did you install ownCloud from: http://download.owncloud.org/download/repositories/stable/Ubuntu_14.04/
The text was updated successfully, but these errors were encountered: