Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #229712 > unrolled thread

Ikiwiki on Debian

Started byBob Bernstein <poobah@ruptured-duck.com>
First post2020-12-12 19:40 +0100
Last post2020-12-13 02:10 +0100
Articles 9 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  Ikiwiki on Debian Bob Bernstein <poobah@ruptured-duck.com> - 2020-12-12 19:40 +0100
    Re: Ikiwiki on Debian john doe <johndoe65534@mail.com> - 2020-12-12 19:50 +0100
      Re: Ikiwiki on Debian Bob Bernstein <bob@fanatick.org> - 2020-12-12 20:40 +0100
        Re: Ikiwiki on Debian john doe <johndoe65534@mail.com> - 2020-12-12 20:40 +0100
          Re: Ikiwiki on Debian john doe <johndoe65534@mail.com> - 2020-12-12 21:00 +0100
            Re: Ikiwiki on Debian Bob Bernstein <bob@fanatick.org> - 2020-12-12 22:30 +0100
              Re: Ikiwiki on Debian Bob Bernstein <bob@fanatick.org> - 2020-12-12 23:00 +0100
              Re: Ikiwiki on Debian Bob Bernstein <bob@fanatick.org> - 2020-12-13 01:10 +0100
              Re: Ikiwiki on Debian Bob Bernstein <bob@fanatick.org> - 2020-12-13 02:10 +0100

#229712 — Ikiwiki on Debian

FromBob Bernstein <poobah@ruptured-duck.com>
Date2020-12-12 19:40 +0100
SubjectIkiwiki on Debian
Message-ID<BlhYd-51I-3@gated-at.bofh.it>
Using apt-get I have ikiwiki 3.20190228-1 on an amd64 Buster.

>From /home/bob I run:

$ ikiwiki --setup Bob2021.setup --wrappers

and see this error:

"cannot write to /home/bob/Bob2021/.ikiwiki/lockfile: No such 
file or directory"

Here is the top of that Bob2021. setup file. I hope I have the 
syntax correct for the userdir tildes

--snip--

# IkiWiki::Setup::Yaml - YAML formatted setup file
#
# 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.
#
# name of the wiki
wikiname: Bob2021
# contact email for wiki
adminemail: bob@fanatick.org
# users who are wiki admins
adminuser:
- bob
# users who are banned from the wiki
banned_users: []
# where the source of the wiki is located
srcdir: /home/bob/Bob2021
# where to build the wiki
destdir: /home/bob/public_html/Bob2021
# base url to the wiki
url: http://trollboy.ddns.net:8080/~bob/Bob2021
# url to the ikiwiki.cgi
cgiurl: http://trollboy.ddns.net:8080/~bob/Bob2021/ikiwiki.cgi
# do not adjust cgiurl if CGI is accessed via different URL
reverse_proxy: 0
# filename of cgi wrapper to generate
cgi_wrapper: /home/bob/public_html/Bob2021/ikiwiki.cgi
# mode for cgi_wrapper (can safely be made suid)
cgi_wrappermode: 06755

-- snip --

Thank you.

-- 
A person of great honour in Ireland (who was pleased to
stoop so low as to look into my mind) used to tell me that
my mind was like a conjured spirit, that would do mischief
if I did not give it employment.
                                 Jonathan Swift

[toc] | [next] | [standalone]


#229713

Fromjohn doe <johndoe65534@mail.com>
Date2020-12-12 19:50 +0100
Message-ID<Bli7T-55e-3@gated-at.bofh.it>
In reply to#229712
On 12/12/2020 7:34 PM, Bob Bernstein wrote:
> Using apt-get I have ikiwiki 3.20190228-1 on an amd64 Buster.
>
>> From /home/bob I run:
>
> $ ikiwiki --setup Bob2021.setup --wrappers
>
> and see this error:
>
> "cannot write to /home/bob/Bob2021/.ikiwiki/lockfile: No such file or
> directory"
>

Does the directory exist?

--
John Doe

[toc] | [prev] | [next] | [standalone]


#229718

FromBob Bernstein <bob@fanatick.org>
Date2020-12-12 20:40 +0100
Message-ID<BliUi-5Bf-11@gated-at.bofh.it>
In reply to#229713
On Sat, 12 Dec 2020, john doe wrote:

>>> From /home/bob I run:
>> 
>> $ ikiwiki --setup Bob2021.setup --wrappers
>> 
>> and see this error:
>> 
>> "cannot write to /home/bob/Bob2021/.ikiwiki/lockfile: No such 
>> file or directory"

> Does the directory exist?

No. If I create it, and then run the ikiwiki setup command, I 
get this error:

"fatal: not in a git directory
'git config user.name IkiWiki' failed:"

But my experience with ikiwiki has been that it creates the dirs 
it needs on initial installation of an ikiwiki instance.


-- 
These are not the droids you are looking for.

[toc] | [prev] | [next] | [standalone]


#229719

