Uninstallation does not delete tables in database

asb - February 7, 2009 - 13:46
Project:Nodeaccess
Version:5.x-1.2
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

Hi,

after disabling and uninstalling the "Nodeaccess" module, the "nodeaccess" and "nodeaccess_role_alias" tables (are there any more used by this module?) tables still exist in the database. However, the module outputted no error messages during uninstall, and the tables were empty.

I manually did a DROP TABLE `nodeaccess`, `nodeaccess_role_alias`; to clean up the mess; new nodes that are supposed to be "published" and "promoted to the front page" are still invisible to anonymous users, and I can't make them visible again.

Additionally, I can't find these nodes in the "node_access" table (belonging to node.module from Drupal Core), e.g. with SELECT *  FROM `node_access` WHERE `nid` = 30432 where "30432" is the nid of a newly created node; shouldn't a record for new nodes appear in this table with something like "grant_view = 1"? Does the "Nodeaccess" some modification to this table from core, even after uninstalling the module and deleting the files from /sites/all/modules??

Thanks for any help & greetings, -asb

PS: This might be related to this crital issue.

#1

abedzilla - February 9, 2009 - 04:24

subscribing

#2

hunthunthunt - February 12, 2009 - 15:17

Had the same problem, can be fixed by rebuilding node permissions, see:

http://drupal.org/node/122476

#3

asb - April 23, 2009 - 17:08

...but only if it finishes. On larger sites, it usually doesn't.

Edit: ... or it dies for other reasons, like so:

Fatal error: Allowed memory size of 157286400 bytes exhausted (tried to allocate 82 bytes) in /var/www/drupal/includes/module.inc on line 87

That site has some 50k nodes and already runs with an PHP memory_limit set to 150M; increasing this in steps from 256M, 512M, 1024M and even 2048M doesn't help (the server has 4 GB of RAM).

Greetings, -asb

 
 

Drupal is a registered trademark of Dries Buytaert.