Skip to content

Transfer Ownership: "Share with id XX points at deleted file, skipping" and shares lost during transfer #25693

Closed
@mseiwald

Description

Hi,

I want to transfer files/folders and the existing shares on those folders from one user to the other using the command:

su -p www-data -s /bin/sh -c "php /var/www/html/occ files:transfer-ownership --path oldUser newUser";

This is an example output:

Analysing files of oldUser ...
    0 [->--------------------------]
Collecting all share information for files and folders of oldUser ...
    4 [============================]
Transferring files to newUser/files/transferred from oldUser on 2021-02-17 12-33-27 ...
Restoring shares ...
Share with id 27 points at deleted file, skipping
 1/4 [=======>--------------------]  25%Share with id 28 points at deleted file, skipping
Share with id 29 points at deleted file, skipping
Share with id 30 points at deleted file, skipping
 4/4 [============================] 100%

First of all I don't know what the error Share with id XX points at deleted file, skipping means. I found previous reports related to quota etc. In my case both users have a large enough quota and there are no deleted files. I'm getting this error everytime even with an empty test folder.

Furthermore, shares on the transferred folders are lost.

I would appreciate any hint on how to troubleshoot this issue and fix it.

Thanks!

Nextcloud version: 20.0.5

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions