The module rot13 does not exist.

Created on 25 October 2023, about 1 year ago
Updated 4 March 2024, 11 months ago

Problem/Motivation

After upgrading this module to 2.1, I'm receiving the following error:

[error]   (Currently using Missing or invalid module The following module is marked as installed in the core.extension 
configuration, but it is missing:
 * rot13

Review the  suggestions for resolving this incompatibility [1] to repair your 
installation, and then re-run update.php.

[1] https://www.drupal.org/docs/updating-drupal/troubleshooting-database-updates
) 

Steps to reproduce

  • Install the version 2.0.1
  • Install the rot13 module
  • Upgrade it to 2.1
  • Run drush updb
🐛 Bug report
Status

Closed: works as designed

Version

2.1

Component

Code

Created by

🇧🇷Brazil hfernandes

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @hfernandes
  • @hfernandes opened merge request.
  • Status changed to Needs review about 1 year ago
  • this seems to be an chicken/egg problem..

    when updating drupal/obfuscate_email to its new version via composer drupal/rot13 will be removed because it is not the modules dependency anymore. however it remains active in the drupal database it is now shown missing.

    workaround
    1. downgrade to old version via
    composer require 'drupal/obfuscate_email:^1'

    2. uninstall rot13 (this will uninstall obfuscate_email as well as it is a depenency) & clear cache
    drush pmu rot13 -y && drush cr

    3. require new version
    composer require 'drupal/obfuscate_email:^2.1'

    4. re enable module & clear cache
    drush en obuscate_email && drush cr

  • Issue was unassigned.
  • 🇬🇧United Kingdom very_random_man

    I came across this recently whilst upgrading a site from D8 (using v1 of this module) to D10 (using v2). The solution for me, as I'm doing automated releases, was to disable on the D9 intermediate release and upgrade / re-enable on the subsequent D10 release.

  • 🇪🇸Spain ignaciolflores

    I had the same problem when upgrading a site to D10.
    My problem was that I had configuration that depended on obfuscate_email, so I couldn't uninstall rot13 without removing this configuration.
    My solution has been to create a patch for obfuscate_email:1.3 that removes rot13 as a dependency, so you can uninstall it.
    After that, I updated the module to the 2.x D10 compatible version and removed the patch from the composer.json file.
    I am attaching the patch in case it helps anyone.

  • Status changed to Closed: works as designed 11 months ago
  • 🇨🇦Canada b_sharpe

    This was covered in the release notes here: https://www.drupal.org/project/obfuscate_email/releases/2.1.0 as well as hook for uninstall was covered in #3314887: rot13 sub-module makes no sense, please unify with main module

    I'll add to the project pages as well.

Production build 0.71.5 2024