Fromjohn doe <johndoe65534@mail.com>
Date2020-12-12 20:40 +0100
Message-ID<BliUi-5Bf-13@gated-at.bofh.it>
In reply to#229718
On 12/12/2020 8:08 PM, Bob Bernstein wrote:
> On Sat, 12 Dec 2020, john doe wrote:
>
>>>> From /home/bob I run:
>>>
>>> $ ikiwiki --setup Bob2021.setup --wrappers
>>>
>>> and see this error:
>>>
>>> "cannot write to /home/bob/Bob2021/.ikiwiki/lockfile: No such file or
>>> directory"
>
>> Does the directory exist?
>
> No. If I create it, and then run the ikiwiki setup command, I get this
> error:
>
> "fatal: not in a git directory
> 'git config user.name IkiWiki' failed:"
>

Try to populate your name and e-mail in your .gitconfig file.

--
John Doe

[toc] | [prev] | [next] | [standalone]


#229721

Fromjohn doe <johndoe65534@mail.com>
Date2020-12-12 21:00 +0100
Message-ID<BljdD-5I3-1@gated-at.bofh.it>
In reply to#229719
On 12/12/2020 8:38 PM, john doe wrote:
> On 12/12/2020 8:08 PM, Bob Bernstein wrote:
>> On Sat, 12 Dec 2020, john doe wrote:
>>
>>>>> From /home/bob I run:
>>>>
>>>> $ ikiwiki --setup Bob2021.setup --wrappers
>>>>
>>>> and see this error:
>>>>
>>>> "cannot write to /home/bob/Bob2021/.ikiwiki/lockfile: No such file or
>>>> directory"
>>
>>> Does the directory exist?
>>
>> No. If I create it, and then run the ikiwiki setup command, I get this
>> error:
>>
>> "fatal: not in a git directory
>> 'git config user.name IkiWiki' failed:"
>>
>
> Try to populate your name and e-mail in your .gitconfig file.
>

According to (1) you should use:

"% ikiwiki --setup /etc/ikiwiki/auto.setup
Or, set up a blog with ikiwiki, run this command instead.
% ikiwiki --setup /etc/ikiwiki/auto-blog.setup"


Or are you trying to setup it by hand (2)?


1)  https://ikiwiki.info/setup/
2)  https://ikiwiki.info/setup/byhand/

--
John Doe

[toc] | [prev] | [next] | [standalone]


#229723

FromBob Bernstein <bob@fanatick.org>
Date2020-12-12 22:30 +0100
Message-ID<BlkCL-6Gt-11@gated-at.bofh.it>
In reply to#229721
On Sat, 12 Dec 2020, john doe wrote:

> According to (1) you should use:
>
> "% ikiwiki --setup /etc/ikiwiki/auto.setup
> Or, set up a blog with ikiwiki, run this command 
> instead.
> % ikiwiki --setup /etc/ikiwiki/auto-blog.setup"

I used the latter of the two above methods to create my initial 
setup file.

> Or are you trying to setup it by hand (2)?

No.

I'll give it another try from scratch.


-- 
These are not the droids you are looking for.

[toc] | [prev] | [next] | [standalone]


#229724

FromBob Bernstein <bob@fanatick.org>
Date2020-12-12 23:00 +0100
Message-ID<Bll5L-6Qf-13@gated-at.bofh.it>
In reply to#229723
> On Sat, 12 Dec 2020, john doe wrote:
>
>> According to (1) you should use:

>> % ikiwiki --setup /etc/ikiwiki/auto-blog.setup"

I went back and began again. I appear to have been much more 
successful. The fly in the ointment now is that although the 
needed cgi file was created, my system seems to think I need to 
download and save another one.

I wonder if my apache2 site needs to enable cgi for the UserDir 
location, public_html, including, of course, +ExecCGI?

Hmmm...time to do a little research.


-- 
These are not the droids you are looking for.

[toc] | [prev] | [next] | [standalone]


#229730

FromBob Bernstein <bob@fanatick.org>
Date2020-12-13 01:10 +0100
Message-ID<Bln7z-8ic-7@gated-at.bofh.it>
In reply to#229723
So I have an install of Ikiwiki limping along. I know ikiwiki is 
a bear of a package to maintain, since it depends at least half 
of all known perl modules. To get where I am tonight I had to go 
out and apt-get libcgi-session-perl and libcgi-formbuilder-perl. 
I suspect the deficiencies I'm seeing now are more products of 
some fuzziness in this machine's network (firefox?) performance 
than in ikiwiki per se, which has run quite solidly and for some 
time on a BSD machine I have, whose OS shall go unnamed if I 
may..

I don't like publishing to the web out of a Userdir-based 
install. Don't like all those ~bob's around. I may rework this 
to run out of good old /var/www/html, and see if things improve.

Thank you Mr. Doe.

-- 
These are not the droids you are looking for.

[toc] | [prev] | [next] | [standalone]


#229732

FromBob Bernstein <bob@fanatick.org>
Date2020-12-13 02:10 +0100
Message-ID<Blo3E-p4-5@gated-at.bofh.it>
In reply to#229723
Unsurprisingly, at least in my (perhaps jaundiced?) view, running 
ikiwiki out of /var/www/html resulted in much snappier 
behaviour:

http://trollboy.ddns.net:8080/Bob2084/posts/first_post/


-- 
These are not the droids you are looking for.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web