<Ask> Auto Update Tile Server OSM

Hi All,

I want to make auto update my tile server with OSM.it’s like syncronization my tile server to OSM.I want to running it schedully.
How got it ?

Thanks

Can http://wiki.openstreetmap.org/wiki/Minutely_Mapnik be helpful?

i just following reference from http://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/

But after i execute sudo -u www-data /usr/bin/openstreetmap-tiles-update-expire.sh and any process working fine, nothing new on my map, it’s still old one.

Should i remove the old tile image and re renderd again ?

thanks

i have error when execute

sudo -u www-data /usr/bin/openstreetmap-tiles-update-expire.sh

is it cause my tile server not up to date ?



sudo -u www-data /usr/bin/openstreetmap-tiles-update-expire.sh
 
Updating tile server at  Mon Apr 30 15:12:39 WIT 2012
Apr 30, 2012 3:12:40 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.34
log4j:WARN No appenders could be found for logger (org.java.plugin.ObjectFactory).
log4j:WARN Please initialize the log4j system properly.
Apr 30, 2012 3:12:41 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
Apr 30, 2012 3:12:41 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Launching pipeline execution.
Apr 30, 2012 3:12:41 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Pipeline executing, waiting for completion.
Apr 30, 2012 3:12:42 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Pipeline complete.
Apr 30, 2012 3:12:42 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Total execution time: 1929 milliseconds.
osm2pgsql SVN version 0.80.0 (32bit id space)
 
Using projection SRS 900913 (Spherical Mercator)
Setting up table: planet_osm_point
NOTICE:  table "planet_osm_point_tmp" does not exist, skipping
Setting up table: planet_osm_line
NOTICE:  table "planet_osm_line_tmp" does not exist, skipping
Setting up table: planet_osm_polygon
NOTICE:  table "planet_osm_polygon_tmp" does not exist, skipping
Setting up table: planet_osm_roads
NOTICE:  table "planet_osm_roads_tmp" does not exist, skipping
Allocating memory for dense node cache
Allocating dense node cache in one big chunk
Allocating memory for sparse node cache
Sharing dense sparse
Node-cache: cache=800MB, maxblocks=102401*8192, allocation method=11
Mid: pgsql, scale=100
Setting up table: planet_osm_nodes
Setting up table: planet_osm_ways
Setting up table: planet_osm_rels
 
Reading in file: /var/lib/mod_tile/changes.osc.gz
Processing: Node(0k 0.0k/s) Way(0k 0.00k/s) Relation(0 0.00/s)  parse time: 0s
Committing transaction for planet_osm_point
Committing transaction for planet_osm_line
Committing transaction for planet_osm_polygon
Committing transaction for planet_osm_roads
 
Using 2 helper-processes
processing way (0k) at 0.00k/sget_way failed: ERROR:  prepared statement "get_way" does not exist
(7)
Arguments were: 157815311,
Error occurred, cleaning up
 
All child processes exited
 
Pending ways took 579s at a rate of 0.02/s
Committing transaction for planet_osm_point
Committing transaction for planet_osm_line
Committing transaction for planet_osm_polygon
Committing transaction for planet_osm_roads
 
Going over pending relations
 
Using 2 helper-processes
processing relation (1) at 0.50/sget_way failed: ERROR:  prepared statement "get_way" does not exist
(7)
Arguments were: -253058,
Error occurred, cleaning up
 
All child processes exited
 
Pending relations took 14s at a rate of 0.21/s
Committing transaction for planet_osm_point
Committing transaction for planet_osm_line
Committing transaction for planet_osm_polygon
Committing transaction for planet_osm_roads
Completed planet_osm_point
Completed planet_osm_line
node cache: stored: 0(-nan%), storage efficiency: -nan% (dense blocks: 0, sparse nodes: 0), hit rate: 0.00%
Completed planet_osm_polygon
Completed planet_osm_roads
Stopping table: planet_osm_ways
Stopping table: planet_osm_nodes
Stopped table: planet_osm_ways in 0s
Stopped table: planet_osm_nodes in 0s
Stopping table: planet_osm_rels
Stopped table: planet_osm_rels in 0s
Writing dirty tile list (0K)
Osm2pgsql took 594s overall
Rendering client
Read and expanded 100 tiles from list.
 
Total for all tiles rendered
Meta tiles rendered: Rendered 0 tiles in 0.05 seconds (0.00 tiles/s)
Total tiles rendered: Rendered 0 tiles in 0.05 seconds (0.00 tiles/s)
Total tiles in input: 126
Total tiles expanded from input: 264
Total meta tiles deleted: 0
Total meta tiles touched: 0
Total tiles ignored (not on disk): 264

Help me to solve this,

Thanks