Skip to content

/usr/share/dokuwiki/conf/ directory not created during install + multiple permission issues (Ubuntu Server 18.04 LTS 64bit) #2951

@johays

Description

@johays

Trying to setup DokuWiki on a fresh Ubuntu Server 18.04 LTS 64-bit install.

Setup-method: apt
Webserver: apache2
php-versoin: 7.2.24

After installing I tried to run localhost/dokuwiki/install.php - there was a long error list (missing write-permissions on 10+ folders and files).
Following this guide (https://www.dokuwiki.org/install:ubuntu), all but one error disappears.

Remaining error:

/usr/share/dokuwiki/conf/ is not writable by DokuWiki. You need to fix the permission settings of this directory!

Consulting both /var/lib/dokuwiki/data/ and /usr/share/dokuwiki/ it results that the conf-directory has not been created at all during installation.
The installation (apt) did not report any errors.

Tried fixes (negative):

  • manually create conf-directory and changing ownership to www-data:www-data
  • chmod -R 0777 on ../dokuwiki directory (desperate, I know)
  • clear cache in browser

It is not a strange thing that an admin would try to set up DokuWiki on an Ubuntu Server. This should really work out of the box. Can we please fix this? <3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions