Recently I had to upgrade a dozen PhpBB boards to the latest version. Previously I would do this by hand, which would take days. This time though, while reading through the update notes, I noticed that it is possible to update the database through the console (I assume this was only introduced in 3.1). That was the necessary prerequisity to be able to automate everything. I ended up with the following script:
```bash #!/usr/bin/env bash echo “Upgrading PhpBB instal in ‘$1’ to 3.1 with files from ‘$2’…”