The officially official Devuan Forum!

You are not logged in.

#1 2025-11-08 20:05:16

bai4Iej2need
Member
From: Ortenau
Registered: 2021-04-25
Posts: 139  

[SOLVED] dwww Install

Hi

devuan daedalus

Yesterday i installed dwww. Today I looked, if indexes have been built, but have not.
I run /etc/cron.daily/dwww, it quit immediately.

I run /etc/cron.weekly/dwww,

/etc/cron.weekly (git)-[master] # sh -x -v dwww

It asked if swish++ was installed and quit. Of course swish++  was not installed, because it was a recommendation only. 
Now I installed swish++, now it builds the index.

Debian Documentation is flawed and dependencies are also flawed both on the website and in the installation.

#!/bin/sh
# $Id: dwww.cron.weekly,v 1.3 2007-12-16 09:56:31 robert Exp $
#
# This script creates an index of Debian documentation registered
# with doc-base. See dwww-index++(8) man page for details.

# check if swish++ is installed
#test -x /usr/bin/index++ || exit 0

# check if dwww is still installed
test -x /usr/sbin/dwww-index++ || exit 0
+ test -x /usr/sbin/dwww-index++

set -e
+ set -e

# See ionice(1)
[ -x /usr/bin/ionice ] &&  IONICE="/usr/bin/ionice -c3 -t" || IONICE=
+ [ -x /usr/bin/ionice ]
+ IONICE=/usr/bin/ionice -c3 -t

$IONICE dwww-index++ > /dev/null
+ /usr/bin/ionice -c3 -t dwww-index++
                                                        
exit 0
+ exit 0
sh -x -v dwww  27,13s user 4,01s system 1% cpu 34:07,45 total

Hoever : search in webbrowser no results
Some links work, most not.

Last edited by bai4Iej2need (2025-11-08 20:36:08)


The devil, you know, is better than the angel, you don't know. by a British Citizen, I don't know too good.
One generation abandons the enterprises of another like stranded vessels. By Henry David Thoreau, WALDEN, Economy. Line 236 (Gutenberg text Version)
broken by design :
https://bugs.debian.org/cgi-bin/bugrepo … bug=958390

Offline

#2 2025-11-11 09:09:09

stultumanto
Member
Registered: 2023-12-12
Posts: 103  

Re: [SOLVED] dwww Install

I recall having similar issues with this system a few years ago; specifically, search would not work. Unfortunately, I wasn't able to find a solution. There is a README file at the source repository which says you need to enable CGI in your local web server, so maybe that is worth a try.

Offline

#3 2025-11-11 13:07:39

bai4Iej2need
Member
From: Ortenau
Registered: 2021-04-25
Posts: 139  

Re: [SOLVED] dwww Install

Yes that was the solution.
It is not enough to install the package(s), debian wants you to do this

a2enmod cgi

by hand, also that it could as well be in a post install script.

as programmed, swish++ should be a package requirement, not a recommendation.

almost solved. Bug or feature ?

Last edited by bai4Iej2need (2025-11-11 13:18:31)


The devil, you know, is better than the angel, you don't know. by a British Citizen, I don't know too good.
One generation abandons the enterprises of another like stranded vessels. By Henry David Thoreau, WALDEN, Economy. Line 236 (Gutenberg text Version)
broken by design :
https://bugs.debian.org/cgi-bin/bugrepo … bug=958390

Offline

Board footer