Skip to content
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

restart memcached server after upgrade needed #49844

Open
Netmees opened this issue Dec 13, 2024 · 6 comments
Open

restart memcached server after upgrade needed #49844

Netmees opened this issue Dec 13, 2024 · 6 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement feature: install and update needs info stale Ticket or PR with no recent activity

Comments

@Netmees
Copy link

Netmees commented Dec 13, 2024

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Problem

maibe its posible to add lines to restart memcached or clear cache after upgrade becouse it displays an error if memcached or other cache its used
if its not posible just add a display note about the need of restarting cache system

@Netmees Netmees added 0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement labels Dec 13, 2024
@solracsf
Copy link
Member

Why do you believe this is needed? Please detail.

@Netmees
Copy link
Author

Netmees commented Dec 13, 2024

just to dont make people loosing time after uptrade trying to figure out why the system dont work and send you a message of "Downgrading is not supported and is likely to cause unpredictable issues" and spend half an precious hour to find out is as simple as restart the memcached server to clear the cache

@solracsf
Copy link
Member

Prefix of cached entries should change at version upgrades.
If this is not the case, please fill a complete bug report with error messages, if any.

By the way, Nextcloud can't simply restart your server, but only flush it if this was needed.

@kesselb
Copy link
Contributor

kesselb commented Dec 13, 2024

Downgrading is not supported and is likely to cause unpredictable issues

This could also be an issue with opcache (because an old copy of version.php/configuration file is stored somewhere).

@joshtrichards
Copy link
Member

Yeah, this sounds like a non-standard PHP OPCache configuration to me.

We document this fairly explicitly, including it's impact on upgrading and configuration changes. See Server tuning - PHP OPCache - Revalidation. Particularly the Warning and Danger boxes.

I suppose we could add hint sort of like:

Downgrading is not supported and is likely to cause unpredictable issues [...]. If this is unexpected, try restarting your PHP environment to clear your cache or whatever

...at least to that particular exception.

@nextcloud-command
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.

@nextcloud-command nextcloud-command added the stale Ticket or PR with no recent activity label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement feature: install and update needs info stale Ticket or PR with no recent activity
Projects
None yet
Development

No branches or pull requests

5 participants