The database is missing some indexes. #2959
-
The overview for my new instance shows the following warning: There are some warnings regarding your setup. I ran:
Warning remains. Suggestions appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This will be resolved with Nextcloud 27.0.1 stable. |
Beta Was this translation helpful? Give feedback.
-
hey everyone! Ran into those pesky "missing index" warnings in Nextcloud running in Docker? Here’s a quick fix: 1. Find Your Container: First up, let's figure out which container is running Nextcloud: docker ps 2. Run the Command: Replace docker exec -u 33 -it nextcloud-container-name php occ db:add-missing-indices 3. Check if It Worked: Confirm everything's sorted by running: docker exec -u 33 -it nextcloud-container-name php occ status Pro Tip: This might take a while for large databases, so maybe run it when your server's not too busy. Oh, and always back up your data before you poke around! If you're setting up for the first time or need more detailed steps on getting Nextcloud up and running with Docker Compose, check out my guide: How to Install Nextcloud Using Docker Compose. Happy tweaking! |
Beta Was this translation helpful? Give feedback.
This will be resolved with Nextcloud 27.0.1 stable.