Discussion
Loading...

Discussion

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
jpoesen | ๐Ÿ‡ช๐Ÿ‡บ | ๐Ÿณ๏ธโ€๐ŸŒˆ
jpoesen | ๐Ÿ‡ช๐Ÿ‡บ | ๐Ÿณ๏ธโ€๐ŸŒˆ
@jpoesen@drupal.community  ยท  activity timestamp 3 days ago

Known issue, being discussed here: https://www.drupal.org/project/drupal/issues/3567483

Drupal.org

Update manager crashing admin panel with uncaught exceptions parsing version strings

Problem/Motivation Update manager is crashing admin panel for versions 9x, 10x with following message: The website encountered an unexpected error. Try again later. UnexpectedValueException: Invalid version string "main" in Composer\Semver\VersionParser->normalize() (line 191 of /var/www/vendor/composer/semver/src/VersionParser.php).
  • Copy link
  • Flag this post
  • Block
jpoesen | ๐Ÿ‡ช๐Ÿ‡บ | ๐Ÿณ๏ธโ€๐ŸŒˆ
jpoesen | ๐Ÿ‡ช๐Ÿ‡บ | ๐Ÿณ๏ธโ€๐ŸŒˆ
@jpoesen@drupal.community replied  ยท  activity timestamp 3 days ago

There does seem to be an issue with the new "main" Drupal core branch introduced today:

It throws an UnexpectedValueException in Composer's VersionParser, called by Core's getPossibleCoreUpdateVersions()...

Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
  • Copy link
  • Flag this comment
  • Block
jpoesen | ๐Ÿ‡ช๐Ÿ‡บ | ๐Ÿณ๏ธโ€๐ŸŒˆ
jpoesen | ๐Ÿ‡ช๐Ÿ‡บ | ๐Ÿณ๏ธโ€๐ŸŒˆ
@jpoesen@drupal.community replied  ยท  activity timestamp 3 days ago

Known issue, being discussed here: https://www.drupal.org/project/drupal/issues/3567483

Drupal.org

Update manager crashing admin panel with uncaught exceptions parsing version strings

Problem/Motivation Update manager is crashing admin panel for versions 9x, 10x with following message: The website encountered an unexpected error. Try again later. UnexpectedValueException: Invalid version string "main" in Composer\Semver\VersionParser->normalize() (line 191 of /var/www/vendor/composer/semver/src/VersionParser.php).
  • Copy link
  • Flag this comment
  • Block
jpoesen | ๐Ÿ‡ช๐Ÿ‡บ | ๐Ÿณ๏ธโ€๐ŸŒˆ
jpoesen | ๐Ÿ‡ช๐Ÿ‡บ | ๐Ÿณ๏ธโ€๐ŸŒˆ
@jpoesen@drupal.community replied  ยท  activity timestamp 3 days ago

If your #Drupal 8/9/10 site is crashing on /admin/ pages due to the new "main" branching scheme in D11, a simple drush cache rebuild won't be enough.

This will do the trick:

```
drush php:eval "Drupal::service('update.manager')->refreshUpdateData()"
```

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About ยท Code of conduct ยท Privacy ยท Users ยท Instances
Bonfire social ยท 1.0.1-beta.35 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct