Loading...
 
Skip to main content

27.7 Upgrade requires running tiki-install.php twice to apply all database patches (27.6 → 27.7)

Status
Open
Subject
27.7 Upgrade requires running tiki-install.php twice to apply all database patches (27.6 → 27.7)
Version
27.x
Category
  • Upgrade Blocker
Resolution status
New
Submitted by
gpinal
Lastmod by
gpinal
Rating
(0)
Description

While upgrading Tiki Wiki CMS Groupware from 27.6 to 27.7 using tiki-install.php, the installer reported the following SQL error during the database upgrade:

Image

Since the installer allows patch errors to be ignored, I checked the checkbox for this failed migration (20260525_increase_filename_len_in_pk_tiki) and clicked Continue to complete the upgrade.

The installer finished successfully, and I was able to log in to the application. However, the Admin Dashboard displayed a Database Version Problem, indicating that the following database patches were still pending:

-+20260626_calendar_items_add_reminder_tiki.sql
20260703_calendar_recurrence_add_reminder_tiki.sql+-

I then ran tiki-install.php again. During the second run, these pending database patches were applied successfully, and the Database Version Problem disappeared.

<strong>Expected behavior</strong>: The database should be fully upgraded after the first run, without requiring tiki-install.php to be executed a second time

Files
  1. Screenshot 2026-07-28 170236
  2. Screenshot 2026-07-28 170456
Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
9011
Created
Tuesday 28 July, 2026 11:58:56 UTC
by gpinal
LastModif
Tuesday 28 July, 2026 11:58:56 UTC


Show PHP error messages