Problem/Motivation

After installation, I have enabled module. Created as described in README and in CSV_Test.csv-file my csv, and imported it with module. The import didnt worked, reverie some error and blank page. After that tried to uninstall the mod - didnt worked - receive error:
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'MY_DB_NAME.file_managed' doesn't exist: SELECT file_managed.fid FROM file_managed WHERE uri LIKE :fid; Array ( [:fid] => public://taxonomy_files/% ) in taxonomy_import_uninstall() (line 15 of /PATH_TO/modules/contrib/taxonomy_import/taxonomy_import.install).

I can remove it with composer remove drupal/taxonomy_import , but after that if I run
drush/updatedb I receive error:

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

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

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

Re-installation didnt help. So, how do I please remove it?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#8 3236839-8.patch4.6 KBvuil

Comments

alexeye created an issue. See original summary.

alexeye’s picture

PS, (if necessary): the vocabulary was already existed, so for import I gave a name of this vocabulary, as in README wrote the vocabulary can be reused.

PS2: removed now existing vocabulary and tried to import with creating a new vocabulary - the same error during import: "The website encountered an unexpected error. Please try again later."

PS3: Tried it with xml-file - the same error.

PS4: found the related issue, added it to report (https://www.drupal.org/project/taxonomy_import/issues/3017222). Last comment there 9 days ago and still no fix.

Admins, please set this module AS NOT STABLE.

PS5: thanks the last at this time commentary #9 from related theme (https://www.drupal.org/project/taxonomy_import/issues/3017222#comment-14...), I was finally able to import xml-file: vocabulary was created and imported several terms.
BUT its still not possible to UNINSTALL this module:

Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'MY_DB_NAME.file_managed' doesn't exist: SELECT file_managed.fid FROM file_managed WHERE uri LIKE :fid; Array ( [:fid] => public://taxonomy_files/% ) in taxonomy_import_uninstall() (line 15 of /PATH_TO/modules/contrib/taxonomy_import/taxonomy_import.install).

alexeye’s picture

alexeye’s picture

thanks https://www.drupal.org/project/taxonomy_import/issues/3017222#comment-14... , finally I was able to remove this module: in the same manner as there described I changed in file: modules/contrib/taxonomy_import/taxonomy_import.install on the line 15 the file_managed TO {file_managed}. And was able run drush pmu taxonomy_import . After that just composer-command: remove drupal/taxonomy_import .

alexeye’s picture

PLEASE SET THIS MODULE AS NOT STABLE, BECAUSE IT IS NOT STABLE

vuil’s picture

Version: 2.0.3 » 2.x-dev

@alexeye
Please test with the latest 2.x-dev and let us know if the issue still exist. Thank you.

vuil’s picture

Status: Active » Postponed (maintainer needs more info)
vuil’s picture

Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new4.6 KB
vuil’s picture

Status: Needs review » Reviewed & tested by the community

  • vuil committed d648b37 on 2.x
    Issue #3236839 by vuil, alexeye: cannot disable or uninstall
    
vuil’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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