Once got into the trap of having viewed the front page of my website and generated impresion data, I cannot deinstall the module anymore as the appropriate checkbox is grayed out. The reason:

The following reason prevents Impression from being uninstalled:
There is content for the entity type: Base entity

(The second line I've translated from german, sorry for mistakes)

As there is neither a user interface nor Views support (see "How to use this module?"), I don't know how to get rid of this data and of Impression in its whole.

Comments

Anonymous’s picture

Andreas.Pohl created an issue. See original summary.

wuinfo - bill wu’s picture

Thanks for using the module. We will need to add more function to empty the data for the module.

Feature needed: need a configuration to stop recording data.

After we add the functions, we can then empty the module data. Then we can disable it.

wuinfo - bill wu’s picture

Title: How to get rid of this module? » How to disable this module?

Change the title so it reflects the intention of this ticket.

wuinfo - bill wu’s picture

Here is the patch.

How to disable this module safely. Following the steps here.
1) Make sure this patch downloaded and applied. Download latest dev head in 8.x-1.x head
2) Configure at /admin/config/people/impression
set time to keep the impression data to 1 hour.
uncheck the "Start capture impression data" option.
wait for one hour.
3) Run cron multiple times until all the impression data is removed from the system.
here to run cron if you are not familiar. /admin/config/system/cron
4) Now, you should be able to uninstall the module.
5) If not, return back to step 3 and do it again.

wuinfo - bill wu’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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