-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap28-feedbackbugneeds info
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
Exception: Database error when running migration 28000Date20230906104802 for app core Foreign key name "FK_1C85E16C3C947C0F" for table "oc_polls_share" collides with the constraint on table "oc_polls_share".
Steps to reproduce
didn't try on a fresh system
Expected behavior
correct update of db scheme
Installation method
Community Manual installation with Archive
Nextcloud Server version
27
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 22 to 23)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
{
"system": {
"blacklisted_files": [],
"updatechecker": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"***REMOVED SENSITIVE VALUE***"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "27.1.5.1",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"filelocking.enabled": true,
"memcache.local": "\\OC\\Memcache\\Redis",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"timeout": 0,
"password": "***REMOVED SENSITIVE VALUE***",
"dbindex": 0
},
"loglevel": 2,
"logtimezone": "Europe\/Berlin",
"log_rotate_size": 104857600,
"installed": true,
"theme": "",
"maintenance": false,
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "sendmail",
"files_antivirus.av_cmd_options": "",
"files_antivirus.av_path": "\/usr\/bin\/clamscan",
"allow_user_to_change_mail_address": "",
"mysql.utf8mb4": true,
"mail_sendmailmode": "smtp",
"default_phone_region": "DE",
"enable_previews": true,
"enabledPreviewProviders": [
"OC\\Preview\\Movie",
"OC\\Preview\\PNG",
"OC\\Preview\\JPEG",
"OC\\Preview\\GIF",
"OC\\Preview\\BMP",
"OC\\Preview\\XBitmap",
"OC\\Preview\\MP3",
"OC\\Preview\\MP4",
"OC\\Preview\\TXT",
"OC\\Preview\\MarkDown",
"OC\\Preview\\PDF"
],
"app_install_overwrite": [
"richdocumentscode",
"ransomware_protection",
"files_downloadactivity"
],
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25",
"updater.secret": "***REMOVED SENSITIVE VALUE***"
}
}List of activated Apps
Enabled:
- activity: 2.19.0
- admin_audit: 1.17.0
- announcementcenter: 6.7.0
- audioplayer: 3.4.1
- bruteforcesettings: 2.7.0
- calendar: 4.6.2
- circles: 27.0.1
- cloud_federation_api: 1.10.0
- comments: 1.17.0
- contacts: 5.5.1
- contactsinteraction: 1.8.0
- dashboard: 7.7.0
- dav: 1.27.0
- external: 5.2.1
- federatedfilesharing: 1.17.0
- files: 1.22.0
- files_antivirus: 5.4.0
- files_downloadactivity: 1.16.0
- files_external: 1.19.0
- files_pdfviewer: 2.8.0
- files_reminders: 1.0.0
- files_sharing: 1.19.0
- files_texteditor: 2.15.1
- files_trashbin: 1.17.0
- files_versions: 1.20.0
- firstrunwizard: 2.16.0
- impersonate: 1.14.0
- integration_openstreetmap: 1.0.6
- logreader: 2.12.0
- lookup_server_connector: 1.15.0
- maps: 1.2.0
- nextcloud_announcements: 1.16.0
- notes: 4.9.2
- notifications: 2.15.0
- oauth2: 1.15.1
- password_policy: 1.17.0
- photos: 2.3.0
- polls: 5.4.2
- privacy: 1.11.0
- provisioning_api: 1.17.0
- quota_warning: 1.18.0
- ransomware_protection: 1.14.0
- recognize: 5.0.3
- recommendations: 1.6.0
- related_resources: 1.2.0
- richdocuments: 8.2.3
- richdocumentscode: 23.5.604
- serverinfo: 1.17.0
- settings: 1.9.0
- sharebymail: 1.17.0
- spreed: 17.1.4
- stt_whisper: 1.0.7
- support: 1.10.0
- survey_client: 1.15.0
- suspicious_login: 5.0.0
- systemtags: 1.17.0
- tasks: 0.15.0
- text: 3.8.0
- theming: 2.2.0
- twofactor_backupcodes: 1.16.0
- updatenotification: 1.17.0
- user_usage_report: 1.11.1
- viewer: 2.1.0
- weather_status: 1.7.0
- workflowengine: 2.9.0
Disabled:
- encryption: 2.16.0
- federation: 1.18.0 (installed 1.17.0)
- sharepoint: 1.15.0 (installed 1.15.0)
- twofactor_totp: 10.0.0-beta.2
- user_ldap: 1.19.0
- user_status: 1.8.1 (installed 1.5.0)Nextcloud Signing status
upgrade stuckedNextcloud Logs
{
"reqId": "uHAbKnMedDkHYviN4viE",
"level": 3,
"time": "2024-01-12T13:20:09+01:00",
"remoteAddr": "***REMOVED SENSITIVE VALUE***",
"user": "--",
"app": "updater",
"method": "GET",
"url": "/core/ajax/update.php?requesttoken=***REMOVED SENSITIVE VALUE***",
"message": "\\OC\\Updater::failure: Exception: Database error when running migration 28000Date20230906104802 for app core\nForeign key name \"FK_1C85E16C3C947C0F\" for table \"oc_polls_share\" collides with the constraint on table \"oc_polls_share\".",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0",
"version": "27.1.5.1",
"data": {
"app": "updater"
}
}Additional info
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap28-feedbackbugneeds info