Unable to update template
Summary
Manual update of the template using Extension manager, upload fails with 'Uploading the file failed (1)' message.
Step to reproduce
- Open web browser
- Point to localhost/dokuwiki
- Login as administrator
- Go to Extension Manager
- Lookup for bushwick theme and install
- Go to theme documentation page
- Click on 'Download' link
- On local dokuwiki go to Extension Manager / Manual Install
- Select downloaded file, check 'Overwrite existing files', click on 'Install'
Doing the same with other template (argon) generates no error.
Checking Apache error.log, this message appears
AH01630: client denied by server configuration: /var/www/dokuwiki/data/dont-panic-if-you-see-this-in-your-logs-it-means-your-directory-permissions-are-correct.png, referer: http://localhost/dokuwiki/doku.php?id=start&do=admin
Looking on the dokuwiki forum, this quite old page was about SSO, not relevant. There is also this topic. However unless I missed something Apache configuration is fine. Probably something is wrong on my configuration, what puzzle me is that only this theme fails.
Server configuration
- Host: Debian unstable
- Apache: 2.4.46 (debian package)
- Php: 2:7.4+76 (debian package)
- Dokuwiki: 2020-07-29 Hogfather
Apache configuration
Attached to this message apache2.conf
Dokuwiki configuration
The local.php file:
# cat /var/www/dokuwiki/conf/local.php
$conf['title'] = 'name';
$conf['license'] = 'cc-by-sa';
$conf['useacl'] = 1;
$conf['superuser'] = '@admin';
$conf['disableactions'] = 'register,subscribe,unsubscribe';
$conf['im_convert'] = '/usr/bin/convert';
$conf['proxy']['user'] = 'user';
$conf['proxy']['pass'] = '******';
PHP Configuration
Default configuration (unchanged).
Directory access
All files are accessible to www-data (apache user)
Edited by Arnaud Gardelein