Coder Social home page Coder Social logo

Comments (2)

stevo01 avatar stevo01 commented on June 18, 2024

Hi,
the environment variable "UPDATES" allows you to enable the a periodical update which is running in background.

note: you missed the options "-e UPDATES=enabled" and "-v openstreetmap-rendered-tiles:/var/lib/mod_tile" during import. Both are required to prepare the periodical update in directory "/var/lib/mod_tile/.osmosis".

Here are some useful commands for debugging of the update feature:

connect to docker container shell

docker exec -i -t openstreetmap-tile-server /bin/bash

show` replication timestamp of your importet database

root@360039daaf97:/home/renderer/src/openstreetmap-carto# cat  /var/lib/mod_tile/replication_timestamp.txt 
2019-09-01

show configuration of osmosis

cat /var/lib/mod_tile/.osmosis/configuration.txt 
# The URL of the directory containing change files.
baseUrl=https://planet.openstreetmap.org/replication/minute

# Defines the maximum time interval in seconds to download in a single invocation.
# Setting to 0 disables this feature.
maxInterval = 3600

show logfile / replag

root@5f55bf46f268:/home/renderer/src/openstreetmap-carto# tail -f /var/log/tiles/run.log 
[2019-09-16 19:40:01] 19514 start import from seq-nr 3674571, replag is 1 minute(s)
[2019-09-16 19:40:01] 19514 downloading diff
[2019-09-16 19:40:02] 19514 filtering diff skipped
[2019-09-16 19:40:02] 19514 importing diff
[2019-09-16 19:40:10] 19514 expiring tiles
[2019-09-16 19:40:11] 19514 Done with import
[2019-09-16 19:41:01] 19810 start import from seq-nr 3674572, replag is 1 minute(s)
[2019-09-16 19:41:01] 19810 downloading diff
[2019-09-16 19:41:02] 19810 filtering diff skipped
[2019-09-16 19:41:02] 19810 importing diff
[2019-09-16 19:41:07] 19810 expiring tiles
[2019-09-16 19:41:07] 19810 Done with import

from openstreetmap-tile-server.

spearox avatar spearox commented on June 18, 2024

Dear @stevo01,

Thanks for you help! I'll checked it. The update works!

from openstreetmap-tile-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.