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.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | impression-allow_disable_module_by_remove_data-2736089-4-v8.patch | 3.55 KB | wuinfo - bill wu |
Comments
Comment #1
Anonymous (not verified) commentedAndreas.Pohl created an issue. See original summary.
Comment #2
wuinfo - bill wu commentedThanks 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.
Comment #3
wuinfo - bill wu commentedChange the title so it reflects the intention of this ticket.
Comment #4
wuinfo - bill wu commentedHere 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.
Comment #5
wuinfo - bill wu commented