mirror of
https://github.com/nextcloud/server.git
synced 2026-03-13 06:03:14 -04:00
fix: Fix "Unknown path" error when source user files folder has not been initialized
Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
parent
8bfc7fcc64
commit
b14e53666b
1 changed files with 2 additions and 0 deletions
|
|
@ -107,7 +107,9 @@ class OwnershipTransferService {
|
|||
// Requesting the user folder will set it up if the user hasn't logged in before
|
||||
// We need a setupFS for the full filesystem setup before as otherwise we will just return
|
||||
// a lazy root folder which does not create the destination users folder
|
||||
\OC_Util::setupFS($sourceUser->getUID());
|
||||
\OC_Util::setupFS($destinationUser->getUID());
|
||||
\OC::$server->getUserFolder($sourceUser->getUID());
|
||||
\OC::$server->getUserFolder($destinationUser->getUID());
|
||||
Filesystem::initMountPoints($sourceUid);
|
||||
Filesystem::initMountPoints($destinationUid);
|
||||
|
|
|
|||
Loading…
Reference in a new issue