Update Nexctloud DB due to missing indexes
-
-
I tried with this command, with no success:
Which image are you using?
[EDIT] If using the Linuxserver version, these are the steps to do it (your root@xxxxxyyyy will be specific to your system)
-
You don't even need a whole interactive shell.
Also, the PHP commands should be executed as the user www-data, for the official Nextcloud images - and for all other well-made images.
This is a one-liner:
docker exec -u www-data <your container name> php -f occ db:add-missing-indices -
for the official Nextcloud images
And why do you think I asked about which image OP was using?
Linuxserver images uses abc NOT www-data
Nonetheless, thank you for the input
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!