import failing (?)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start with lib/Service/UserMigrationService.php around line 250 and follow the import from lib/BackgroundJob/UserImportJob.php line 100 through cron.php line 152. Reproduce an import and trace the profile-config failure; done means the import completes without the error and the user's files are present.
Written by the indexing model from the issue text.
Description
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!
- Dominant language
- JavaScript
- Stars
- 31
- Forks
- 11
- Avg merge
- 5h 21m
- Merged PRs (30d)
- 12
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nextcloud/user_migration
-
0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
nextcloud/user_migration#1105 ·
Maintainers usually reply within 1 day
-
Comply with instance setting to disable change of user names during importPossibly taken @sushifrick claimed this 5 days ago. Open0. Needs triage bug
Difficulty 3/5 1-2 days Newbie friendliness 68/100
nextcloud/user_migration#1188 ·
Maintainers usually reply within 1 day
-
0. Needs triage bug
Difficulty 3/5 1-2 days Newbie friendliness 58/100
nextcloud/user_migration#1142 · 5 comments · 9 reactions ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
nextcloud/user_migration#1111 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
nextcloud/user_migration#1107 ·
Maintainers usually reply within 1 day
All issues in nextcloud/user_migration
Similar issues
-
[quality] useFocusTrap's Shift+Tab wrap and non-Tab/non-Escape key arms are never driven end to endPossibly taken @hivecommons-hive claimed this today. Openagent/quality hive/covered-by-pr hive/hosted-available-lke648397-260827-5n31 quality testing
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
agentic-workflows
Difficulty 1/5 Under an hour Newbie friendliness 85/100
githubnext/gh-aw-workshop#4220 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
JuliusBrussee/caveman#1189 ·
Maintainers usually reply within 1 day
-
priority:low ready-for-dev
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
OpenHands/extensions#738 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
invoiceninja/invoiceninja#13320 ·
Maintainers usually reply within 1 day