afterlogic / webmail-lite-8

Open-source webmail script for existing IMAP server

Home Page:https://afterlogic.org/webmail-lite-8

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation issue with mkdir() on Ubuntu

webb24h opened this issue · comments

I've downloaded both Aurora Files and Webmail. I cannot install the software on my localhost running lampp. I'm using a safe https tunnel with ngrok for testing.

How to reproduce:

  • Download latest archives from official website
  • Unzip on server running Apache (xampp, lampp for linux)
  • Access in web browser

Result

Warning: mkdir(): Permission denied in /opt/lampp/htdocs/myproject/user/storage/system/Managers/Integrator.php on line 180

Warning: file_put_contents(/opt/lampp/htdocs/myproject/user/storage/data/cache/templates-5830122624a3e7c4dc777d1edfc428f6.cache): failed to open stream: No such file or directory in /opt/lampp/htdocs/myproject/user/storage/system/Managers/Integrator.php on line 184

Warning: mkdir(): Permission denied in /opt/lampp/htdocs/myproject/user/storage/system/Managers/Integrator.php on line 317

Warning: file_put_contents(/opt/lampp/htdocs/myproject/user/storage/data/cache/langs-English-5830122624a3e7c4dc777d1edfc428f6.cache): failed to open stream: No such file or directory in /opt/lampp/htdocs/myproject/user/storage/system/Managers/Integrator.php on line 321
Error: system not configured.

What I've tried :

  • Set new permissions for folder chmod 0777
  • Change www-data group and user permissions (chown -R www-data:www-data /path/to/webserver/www

System :

  • I'm running PHP Version 5.6.20

I'm closing this issue as running a second command chmod 777 worked and solved compatibility test issues