]> sipb.mit.edu Git - ikiwiki.git/blob - doc/forum/Migrated_ikiwiki_to_new_host._Web_page_is_not_updated.mdwn
calendar: When there are multiple pages for a given day, they're displayed in a popup...
[ikiwiki.git] / doc / forum / Migrated_ikiwiki_to_new_host._Web_page_is_not_updated.mdwn
1 I copied ikiwiki from old host to new. Old is Debian GNU/Linux version 5.0.7, with ikiwiki 3.1415926~bpo50+1
2 New host is 5.0.8 with ikiwiki 3.20100815~bpo50+1
3
4 I have ikiwiki.setup and both GIT repos from old host, src and src.git, the latter is bare repo. 
5
6 I suspect I have messed up things in the old host, since the src directory tree is much larger than the src.git. 
7 tale@tugelbend:~/wiki$ du -sh src src.git/
8 8,3M    src
9 2,6M    src.git/
10
11 If I clone the src.git to the new host, I get after ikiwiki --setup web pages from year 2009. So I did the migration like this:
12
13 Copy the src directory to the new host to temp dir;  git clone --bare /tmp/Foo/src ~/wiki/wiki.git 
14 cd ~/wiki
15 git clone wiki.git wiki.src
16 cd ..
17 ikiwiki --setup ikiwiki.setup
18
19 I believe I have modified the ikiwiki.setup file correctly, I get no error messages and it makes the web page with the
20 same content as on old host. But when I git clone wiki.git a working copy for myself, and edit it, git commit -a ; git push
21 I am sad to see the web page is not updated. 
22
23 How can I see what is wrong? The hook seems OK:
24 taleman@porixi:~/wiki$ ls -lh wiki.git/hooks/post-update 
25 -rwsr-sr-x 1 taleman taleman 14K 23.12. 17:42 wiki.git/hooks/post-update
26
27 ikiwiki --setup created that and did not claim any errors.