I have installed and updated PHPbb through the script initially, then manually as the update is required.
No issues at all apart from one thing.
Large uploads. They always fail.
I have changed ownership and chmod to 777 still no difference.
Changed back to default, and obviously no difference.
It does throw an error “HTTP Error”, and that’s all I get.
Now looking at the apache logs at /var/log/apache2 they’re empty.
-rwxrwxrwx 1 root adm 0 Aug 18 14:09 access.log
-rwxrwxrwx 1 root adm 0 Aug 18 14:17 error.log
-rwxrwxrwx 1 root adm 0 Aug 18 14:09 other_vhosts_access.log
As you can see I’ve chmod to 777 and still zero bytes.
So how do I get the system to write to the error log so I can track down this problem?
As well you could increase log level inside /etc/apache2/apache2.conf. Current value should be warning LogLevel warn. You could try changing it to trace8, ..., trace1 or debug.
Strange, but after a lot of experimenting, it seems to be files of 4GB or larger that have an issue, and I know EXT4 doesn’t have a 4GB limit, so it must be PHPbb I think.
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here. If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
#
ErrorLog /var/log/apache2/web.log
#
# LogLevel: Control the severity of messages logged to the error_log.
# Available values: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the log level for particular modules, e.g.
# "LogLevel info ssl:warn"
#
LogLevel error
you could try to ask on phpBB community if someone has an idea. Anyway to enable access log on Apache, you would need to activate it first Add following line into your configuration and restart Apache.
CustomLog ${APACHE_LOG_DIR}/access.log combined
Files are filling up on my test system
root@DietPiR5S:~# ls -la /var/log/apache2/
total 8
drwxr-x--- 2 root adm 100 Oct 8 11:23 .
drwxr-xr-x 5 root root 220 Oct 8 11:24 ..
-rw-r----- 1 root adm 655 Oct 8 11:30 access.log
-rw-r----- 1 root adm 405 Oct 8 11:23 error.log
-rw-r----- 1 root adm 0 Oct 8 11:23 other_vhosts_access.log
root@DietPiR5S:~#
Out of curiosity, what does the number after the status code mean? In this case it’s 3425.
Now to track down the reason for the timeout, PHP, Apache or PHPbb.