nextcloud / nextcloud/call_summary_bot
database error on upgrade
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 14
- Forks
- 3
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 6
Description
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Steps to reproduce
regular upgrade/update with occ
Expected behaviour
No problems
Actual behaviour
Database error when running migration 3000Date20250120145647 for app call_summary_bot
An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'bbdbc67ad0d82bc429bc4ecdd2bf1968625da334' for key 'talk_bots_server_urlhash'
Server configuration
Web server: Apache/Nginx
Apache
Database: MySQL/Maria/SQLite/PostgreSQL
mysql
Version: 11.4.4
PHP version: 8.1/8.2/8.3
Version: 8.2.27
Nextcloud version: (see Nextcloud admin page)
31.0.0 RC1
List of activated apps
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Nextcloud configuration
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
Browser
Browser name: Firefox/Chrome/Safari/…
Browser version: 124/125/…
Operating system: Windows/Ubuntu/Mac/…
Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing a regular upgrade with occ on the reported Nextcloud 31.0.0 RC1, PHP 8.2.27, and MySQL 11.4.4 setup. Investigate migration 3000Date20250120145647 for app call_summary_bot and the duplicate talk_bots_server_urlhash entry. Done means the upgrade completes without the reported integrity-constraint violation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mysql, php
- Domain
- backend, database
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100