Drupal 11.2.8, Link Checker 2.1.0.

Here is the message that appears when the "Remove LinkChecker link types" link on the Uninstall page for Link checker is clicked:

Are you sure you want to delete all LinkChecker link types?

This will delete 2225 LinkChecker link types.
This action cannot be undone.
Make a backup of your database if you want to be able to restore these items.

This warning is both scary and incomprehensible. There's no way for the user to assess risk because "link types" could mean anything, including links in content touched by Link Checker.

An explanation of what these link types are might help. From Google's AI:

In the context of the Drupal Link Checker module, a "link type" refers to the classification of a link based on its destination, primarily internal or external, and sometimes file. This classification helps the module manage and check different kinds of links appropriately.

* * *

I tried figure out whether there was a way just to stop Link checker from running at all. Here is what Google's AI said:

To stop the Link Checker module from running in Drupal 11, you can disable the module, configure it to not run on cron, or remove its permissions. The most effective method to stop it entirely is to navigate to Extend (/admin/modules), search for "Link checker," and uninstall the module.

Here are the specific actions to stop it:

  • Disable/Uninstall Module: Go to /admin/modules and uninstall "Link checker".
  • Disable Cron Tasks: Go to the module configuration (/admin/config/content/linkchecker) and uncheck options that run the check automatically during cron runs.
  • Remove Permissions: Navigate to /admin/people/permissions and remove the "Access Linkchecker" permission for roles.

Option 1: Uninstall[1]. See above.

Option 2: Disable Cron tasks. There seems to be no way to do this. A "NEVER" item on the "Check Interval for Links" dropdown would be one approach, but there is no such item, and I can't find another way on the configuration page. Maybe a big red button at the stop of the configuration page saying "STOP!"?

Option 3. Remove permissions. Nope. The Administration checkbox is greyed-out and permanently checked.

Option 4. There is no option 4, but that would be to go into the database, TRUNCATE those fields, and then uninstall Link Checker. Seems risky, and maybe that's why it doesn't come up in Google AI's bullet list.

* * *

Anyhow, I don't need the link checker "link types" data, so I guess I'll blow it away. I sure hope my site works afterwards!

NOTES

[1] Not all hosts permit backups at arbitary times for all service levels. For example, I have regular daily backups, but would need to wait until immediately after the backup fires to uninstall Link Checker. Are we really saying telling users they have to pay their hosts for a more expensive service level simply to uninstall LinkChecker when they want to?

* * *

P.P.S. Uninstalling a module should be easy. Why is this hard?

CommentFileSizeAuthor
link_checker.png158.96 KBlambert

Comments

lambert created an issue. See original summary.

lambert’s picture

Issue summary: View changes

Yes, my site works after the Uninstall.

lambert’s picture

Issue summary: View changes

Blowing away the cron entry in the Semafor table restored cron operation.

lambert’s picture

Issue summary: View changes