Ask Your Question

Create a Wiki Mirror

asked 2011-05-20 01:08:24 -0600

mjcarroll gravatar image

Is there any well-defined way for creating a local mirror of the wiki?

I'm interested in setting up an exact copy on a local webserver for a project that has no internet connection, and would like to make a full mirror (including images, etc).

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-05-20 02:05:50 -0600

updated 2013-11-30 20:32:26 -0600

tfoote gravatar image

UPDATE: This has been deprecated and is officially documented at: on the wiki.

A dump of the wiki and api can be found at The files in here help to get the look right.

I setup a wiki-mirror at, but it is rather outdated. Will fix that next week.

The below script is what I use now. The previous version had a bug, always reusing the first download of the tarballs!

pushd /var/www/
echo Downloading Wiki-Dump
if wget -N <a href=""></a>; then #-N triggers timestamping, i.e., only fetch if newer, then overwrite existing
  rm -rf roswiki-old
  mv roswiki roswiki-old
  echo Extracting Wiki-Dump
  pv roswiki.tar.gz|tar xz 
  echo Extracting Wiki-Theme
  tar xzf rostheme.tgz -C roswiki

  echo Downloading API-Dump
  if wget -N <a href=""></a>; then
    echo Extracting API-Dump
    pv doc.tar.gz|tar xz -C roswiki

It assumes your web root is /var/www and you want it in the subdirectory "roswiki". Also you need to have placed rostheme.tgz from the link above in /var/www

The pv pipes serve to show progress, which is nice to have for big file. pv is apt-gettable, but you can also coust omit it and give the file directly to tar, as done for rostheme.tgz

edit flag offensive delete link more


Thanks felix, exactly what I was looking for.
mjcarroll gravatar image mjcarroll  ( 2011-05-20 12:29:38 -0600 )edit

This has been deprecated and is officially documented at: on the wiki.

tfoote gravatar image tfoote  ( 2013-11-21 10:35:20 -0600 )edit

The newest tarball seems to be missing images(other files?) that were contained in previous tarballs. Is this a planned change? It seems like it is definitely missing the ROS logo & the little globe icon next to links. The most recent tarball (without docs):

ben gravatar image ben  ( 2013-11-22 00:25:49 -0600 )edit
tfoote gravatar image tfoote  ( 2013-11-30 20:53:00 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2011-05-20 01:08:24 -0600

Seen: 2,323 times

Last updated: Nov 30 '13