Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

import failing (?)

Abierto
#343 10 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
25/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
php
Área
backend

Línea de trabajo

Comienza con lib/Service/UserMigrationService.php alrededor de la línea 250 y sigue la importación desde lib/BackgroundJob/UserImportJob.php en la línea 100 hasta cron.php en la línea 152. Reproduce una importación y rastrea el fallo de profile-config; se considera terminado cuando la importación se completa sin el error y los archivos del usuario están presentes.

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

Descripción

Hi,

I have successfully exported a user's files and transferred the archive over to a new instance of NC.

Importing is taking a couple of minutes. While it is still processing (wheel spinning in GUI), an error message pops up in the upper right corner saying (something like) "Error getting user's config". Some time later, the import dialogue tells me that the import was completed successfully.

However, this is not the case. The allegedly imported files are nowhere to be found.

The NC log (accessible through the GUI) does not contain any information on the failed import. But there is an entry from an earlier try (that failed the same way):

`OCA\Settings\UserMigration\AccountMigratorException: Failed to import profile config

/var/www/html/custom_apps/user_migration/lib/Service/UserMigrationService.php - line 250:

OCA\Settings\UserMigration\AccountMigrator->import(OC\User\User {}, OCA\UserMigr ... {}, Symfony\Comp ... {})

/var/www/html/custom_apps/user_migration/lib/BackgroundJob/UserImportJob.php - line 100:

OCA\UserMigration\Service\UserMigrationService->import(OCA\UserMigr ... {}, OC\User\User {})

/var/www/html/lib/public/BackgroundJob/Job.php - line 78:

OCA\UserMigration\BackgroundJob\UserImportJob->run([ 1])

/var/www/html/lib/public/BackgroundJob/QueuedJob.php - line 58:

OCP\BackgroundJob\Job->start(OC\BackgroundJob\JobList {})

/var/www/html/lib/public/BackgroundJob/QueuedJob.php - line 48:

OCP\BackgroundJob\QueuedJob->start(OC\BackgroundJob\JobList {})

/var/www/html/cron.php - line 152:

OCP\BackgroundJob\QueuedJob->execute(OC\BackgroundJob\JobList {}, OC\Log {})`

Is there something going on in the background and after a couple of hours the import will have gone through? Or is something amiss?

Thanks!

Lenguaje dominante
JavaScript
Estrellas
31
Forks
11
Merge medio
7 h 1 min
PR fusionados (30 d)
9

Preparar el entorno

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/user_migration

Todos los issues de nextcloud/user_migration

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.