[Bug]: SchemaChecker finds unexpected indexes on default not-modifed AIO-testing instance
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 42/100
Rechercherichtung
Start by tracing the SchemaChecker report and the migration code for the four listed differences: unexpected indexes on oc_filecache, oc_federated_invites, and oc_text_steps, plus the autoincrement mismatch on oc_share_external.id. Check how the schema is defined for the upgraded Nextcloud 35.0.2 PostgreSQL instance and compare it with what the checker expects. Done means a default upgraded instance no longer reports unexpected differences, or migrations correct them automatically.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
⚠️ This issue respects the following points: ⚠️
- This is not a troubleshooting question, general support matter, or webserver/proxy problem, but likely a bug (if unsure, ask the Community Help Forum).
- This issue is not already reported on Github OR solved at the Community Help Forum (I've searched!).
- I'm using a maintained major version of Nextcloud Server and tested against the latest patch level. (Supported major versions and current patch levels).
- I agree to follow Nextcloud's Code of Conduct.
- I've tried my best to provide clear reproduction steps that someone unfamiliar with this bug could use to reproduce it.
Bug description
SchemaChecker finds unexpected indexes on default not-modifed AIO-testing instance:
2026-11-03T10:40:58.234870806Z The database schema does not match what is expected for the installed version:
2026-11-03T10:40:58.234916517Z - oc_filecache: unexpected index 'fs_storage_path_prefix'
2026-11-03T10:40:58.234922778Z - oc_federated_invites: unexpected index 'fed_inv_open_email_uniq'
2026-11-03T10:40:58.234927801Z - oc_share_external: column 'id' differs in: autoincrement
2026-11-03T10:40:58.234932519Z - oc_text_steps: unexpected index 'text_steps_doc_id_id_index'
Steps to reproduce
- Update to nc35.0.2
- See the logs as mentioned above
Expected behavior
It should not report any or the migration code should fix these automatically.
Nextcloud Server version
35
Operating system
Other
PHP engine version
PHP 8.4
Web server
Apache (supported)
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 31 to 32)
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
{
"system": {
"upgrade.cli-upgrade-link": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/2726",
"memcache.local": "\\OC\\Memcache\\APCu",
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"overwritehost": "aio-testing.nextcloud.com",
"overwriteprotocol": "https",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"aio-testing.nextcloud.com",
"nextcloud-aio-apache"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"version": "35.0.2.2",
"overwrite.cli.url": "https:\/\/aio-testing.nextcloud.com\/",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"loglevel": 2,
"log_type": "file",
"logfile": "\/var\/www\/html\/data\/nextcloud.log",
"log_rotate_size": "10485760",
"log.condition": {
"apps": [
"admin_audit"
]
},
"preview_max_x": 2048,
"preview_max_y": 2048,
"jpeg_quality": "60",
"enabledPreviewProviders": {
"1": "OC\\Preview\\Image",
"2": "OC\\Preview\\MarkDown",
"3": "OC\\Preview\\MP3",
"4": "OC\\Preview\\TXT",
"5": "OC\\Preview\\OpenDocument",
"6": "OC\\Preview\\Movie",
"0": "OC\\Preview\\Imaginary",
"23": "OC\\Preview\\ImaginaryPDF",
"24": "OCA\\Eurooffice\\Preview"
},
"enable_previews": true,
"upgrade.disable-web": true,
"mail_smtpmode": "smtp",
"trashbin_retention_obligation": "auto, 30",
"versions_retention_obligation": "auto, 30",
"activity_expire_days": "30",
"simpleSignUpLink.shown": false,
"share_folder": "\/Shared",
"one-click-instance": true,
"one-click-instance.user-limit": 100,
"one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/",
"htaccess.RewriteBase": "\/",
"files_external_allow_create_new_local": true,
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"data-fingerprint": "6e9f64b783f82c86d3ec7f008a9ed58d",
"allow_local_remote_servers": true,
"maintenance": false,
"onlyoffice": {
"jwt_secret": "***REMOVED SENSITIVE VALUE***",
"jwt_header": "AuthorizationJwt",
"editors_check_interval": 0
},
"updatedirectory": "\/nc-updater",
"auth.bruteforce.protection.enabled": true,
"ratelimit.protection.enabled": true,
"davstorage.request_timeout": 3600,
"dbpersistent": false,
"appsallowlist": false,
"updater.release.channel": "stable",
"maintenance_window_start": 100,
"preview_imaginary_key": "***REMOVED SENSITIVE VALUE***",
"documentation_url.server_logs": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/5425",
"updatechecker": false,
"twofactor_enforced": false,
"twofactor_enforced_groups": [],
"twofactor_enforced_excluded_groups": [],
"default_phone_region": "EN",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"password": "***REMOVED SENSITIVE VALUE***",
"port": 6379,
"timeout": 3,
"read_timeout": 10
},
"serverid": 445,
"log_type_audit": "file",
"logfile_audit": "\/var\/www\/html\/data\/audit.log",
"preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
"update_channel": "stable",
"eurooffice": {
"editors_check_interval": 0,
"jwt_secret": "***REMOVED SENSITIVE VALUE***",
"jwt_header": "AuthorizationJwt"
},
"AIO_VERSION": "v15.0.2"
}
}
List of activated Apps
Enabled:
- activity: 8.0.0
- admin_audit: 2.0.0
- appstore: 2.0.0
- bruteforcesettings: 8.0.0
- calendar: 6.6.4
- circles: 35.0.0
- cloud_federation_api: 2.0.0
- comments: 2.0.0
- contacts: 8.9.3
- contactsinteraction: 2.0.0
- dashboard: 8.0.0
- dav: 2.0.0
- deck: 1.19.1
- federatedfilesharing: 2.0.0
- federation: 2.0.0
- files: 3.0.0
- files_antivirus: 6.5.0
- files_downloadlimit: 5.3.0
- files_lock: 35.0.1
- files_pdfviewer: 8.0.0
- files_reminders: 2.0.0
- files_sharing: 2.0.0
- files_trashbin: 2.0.0
- files_versions: 2.0.0
- firstrunwizard: 8.0.0
- logreader: 8.0.0
- lookup_server_connector: 2.0.0
- nextcloud-aio: 0.9.0
- nextcloud_announcements: 7.0.0
- notifications: 8.0.1
- notify_push: 1.4.2
- oauth2: 2.0.0
- office: 1.1.0
- password_policy: 7.0.0
- photos: 8.0.0
- privacy: 7.0.0
- profile: 2.0.0
- provisioning_api: 2.0.0
- recognize: 13.1.0
- recommendations: 8.0.0
- related_resources: 6.0.0
- richdocuments: 12.0.1
- serverinfo: 7.0.0
- settings: 2.0.0
- sharebymail: 2.0.0
- sharing: 1.0.4
- spreed: 25.0.6
- support: 7.0.0
- survey_client: 7.0.0
- systemtags: 2.0.0
- tasks: 0.18.1
- text: 9.0.1
- theming: 3.0.0
- twofactor_backupcodes: 2.0.0
- twofactor_nextcloud_notification: 9.0.0
- twofactor_totp: 17.1.0
- updatenotification: 2.0.0
- user_status: 2.0.0
- viewer: 8.0.0
- weather_status: 2.0.0
- webhook_listeners: 2.0.0
- whiteboard: 2.1.2
- workflowengine: 3.0.0
Disabled:
- app_api: 35.0.0 (installed 33.0.0)
- encryption: 3.0.1
- files_external: 2.0.0 (installed 1.24.1)
- files_rightclick: 0.15.1 (installed 1.6.0)
- suspicious_login: 13.0.0
- user_ldap: 2.0.0 (installed 1.24.0)
Nextcloud Signing status
nothing to report
Nextcloud Logs
no logs available
Additional info
No response
- Vorherrschende Sprache
- PHP
- Sterne
- 37.5k
- Forks
- 5.4k
- Ø Merge
- 1 T. 13 Std.
- Gemergte PRs (30 T.)
- 639
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus nextcloud/server
-
35-feedback
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
0. Needs triage 35-feedback bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
Maintainer antworten meist innerhalb von 1 Tag
-
workflowengine: File entity reuses the node of the first "Tag assigned" event for all later events in the same processEvtl. vergeben @lazerg hat das vor 2 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Maintainer antworten meist innerhalb von 1 Tag
-
Contacts import aborts with TypeError when vCards have no UID (TextImporter structure)Evtl. vergeben @SebastianKrupinski hat das vor 6 Tagen übernommen. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
nextcloud/server#66486 · 2 Kommentare · 2 Reaktionen · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Unified search: screen reader hears "No matching results" on mobile even when there are resultsEvtl. vergeben @lazerg hat das vor 10 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in nextcloud/server
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
TYPO3-Solr/ext-solr#4850 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
[Sync EN] stream: document the errors of the stream_context_*() and stream filter functions (#6091)Offensync-en
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
[Sync EN] stream: document the errors of the stream_context_*() and stream filter functions (#6091)Offensync-en
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
Maintainer antworten meist innerhalb von 1 Tag
-
Перевод устарел
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
glpi-project/glpi#26353 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag