DokuWiki Setup Error

The mediadir ('media') does not exist, isn't accessible or writable. You should check your config and permission settings. Or maybe you want to run the installer?