I built and installed your package, thanks. These are the problems I encountered.
# /etc/dokuwiki.php I had to revert some changes: diff -pu /etc/dokuwiki/dokuwiki.php /etc/dokuwiki/dokuwiki.php.dist --- /etc/dokuwiki/dokuwiki.php 2022-02-07 13:59:46.209521897 +0100 +++ /etc/dokuwiki/dokuwiki.php.dist 2022-01-25 04:12:00.000000000 +0100 @@ -13,14 +13,14 @@ /* Basic Settings */ -$conf['title'] = 'Debian DokuWiki'; //what to show in the title +$conf['title'] = 'DokuWiki'; //what to show in the title $conf['start'] = 'start'; //name of start page $conf['lang'] = 'en'; //your language $conf['template'] = 'dokuwiki'; //see lib/tpl directory $conf['tagline'] = ''; //tagline in header (if template supports it) $conf['sidebar'] = 'sidebar'; //name of sidebar in root namespace (if template supports it) $conf['license'] = 'cc-by-nc-sa'; //see conf/license.php -$conf['savedir'] = '/var/lib/dokuwiki/data'; //where to store all the files +$conf['savedir'] = './data'; //where to store all the files $conf['basedir'] = ''; //absolute dir from serveroot - blank for autodetection $conf['baseurl'] = ''; //URL to server including protocol - blank for autodetect $conf['cookiedir'] = ''; //path to use in cookies - blank for basedir @@ -139,7 +139,7 @@ $conf['rss_show_summary'] = 1; $conf['rss_show_deleted'] = 1; //Show deleted items 0|1 /* Advanced Settings */ -$conf['updatecheck'] = 0; //automatically check for new releases? +$conf['updatecheck'] = 1; //automatically check for new releases? $conf['userewrite'] = 0; //this makes nice URLs: 0: off 1: .htaccess 2: internal $conf['useslash'] = 0; //use slash instead of colon? only when rewrite is on $conf['sepchar'] = '_'; //word separator character in page names; may be a @@ -176,12 +176,3 @@ $conf['proxy']['user'] = ''; $conf['proxy']['pass'] = ''; $conf['proxy']['ssl'] = 0; $conf['proxy']['except'] = ''; -// Safemode Hack - read http://www.dokuwiki.org/config:safemodehack ! -$conf['safemodehack'] = 0; -$conf['ftp']['host'] = 'localhost'; -$conf['ftp']['port'] = '21'; -$conf['ftp']['user'] = 'user'; -$conf['ftp']['pass'] = 'password'; -$conf['ftp']['root'] = '/home/user/htdocs'; - - Note that I re-added the safemode hack even if I don't know what it is. The necessary change was -$conf['savedir'] = '/var/lib/dokuwiki/data'; //where to store all the files +$conf['savedir'] = './data'; //where to store all the files # php compatibility I know nothing about how php is managed on Debian. However, I had to add these links: /usr/share/dokuwiki/vendor/paragonie/random_compat/lib -> /usr/share/php/random_compat /usr/share/dokuwiki/vendor/phpseclib/phpseclib/phpseclib -> /usr/share/php/phpseclib # /usr/share/dokuwiki/vendor/marcusschwarz/lesserphp/ I replaced all {0} with [0] # Result Now it apparently works as it did after the patches I had done to the old package. Additionally, I get this in the Apache log: PHP Warning: Undefined array key "fperm" in /usr/share/dokuwiki/inc/Search/Indexer.php on line 1070, referer: http://wiki.potorti.it/egc2018/bilancio And unfortunately email sending still does not work: emails are sent with an empty From: field, so they fail at the sendmail level.