-
-
Notifications
You must be signed in to change notification settings - Fork 665
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
Remove APCu and replace with Redis instead #2040
Conversation
Shouldn't we fix this in old installations via the update script, too? I have the feeling that this will fix some issues in the future, too... |
Question is then if switching from apcu to redis during the update will produce some issues itself... |
Signed-off-by: enoch85 <github@hanssonit.se>
We have to test this before of course. I will fire up the latest release now just to see if it works. Can you do the same please? @szaimen |
What is still missing, afaics is switching from |
Tested and works! |
Tested on multiple instances now, all is good. Nice! |
I wanted to comment on issue #2039 but it's locked so I figured I can say it here: it can work with APCu if you add a From https://help.nextcloud.com/t/occ-wont-run-with-memcache-apcu/119724/3:
|
@matthieu-labas I'm sure it works, but now we decided to not use it. We have been running Redis successfully for years, and then one of the core devs told us that APCu is better to run for local cache (yes it felt snappier) but then the major bug happened where it just stopped working (Nextcloud bug). In other words, APCu as cache doesn't feel reliable, and we don't want to maintain something that is broken in Nextcloud, and constantly come up with workarounds to fix it. Redis on the other hand never failed, there are 0 bug reports regarding it, and we made this VM since 2016. |
@enoch85 I'm sure Redis works fine too ;) but I already had APCu installed after I had many system problems with Redis so I thought I'd drop a line here for those like me :) |
If you had issues with Redis, I really think you should try this: https://github.com/nextcloud/vm/blob/master/addons/redis-server-ubuntu.sh ;) |
Fix #2039