Can't update from Maxmind's CSV

Created on 13 November 2013, about 11 years ago
Updated 28 November 2024, 24 days ago

Before upgrade the module to 6.x-2.0 the Maxmind update stopped working.
If I unninstall the module, clear drupal cache and then install the module again, the update work properly only once

This is my workaround step by step:

$ drush dis smart_ip
The following extensions will be disabled: smart_ip, device_geolocation, services_geolocalization
Do you really want to continue? (y/n): y
device_geolocation was disabled successfully.                                                                                                                        [ok]
smart_ip was disabled successfully.                                                                                                                                  [ok]
services_geolocalization was disabled successfully.                                                                                                                  [ok]
$ drush pm-uninstall smart_ip
The following modules will be uninstalled: smart_ip
Do you really want to continue? (y/n): y
smart_ip was successfully uninstalled.                                                                                                                               [ok]
$ drush cc all
'all' cache was cleared                                                                                                                                              [success]
$ drush sql-query "select * from smart_ip;"
ERROR 1146 (42S02) at line 1: Table 'tn6.smart_ip' doesn't exist
$ drush en smart_ip, device_geolocation, services_geolocalization
The following extensions will be enabled: smart_ip, device_geolocation, services_geolocalization
Do you really want to continue? (y/n): y
device_geolocation was enabled successfully.                                                                                                                         [ok]
smart_ip was enabled successfully.                                                                                                                                   [ok]
services_geolocalization was enabled successfully.                                                                                                                   [ok]

If i try to update the database a second time. The process finish apparently without errors but the smart_ip table is empty

🐛 Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

🇦🇷Argentina bolchevique

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024