- Break backward compatibility with version on rolling.
- Use real interfaces.
- Use the common directory for ownCloud data.
- Use two app folders: the read-only in-snap apps, and user-installed
ones in $SNAP_DATA.
Also started using the .htaccess file shipped in the root of ownCloud.
Note that this was done with a direct include rather than enabling
overrides due to the performance penalty. Typically this would be
unsafe, but the dangers are negated by the fact that the .htaccess file
is read-only.
ownCloud doesn't handle migrating an install, which means in order to do
so one must directly access the database. The current snap doesn't
expose a MySQL client, so such a thing is currently difficult. This
commit exposes the MySQL client as an app, which will use the root MySQL
user.
Currently the Apache startup script just runs `occ upgrade` without
checking the result. However, its success depends upon a number of other
factors (e.g. mysql being ready), so it could potentially fail. This
commit updates the startup script to make an `occ upgrade` failure
fatal, thus causing Apache to restart and try again.