Problem/Motivation

We need to upgrade to the current release. We have significant number of footnotes embedded in the content.

Steps to reproduce

Upgrade 3.1.0 to 4.0.0-beta1 with composer
Run upgrade script

Upgrade script fails to complete.
Error message in logs:

footnotes module
Update #10001

Failed: Symfony\Component\Yaml\Exception\ParseException: File "/var/www/staging/web/modules/contrib/footnotes/config/install/filter.format.footnote.yml" does not exist. in Symfony\Component\Yaml\Parser->parseFile() (line 53 of /var/www/staging/vendor/symfony/yaml/Parser.php).

Seems potentially related to https://www.drupal.org/project/footnotes/issues/3450295 however that was about installing whereas this is an upgrade issue.

Issue fork footnotes-3457137

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

maddentim created an issue. See original summary.

maddentim’s picture

I think the issue is on line 82 here: https://git.drupalcode.org/project/footnotes/-/blob/4.0.x/footnotes.inst...

That directory recently got renamed to "optional" instead of "install". I am assuming changing that would resolve the update issue.

scott_euser made their first commit to this issue’s fork.

  • scott_euser committed 72b3e21e on 4.0.x
    Issue #3457137 by scott_euser, maddentim: Database Update fails when...
scott_euser’s picture

Version: 4.0.0-beta1 » 4.0.x-dev
Status: Active » Fixed

Good spot! Thank you!

Status: Fixed » Closed (fixed)

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