1 How do I setup an old ikiwiki repository on a new system?
3 I have a git repository from an old ikiwiki system.
4 I reformatted that hard drive, but saved the repository.
6 I copied it the repository to my new system, which is now the "master" host.
7 I installed ikiwiki on the new system.
9 How do I set up an ikiwiki system using a pre-existing repository (instead of creating a new one)? --[[JosephTurian]]
12 > * A git repository of the wiki
13 > * A setup file for the wiki
17 > 1. Manually set up a bare git repository, and push
18 > your backed up repository to it.
19 > 2. `git clone` from the bare git repository to
20 > recreate the ikiwiki srcdir
21 > 3. `git clone` from the bare git repository a second time,
22 > to create a checkout you can manually edit (optional)
24 > If you preserved your repository, but not the setup file,
25 > the easiest way to make one is probably to run
26 > `ikiwiki -dumpsetup` and edit the setup file. --[[Joey]]
28 > > I get the following errors after running ikiwiki setup:
30 shortcut plugin will not work without shortcuts.mdwn
31 shortcut plugin will not work without shortcuts.mdwn
32 successfully generated /home/turian/public_html/iki/ikiwiki.cgi
33 shortcut plugin will not work without shortcuts.mdwn
34 successfully generated /home/turian/repos/iki.git/hooks/post-update
35 Can't stat /usr/share/ikiwiki/basewiki/../javascript: No such file or directory
36 at /home/turian/utils//lib/perl5/site_perl/5.8.8//IkiWiki/Plugin/autoindex.pm line 60
37 Can't stat /usr/share/ikiwiki/basewiki/../smiley: No such file or directory
38 at /home/turian/utils//lib/perl5/site_perl/5.8.8//IkiWiki/Plugin/autoindex.pm line 60
39 Can't stat /usr/share/ikiwiki/basewiki: No such file or directory
40 at /home/turian/utils//lib/perl5/site_perl/5.8.8//IkiWiki/Plugin/autoindex.pm line 60
41 Can't stat /usr/share/ikiwiki/basewiki/../javascript: No such file or directory
42 at /home/turian/utils//lib/perl5/site_perl/5.8.8//IkiWiki/Render.pm line 320
43 Can't stat /usr/share/ikiwiki/basewiki/../smiley: No such file or directory
44 at /home/turian/utils//lib/perl5/site_perl/5.8.8//IkiWiki/Render.pm line 320
45 Can't stat /usr/share/ikiwiki/basewiki: No such file or directory
46 at /home/turian/utils//lib/perl5/site_perl/5.8.8//IkiWiki/Render.pm line 320
47 internal error: smileys.mdwn cannot be found in /home/turian/iki or underlay
49 > > How do I resolve these errors? I have my PERL5LIB location set correctly.
51 >>> Well, that's unrelated to the original question, but
52 >>> I guess you should set `underlaydir` in your setup file to
53 >>> point to whereever you have installed the basewiki directory.