Name: DataPortalStats
Owner: Natural History Museum
Description: Generate quarterly stats
Created: 2016-02-04 15:07:53.0
Updated: 2017-01-10 15:14:22.0
Pushed: 2017-03-03 16:43:01.0
Homepage: null
Size: 28
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Generate quarterly stats
This needs to be installed on the server running ckanpackager.
The ckanpackager script stores all requests in an SQLite DB stats.db.
Inside docker, this is available at /var/lib/ckanpackager/stats.db.
Outside of docker, you will need to locate the location of the mounted volume.
To do so, find the container ID of the docker nginx_deploy instance
docker ps
And then lookup the volume:
docker inspect [container id]
Look at the Volumes section fo the JSON - it's currently mounted at /var/lib/docker/vfs/dir/7d8538fc1a2c2d1947573d2b177728941d7573bf1645f10f356f16d695e71f54 on the host system.