Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

import failing (?)

オープン
#343 コメント 10 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
php
領域
backend

調査の方向性

lib/Service/UserMigrationService.php の250行目付近から始め、lib/BackgroundJob/UserImportJob.php の100行目から cron.php の152行目までインポートを追跡します。インポートを再現して profile-config の失敗を追跡します。インポートがエラーなしで完了し、ユーザーのファイルが存在すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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!

主要言語
JavaScript
スター
31
フォーク
11
平均マージ
7時間 1分
マージ済み PR(30日)
9

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nextcloud/user_migration のほかの issue

nextcloud/user_migration の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。