Double check that the flarum files are owned by the correct group and user, they must be owned by the same group and user that your web server software uses (usually www-data) you can usually set the owner in linux via chown -R www-data:www-data /path/to/flarum/install
I'm currently working on getting this information added to the installation documentation.