Update to the latest version fails if Locale isn't enabled, because the update script expects the locales_source table to exist:

Update #7104

Failed: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table '[database].locales_source' doesn't exist: SELECT COUNT(lid) FROM {locales_source} WHERE textgroup = 'metatag' AND context LIKE 'metatag_output:%:%:%:%'; Array ( ) in metatag_update_7104() (line 1959 of /var/www/sites/all/modules/metatag/metatag.install).

Comments

noah created an issue. See original summary.

ckoharj’s picture

I'm having the same issue.

noah’s picture

Simple workaround, for now:

  1. enable Locale
  2. run updates
  3. disable Locale
  4. uninstall Locale
ckoharj’s picture

Yup. Perfect. Thanks

damienmckenna’s picture

Version: 7.x-1.9 » 7.x-1.x-dev
Component: Integration with other module » Code
Priority: Normal » Major
Status: Active » Needs review
StatusFileSize
new4.89 KB

Oh you are kidding me! I am so sorry! :(

This should fix it.

damienmckenna’s picture

chaseontheweb’s picture

Update #7105 needs the same fix.

Tibeja’s picture

Hi,

How do I install /run the patch?

Never mind. Fund it my self.

lupus78’s picture

Is there a plan to do a quick 1.10 release to fix this issue? A broken update function is not a nice situation.

damienmckenna’s picture

StatusFileSize
new5.37 KB

Yes, I'll be releasing 1.10 today.

This fixes update 7105.

damienmckenna’s picture

Status: Needs review » Fixed

Committed. Thanks for the reviews, and I'm sorry for the mixup :(

  • DamienMcKenna committed e502a14 on 7.x-1.x
    Issue #2654638 by DamienMcKenna, noah, marleythedog: Allow updates 7104...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.