nextcloud-gmbh / mtime_fixer_tool_kit

Tool kit to fix the mtime issue on the server state
15 stars 7 forks source link

Browsing issue #8

Closed Delurkdotcom closed 2 years ago

Delurkdotcom commented 2 years ago

Hi,

The task browses a single user folder and then stops. it does'nt browse the __groupfolders folder.

artonge commented 2 years ago

Hello @Delurkdotcom,

Can you be more specific?

Delurkdotcom commented 2 years ago

In the data folder, I have several users and a shared folder named __groupfolders. When I run the task with the list parameter, only the first folder of the first user is browsed.

artonge commented 2 years ago

Can you give me the command you run and the output ?

Delurkdotcom commented 2 years ago
# ./solvable_files.sh /mnt/ncdata mysql 172.16.0.154 ncuser pass ncdb list noscan > mtimelist_script.log
# cat mtimelist_script.log
/mnt/ncdata/Delurkdotcom/files/Documents/picture1
[...]
/mnt/ncdata/Delurkdotcom/files/Documents/picture99

# cat mtimelist_script.log | wc -l
112

But if I list all the files which are corrupted by the bug in the main data folder using find

# cd /mnt/ncdata
# find . -printf '%T@ %t %p\n' | sort -k 1 -n | cut -d' ' -f2- | grep ' 1970 '  | wc -l
196

there is 84 files in the __groupdolfers which are ignore by your script.

artonge commented 2 years ago

Should get fixed by https://github.com/nextcloud-gmbh/mtime_fixer_tool_kit/pull/9

Thanks for reporting :)