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

Abierto
#67,070 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
php
Área
backend, database

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
PHP
Estrellas
37.6k
Forks
5.4k
Merge medio
1 d 13 h
PR fusionados (30 d)
623

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de nextcloud/server

Todos los issues de nextcloud/server

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.