Hello,
I just installed ikiwiki to my local computer, but still can't edit through the browser. Haven't tried editing differently, because I'm a total dummy in programming. Help wanted!! Here is what the terminal shows after installation:
kund-Mac-2:~ kund$ sudo ikiwiki --setup /opt/local/etc/ikiwiki/auto.setup
Password:
What will the wiki be named? Relatii cu Publicul
What revision control system to use? git
Which user (wiki account, openid, or email) will be admin? Kund Kopacz
Setting up Relatii cu Publicul ...
Importing /Users/kund/RelatiicuPublicul into git
Initialized empty shared Git repository in /Users/kund/RelatiicuPublicul.git/
Initialized empty Git repository in /Users/kund/RelatiicuPublicul/.git/
[master (root-commit) 02fa1fa] initial commit
Committer: System Administrator <root@kund-Mac-2.local>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:
git config --global user.name "Your Name"
git config --global user.email you@example.com
After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
1 file changed, 1 insertion(+)
create mode 100644 .gitignore
Counting objects: 3, done.
Writing objects: 100% (3/3), 234 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To /Users/kund/RelatiicuPublicul.git
* [new branch] master -> master
Directory /Users/kund/RelatiicuPublicul is now a clone of git repository /Users/kund/RelatiicuPublicul.git
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\documentclass{ <-- HERE article}/ at /opt/local/lib/perl5/vendor_perl/5.22/IkiWiki/Plugin/teximg.pm line 149.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\\documentclass{ <-- HERE scrartcl}/ at /opt/local/lib/perl5/vendor_perl/5.22/IkiWiki/Plugin/teximg.pm line 150.
Creating wiki admin Kund Kopacz ...
Choose a password:
Confirm password:
ikiwiki-update-wikilist: no changes need to be made
Successfully set up Relatii cu Publicul:
url: http://kund-Mac-2.local/~root/RelatiicuPublicul
srcdir: ~/RelatiicuPublicul
destdir: ~/public_html/RelatiicuPublicul
repository: ~/RelatiicuPublicul.git
To modify settings, edit ~/RelatiicuPublicul.setup and then run:
ikiwiki --setup ~/RelatiicuPublicul.setup
This is probably not the cause of your problem, but please don't do this. ikiwiki should always be run as an ordinary user, never as root. If it runs as root, any bugs in ikiwiki could have very bad consequences.
(I'm tempted to make it just exit with an error message if run as root, actually.)
ikiwiki does not include a web server (http server), so you cannot edit via a browser without providing one.
auto.setup
tries to guess at some reasonable defaults that will work on a reasonable number of Unix machines: it assumes that~/public_html
is mapped tohttp://${hostname}/~${username}/
by your web server. This is the default configuration on many Linux and *BSD systems; I don't know whether that's true on OS X or not.It also assumes that an executable named
ikiwiki.cgi
inpublic_html
will be run as a CGI script. Again, this is often true, but not always.Perhaps we should have some wording like
as a hint that ikiwiki has done what it can, and the rest is up to you?
I think we fixed this in the latest version of ikiwiki, so you might not be running the current version (that won't affect this particular issue, but there are other improvements).