Run bash script as a cronjob to sync database and data between primary/backup server.
Expected behaviour Tell us what should happen
Database and data should be synced to backup server, mysql should restart, and I should be able to log into owncloud.
Actual behaviour Tell us what happens instead
Navigating to login screen results in blank white page. Manually restarting mysql fixes this issue. Service mysql restart is the last line of the bash script, so this shouldn't be required to manually enter.
Operating system: Ubuntu 14.04 Web server: Apache Database: Mysql 5.5 PHP version: ownCloud version (see ownCloud admin page): 9.1.4 Updated from an older ownCloud or fresh install: Fresh install