Skip to content

Instantly share code, notes, and snippets.

@oyvholm
Created Feb 24, 2011
Embed
What would you like to do?
Output from setup of ikiwiki-3.20110124 (2c8cb980bb3ab0da1e56a3263219d97cd6c01b34)
ikiwiki@linode:/etc/ikiwiki$ ikiwiki --setup /etc/ikiwiki/auto-blog.setup
What will the blog be named? sunbase
What revision control system to use? git
What wiki user (or openid) will be admin? sunny256
Setting up sunbase ...
Importing /home/ikiwiki/sunbase into git
Initialized empty shared Git repository in /home/ikiwiki/sunbase.git/
Initialized empty Git repository in /home/ikiwiki/sunbase/.git/
[master (root-commit) 9046066] initial commit
8 files changed, 49 insertions(+), 0 deletions(-)
create mode 100644 .gitignore
create mode 100644 archives.mdwn
create mode 100644 comments.mdwn
create mode 100644 index.mdwn
create mode 100644 posts.mdwn
create mode 100644 posts/first_post.mdwn
create mode 100644 sidebar.mdwn
create mode 100644 tags.mdwn
Counting objects: 11, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (9/9), done.
Writing objects: 100% (11/11), 1.55 KiB, done.
Total 11 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (11/11), done.
To /home/ikiwiki/sunbase.git
* [new branch] master -> master
Directory /home/ikiwiki/sunbase is now a clone of git repository /home/ikiwiki/sunbase.git
You are overwriting a locally defined method (finished) with an accessor at /usr/lib/perl5/Moose/Meta/Attribute.pm line 570
Moose::Meta::Attribute::_process_accessors('Moose::Meta::Attribute=HASH(0xa83cf40)', 'clearer', 'finished', undef) called at /usr/lib/perl5/Class/MOP/Attribute.pm line 370
Class::MOP::Attribute::install_accessors('Moose::Meta::Attribute=HASH(0xa83cf40)') called at /usr/lib/perl5/Moose/Meta/Attribute.pm line 544
Moose::Meta::Attribute::install_accessors('Moose::Meta::Attribute=HASH(0xa83cf40)') called at /usr/lib/perl5/Class/MOP/Class.pm line 514
Class::MOP::Class::__ANON__() called at /usr/share/perl5/Try/Tiny.pm line 76
eval {...} called at /usr/share/perl5/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0xa83e368)', 'Try::Tiny::Catch=REF(0xa82b5a0)') called at /usr/lib/perl5/Class/MOP/Class.pm line 519
Class::MOP::Class::_post_add_attribute('Moose::Meta::Class=HASH(0xa7e8bc0)', 'Moose::Meta::Attribute=HASH(0xa83cf40)') called at /usr/lib/perl5/Class/MOP/Mixin/HasAttributes.pm line 45
Class::MOP::Mixin::HasAttributes::add_attribute('Moose::Meta::Class=HASH(0xa7e8bc0)', 'Moose::Meta::Attribute=HASH(0xa83cf40)') called at /usr/lib/perl5/Moose/Meta/Class.pm line 276
Moose::Meta::Class::add_attribute('Moose::Meta::Class=HASH(0xa7e8bc0)', 'callback', 'required', 1, 'clearer', 'finished', 'isa', 'CodeRef|Str', 'definition_context', ...) called at /usr/lib/perl5/Moose.pm line 69
Moose::has('Moose::Meta::Class=HASH(0xa7e8bc0)', 'callback', 'isa', 'CodeRef|Str', 'is', 'ro', 'required', 1, 'clearer', ...) called at /usr/lib/perl5/Moose/Exporter.pm line 293
Moose::has('callback', 'isa', 'CodeRef|Str', 'is', 'ro', 'required', 1, 'clearer', 'finished', ...) called at /usr/share/perl5/Data/Stream/Bulk/Callback.pm line 10
require Data/Stream/Bulk/Callback.pm called at /usr/share/perl5/Net/Amazon/S3/Client/Bucket.pm line 4
Net::Amazon::S3::Client::Bucket::BEGIN() called at /usr/share/perl5/Data/Stream/Bulk/Callback.pm line 0
eval {...} called at /usr/share/perl5/Data/Stream/Bulk/Callback.pm line 0
require Net/Amazon/S3/Client/Bucket.pm called at /usr/share/perl5/Net/Amazon/S3.pm line 111
Net::Amazon::S3::BEGIN() called at /usr/share/perl5/Data/Stream/Bulk/Callback.pm line 0
eval {...} called at /usr/share/perl5/Data/Stream/Bulk/Callback.pm line 0
require Net/Amazon/S3.pm called at /usr/share/perl5/IkiWiki/Plugin/amazon_s3.pm line 9
IkiWiki::Plugin::amazon_s3::BEGIN() called at /usr/share/perl5/Data/Stream/Bulk/Callback.pm line 0
eval {...} called at /usr/share/perl5/Data/Stream/Bulk/Callback.pm line 0
require IkiWiki/Plugin/amazon_s3.pm called at (eval 653) line 2
IkiWiki::BEGIN() called at /usr/share/perl5/Data/Stream/Bulk/Callback.pm line 0
eval {...} called at /usr/share/perl5/Data/Stream/Bulk/Callback.pm line 0
eval 'use IkiWiki::Plugin::amazon_s3
;' called at /usr/share/perl5/IkiWiki.pm line 653
IkiWiki::loadplugin('amazon_s3', 1) called at /usr/share/perl5/IkiWiki/Setup.pm line 161
eval {...} called at /usr/share/perl5/IkiWiki/Setup.pm line 161
IkiWiki::Setup::getsetup() called at /usr/share/perl5/IkiWiki/Setup.pm line 221
IkiWiki::Setup::commented_dump('CODE(0x9e998d0)', '\x{9}') called at /usr/share/perl5/IkiWiki/Setup/Standard.pm line 19
IkiWiki::Setup::Standard::gendump('IkiWiki::Setup::Standard', 'Setup file for ikiwiki.', '', 'Passing this to ikiwiki --setup will make ikiwiki generate', 'wrappers and build the wiki.', '', 'Remember to re-run ikiwiki --setup any time you edit this file.') called at /usr/share/perl5/IkiWiki/Setup.pm line 68
IkiWiki::Setup::dump('/home/ikiwiki/sunbase.setup') called at /usr/share/perl5/IkiWiki/Setup/Automator.pm line 145
IkiWiki::Setup::Automator::import('IkiWiki::Setup::Automator', 'wikiname', 'sunbase', 'adminuser', 'ARRAY(0x976b338)', 'rcs', 'git', 'srcdir', '/home/ikiwiki/sunbase', ...) called at (eval 18) line 27
eval '#!/usr/bin/perl
# Ikiwiki setup automator -- blog version.
#
# This setup file causes ikiwiki to create a wiki, containing a blog,
# check it into revision control, generate a setup file for the new
# wiki, and set everything up.
#
# Just run: ikiwiki -setup /etc/ikiwiki/auto-blog.setup
#
# By default, it asks a few questions, and confines itself to the user\'s home
# directory. You can edit it to change what it asks questions about, or to
# modify the values to use site-specific settings.
require IkiWiki::Setup::Automator;
our $wikiname=IkiWiki::Setup::Automator::ask(
gettext("What will the blog be named?"), gettext("blog"));
our $wikiname_short=IkiWiki::Setup::Automator::sanitize_wikiname($wikiname);
our $rcs=IkiWiki::Setup::Automator::ask(
gettext("What revision control system to use?"), "git");
our $admin=IkiWiki::Setup::Automator::ask(
gettext("What wiki user (or openid) will be admin?"), $ENV{USER});
use Net::Domain q{hostfqdn};
our $domain=hostfqdn() || IkiWiki::Setup::Automator::ask(
gettext("What is the domain name of the web server?"), "");
IkiWiki::Setup::Automator->import(
wikiname => $wikiname,
adminuser => [$admin],
rcs => $rcs,
srcdir => "$ENV{HOME}/$wikiname_short",
destdir => "$ENV{HOME}/public_html/$wikiname_short",
repository => "$ENV{HOME}/$wikiname_short.".($rcs eq "monotone" ? "mtn" : $rcs),
dumpsetup => "$ENV{HOME}/$wikiname_short.setup",
url => "http://$domain/~$ENV{USER}/$wikiname_short",
cgiurl => "http://$domain/~$ENV{USER}/$wikiname_short/ikiwiki.cgi",
cgi_wrapper => "$ENV{HOME}/public_html/$wikiname_short/ikiwiki.cgi",
adminemail => "$ENV{USER}\\@$domain",
add_plugins => [qw{goodstuff websetup comments blogspam calendar sidebar}],
disable_plugins => [qw{}],
libdir => "$ENV{HOME}/.ikiwiki",
rss => 1,
atom => 1,
syslog => 1,
example => "blog",
comments_pagespec => "posts/* and !*/Discussion",
blogspam_pagespec => "postcomment(*)",
archive_pagespec => "page(posts/*) and !*/Discussion",
global_sidebars => 0,
discussion => 0,
locked_pages => "* and !postcomment(*)",
tagbase => "tags",
)
;' called at /usr/share/perl5/IkiWiki/Setup.pm line 37
IkiWiki::Setup::load('/etc/ikiwiki/auto-blog.setup') called at /usr/bin/ikiwiki line 17
IkiWiki::setup('Getopt::Long::CallBack=HASH(0x9610108)', '/etc/ikiwiki/auto-blog.setup') called at /usr/share/perl/5.10/Getopt/Long.pm line 583
eval {...} called at /usr/share/perl/5.10/Getopt/Long.pm line 582
Getopt::Long::GetOptionsFromArray('ARRAY(0x930e080)', 'setup|s=s', 'CODE(0x9555678)', 'dumpsetup|s=s', 'SCALAR(0x9595348)', 'changesetup|s=s', 'CODE(0x957d1f0)', 'wikiname=s', 'SCALAR(0x9583f20)', ...) called at /usr/bin/ikiwiki line 121
IkiWiki::getconfig() called at /usr/bin/ikiwiki line 150
IkiWiki::main() called at /usr/bin/ikiwiki line 229
Creating wiki admin sunny256 ...
Choose a password:
Confirm password:
successfully generated /home/ikiwiki/public_html/sunbase/ikiwiki.cgi
successfully generated /home/ikiwiki/sunbase.git/hooks/post-update
ikiwiki-update-wikilist: added user ikiwiki to /etc/ikiwiki/wikilist
Successfully set up sunbase:
url: http://linode.members.linode.com/~ikiwiki/sunbase
srcdir: ~/sunbase
destdir: ~/public_html/sunbase
repository: ~/sunbase.git
To modify settings, edit ~/sunbase.setup and then run:
ikiwiki -setup ~/sunbase.setup
ikiwiki@linode:/etc/ikiwiki$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment