Update Old Tile Server

Hi All,

I want to update my Map on My Tile Server on (www.osmosa.net) because i think my map is very old, i have built it on 2011.
Anyone could help me what should i do ?

Is there update script for it ?

Thanks

I fount http://www.hyperionreactor.net/blog/how-build-your-own-map-service-part-2-auto-updating-your-database

But when i execute

./osmosis --read-replication-interval-init workingDirectory=/mnt/changesets/

i got error messages like bellow :



pr 12, 2012 1:18:05 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.31
Apr 12, 2012 1:18:06 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
Apr 12, 2012 1:18:06 PM org.openstreetmap.osmosis.core.Osmosis main
SEVERE: Execution aborted.
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Task type read-replication-interval-init doesn't exist.
	at org.openstreetmap.osmosis.core.pipeline.common.TaskManagerFactoryRegister.getInstance(TaskManagerFactoryRegister.java:60)
	at org.openstreetmap.osmosis.core.pipeline.common.Pipeline.buildTasks(Pipeline.java:50)
	at org.openstreetmap.osmosis.core.pipeline.common.Pipeline.prepare(Pipeline.java:112)
	at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:79)
	at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:30)

What;s wrong with it ?
help me, please

Looks like your Osmosis version does not support the read-replication-interval-init task (i.e. it’s very old), otherwise you can try to encapsulate the parameter in double quotes like so: “/mnt/changesets/”.

Otherwise I don’t know…

Edit: I notice this is a crosspost of the osm-dev mailinglist. It indeed appears to be a very old Osmosis version.

I have succuessfull update using osmosis.
I have following instruction from http://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/

i have executed command : sudo -u www-data /usr/bin/openstreetmap-tiles-update-expire.sh

and process have finished with no error.

But now nothing update on my tile server.please check it out,
www.osmosa.net compare with www.openstreetmap.org

i can’t find new road on my tile server (www.osmosa.net) as on openstreetmap.org

How to solve this ?

Thanks