[Bug]: migration: missing execution of maintenance:repair and db:add-missing-indices

Ouverte
#67,070 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
48/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
php
Domaine
backend, database

Piste de recherche

Start by tracing the upgrade to version 34.0.6 and how it runs maintenance commands; the issue names maintenance:repair and db:add-missing-indices but gives no migration files or failing test. Check the upgrade and repair tests, then reproduce the reported Hetzner Storage migration and verify both commands run and the missing indexes and repair warnings are resolved.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

0. Needs triage 34-feedback bug
⚠️ This issue respects the following points: ⚠️
  • This is not a troubleshooting question, general support matter, or webserver/proxy problem, but likely a bug (if unsure, ask the Community Help Forum).
  • This issue is not already reported on Github OR solved at the Community Help Forum (I've searched!).
  • I'm using a maintained major version of Nextcloud Server and tested against the latest patch level. (Supported major versions and current patch levels).
  • I agree to follow Nextcloud's Code of Conduct.
  • I've tried my best to provide clear reproduction steps that someone unfamiliar with this bug could use to reproduce it.
Bug description

the migration to 34.0.6 on a Hetzner Storage share leaves the DB with missing indexes and and some repair issues.

  • missing indexes may cause performance issues
  • unresolved issues which can and should be repaired automatically should not persist
Steps to reproduce
  1. upgrade to 34.0.6
  2. check Administration Settings in NC
  3. to fix: open Hetzner
  4. run db:add-missing-indices
  5. run maintenance:repair
Expected behavior

execute these 2 commands as part of the migration process

Nextcloud Server version

34

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.5

Web server

No response

Database engine version

No response

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

No response

Are you using the Nextcloud Server Encryption module?

No response

What user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

No response

Langage dominant
PHP
Étoiles
37.6k
Forks
5.4k
Merge moyen
1 j 13 h
PR mergées (30 j)
623

Préparer son environnement

Ouvrir dans Codespaces

Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de nextcloud/server

Toutes les issues de nextcloud/server

Issues similaires

Plus d'issues PHP

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.