Bug 12662

Summary: issue getting location database updates
Product: Location Database Reporter: Charles Brown <cab_77573>
Component: liblocAssignee: Peter Müller <peter.mueller>
Status: CLOSED FIXED QA Contact: Michael Tremer <michael.tremer>
Severity: Minor Usability    
Priority: Will affect almost no one CC: bbitsch
Version: unspecified   
Hardware: all   
OS: All   

Description Charles Brown 2021-07-18 17:31:22 UTC
Updating location database fails if /var/lib/location/database.db is missing

https://community.ipfire.org/t/updating-location-database-fails-if-var-lib-location-database-db-is-missing/5828
Comment 1 Michael Tremer 2021-07-19 09:38:23 UTC
@Peter: Could you please investigate?
Comment 2 Bernhard Bitsch 2021-07-20 08:31:20 UTC
The issue exists with an existent data base also.
My output:
/usr/bin/location --debug update
HTTP GET Request to location.ipfire.org
        URL: https://location.ipfire.org/databases/1/location.db.xz
        Headers:
                If-modified-since: Tue, 20 Jul 2021 05:53:17 GMT
                User-agent: location/0.9.6
HTTP Response: 304
        Headers:
                date: Tue, 20 Jul 2021 08:27:18 GMT
                etag: "47cbb4-5c787a7f5483c"
                strict-transport-security: max-age=31536000; includeSubDomains; preload
                connection: close
https://location.ipfire.org/databases/ is serving an outdated database. Trying next mirror...