-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command about Scanning after adding Mimetype #92
Comments
That's what I did on the old 0.4.0 on NC13, worked now aswell on NC15 |
Honestly, I was just following the suggestion from #81, I have no deeper knowledge about the specifics of either command. If anyone with deeper knowledge cares to elaborate on the specifics and implications of both commands we can decide which to recommend, or maybe even mentioned both with directions on when to prefer either. If nobody cares to do this, then this is probably a non-issue, so I'll close this in a couple of days. |
As far as I understand this, the files:scan command will scan all the files, as the command i specified does only add the specified mimetypes to the database. Which is for more performant and does not take ages to complete. of course you could specify the path to each *.kdbx-file, but that is also more complex to implement. I would suggest to at least add a comment to the command, that it will take it's time to complete. Or we could use the above specified command. I tested it on my 15.0.2, an it is working without scanning the huge load of data. |
I also wondered yesterday. I did run the command recommended on the README and it took almost 3 hours to complete... On reading the documentation of the occ command (https://docs.nextcloud.com/server/15/admin_manual/configuration_server/occ_command.html#maintenance-commands-label), I wondered if there was a good reason not to use Edit: by the way, thanks for now supporting recent versions of NC, I was waiting for it for a long time too. Many thanks again for providing this extension ❤️ |
In my recent experience with upgrading to NC15 I had to use |
what i got is a integrity check failed from the overview page,log down here
in my case i run a nextcloud 15 instanse and you should run docs link |
The file that the instructions state to create a file that is named incorrectly and the commands do not follow the NC 16 Docs. Thus, it does not work. I made a pull request. (#105) |
@jhass as this is no longer necessary, this issue should be closed. |
Isn't the command you specified in the README.md unneccessary "large" on big instances?
The following should do it as well:
sudo -u www-data php occ maintenance:mimetype:update-db --repair-filecache
The text was updated successfully, but these errors were encountered: