Error: ENOENT: no such file or directory, open '/usr/local/share/GeoIP/GeoIP.dat.tmp'

Issue #464 resolved
Former user created an issue

[cont-init.d] 34-clamav.sh: executing... , [cont-init.d] 34-clamav.sh: exited 0., [cont-init.d] 35-geoip.php: executing... , downloading /usr/local/share/GeoIP/GeoIP.dat, events.js:183, throw er; // Unhandled 'error' event, ^, , Error: ENOENT: no such file or directory, open '/usr/local/share/GeoIP/GeoIP.dat.tmp', [cont-init.d] 35-geoip.php: exited 0., [cont-init.d] 99-custom-plugins: executing... , [cont-init.d] 99-custom-plugins: exited 0., [cont-init.d] done., [services.d] starting services, , ,

Comments (4)

  1. Tufan Deveci

    i have manually create GeoIP folder at /usr/local/share and restart container.

    [cont-init.d] 35-geoip.php: executing...

    downloading /usr/local/share/GeoIP/GeoIP.dat

    saved /usr/local/share/GeoIP/GeoIP.dat

    downloading /usr/local/share/GeoIP/GeoIPCity.dat

    saved /usr/local/share/GeoIP/GeoIPCity.dat

    downloading /usr/local/share/GeoIP/GeoIPCityv6.dat

    saved /usr/local/share/GeoIP/GeoIPCityv6.dat

    downloading /usr/local/share/GeoIP/GeoIPv6.dat

    saved /usr/local/share/GeoIP/GeoIPv6.dat

    downloading /usr/local/share/GeoIP/GeoIPASNum.dat

    saved /usr/local/share/GeoIP/GeoIPASNum.dat

    downloading /usr/local/share/GeoIP/GeoIPASNumv6.dat

    saved /usr/local/share/GeoIP/GeoIPASNumv6.dat

    downloading /usr/local/share/GeoIP/GeoLite2-Country.mmdb

    saved /usr/local/share/GeoIP/GeoLite2-Country.mmdb

    downloading /usr/local/share/GeoIP/GeoLite2-City.mmdb

    saved /usr/local/share/GeoIP/GeoLite2-City.mmdb

    downloading /usr/local/share/GeoIP/GeoLite2-ASN.mmdb

    [cont-init.d] 35-geoip.php: exited 0.

    [cont-init.d] 99-custom-plugins: executing...

    [cont-init.d] 99-custom-plugins: exited 0.

    [cont-init.d] done.

    [services.d] starting services

    Poste.io container should be running now at http://10.0.20.205

    [services.d] done.

  2. Scott MacDonald

    I suspect the folder needs to get created in the \data folder so that the information is preserved should the container be stopped and removed.

    Can this behaviour be confirmed by any other users of GeoIP?

  3. Log in to comment