nextcloud / nextcloud/server

[Bug]: Nextcloud update may fail due to php-fpm cache

Open
#53,535 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 30-feedback bug
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

⚠️ This issue respects the following points: ⚠️
Bug description

see ==> NC Upgrade from version 30.0.11 to "30.0.12.2" failed due to music app

https://github.com/owncloud/music/issues/1231#issuecomment-2977036228

Steps to reproduce
  1. Trigger NC Upgrade
  2. From time to tome NC Upgrade will fail (see stack trace) due to an app, which makes troubles
  3. disable app
  4. Trigger NC upgrade again
  5. NC Upgrade will be successful
Expected behavior

Apps should not be able to disturb or lead to fail situation during a Nextcloud Ugrade process

Nextcloud Server version

30

Operating system

RHEL/CentOS

PHP engine version

PHP 8.3

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Updated from a MINOR version (ex. 32.0.1 to 32.0.2)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Configuration report
"system": {
"memcache.distributed": "\OC\Memcache\Redis",
"memcache.locking": "\OC\Memcache\Redis",
"memcache.local": "\OC\Memcache\APCu",
"filelocking.enabled": true,
"redis": {
"host": "REMOVED SENSITIVE VALUE",
"port": "REMOVED SENSITIVE VALUE"
"dbindex": "REMOVED SENSITIVE VALUE",
"timeout": "REMOVED SENSITIVE VALUE",
"password": "REMOVED SENSITIVE VALUE"
},
List of activated Apps

Nextcloud Signing status
no errors
Nextcloud Logs

Additional info

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository files, tests, logs, or application list are provided. Start by reviewing the linked ownCloud Music report and reproducing the upgrade from Nextcloud 30.0.11 to 30.0.12.2 with PHP 8.3; done means an enabled app cannot cause the upgrade to fail because of stale PHP-FPM cache state.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, release
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
22/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.