App "Not responding" after [2.6.0] update
-
@girish I have has the same issue after automatic update to 2.6
I tried to revert and update it again, but it still fails, here's where it gets stuck:
ug 07 16:18:28 ==> Creating config Aug 07 16:18:28 ==> Changing permissions Aug 07 16:18:28 ==> Updating schema Aug 07 16:18:28 [14:18:28/12] Lock: update.lock Aug 07 16:18:28 [14:18:28/12] Type 'yes' to continue. Aug 07 16:18:28 [14:18:28/12] Starting migration to 147...
Have reverted to 2.5 for now.
-
@p44 said in App "Not responding" after [2.6.0] update:
Aug 05 08:54:06 PHP Warning: Failed to apply migration 147 for ttrss_version: SQLSTATE[42000]: Syntax error or access violation: 1061 Duplicate key name 'ttrss_entries_title_search_idx' in /app/code/classes/db/migrations.php on line 191
@ruihildt Do you get the same error as above? If so, can you put the app in repair mode and tell me what's on line 191 above?
-
Here's the relevant function, line 191 is the second exception:
function migrate() : bool { if ($this->get_version() == -1) { try { $this->migrate_to(0); } catch (PDOException $e) { user_error("Failed to load base schema for {$this->migrations_table}: " . $e->getMessage(), E_USER_WARNING); return false; } } for ($i = $this->get_version() + 1; $i <= $this->get_max_version(); $i++) { try { $this->migrate_to($i); } catch (PDOException $e) { user_error("Failed to apply migration ${i} for {$this->migrations_table}: " . $e->getMessage(), E_USER_WARNING); return false; //throw $e; } } return !$this->is_migration_needed(); }
-
@ruihildt said in App "Not responding" after [2.6.0] update:
I tried to revert and update it again, but it still fails, here's where it gets stuck:
Just to double check, is your issue same as the original issue? Or is the issue that the migration gets stuck (in which case, this is some other issue) ?