1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-06-09 19:10:54 +00:00

Fix #1023 by changing ownership of roundcube DB after running migrations

This commit is contained in:
Corey Hinshaw 2016-12-05 10:09:52 -05:00
parent 61105b1ec3
commit da43394009

View File

@ -162,6 +162,7 @@ chmod 664 $STORAGE_ROOT/mail/users.sqlite
# Run Roundcube database migration script (database is created if it does not exist)
/usr/local/lib/roundcubemail/bin/updatedb.sh --dir /usr/local/lib/roundcubemail/SQL --package roundcube
chown www-data:www-data $STORAGE_ROOT/mail/roundcube/roundcube.sqlite
# Enable PHP modules.
php5enmod mcrypt