I have 2.6 installed and working great. The archivists have been entering data, things going in fine.
Last night I was asked to change the theme from arDominion to arArchivesCanada (we are still customizing the look and feel and they wanted to see if the Archives Canada theme would be closer to what they want than customizing the default).
I took a backup of nginx/atom and a dump of the atom database and copied them offsite. I then changed the theme, which (barring any sort of programming errors) should not have affected anything (I assume).
I did a ‘php symphony cc’ after the change.
I get a call asking to change it back because a bunch of data has gone missing (authority records not linked to places and people - I think, I’m just the tech guy).
I change it back to the previous backup when everything was fine. This is by moving the nginx/atom folder out of the way (atom.orig), copying the backup atom folder to where it was, and doing a MySQL -u atom atom < atom-backup.sql
The records are still not there / not linked.
Ok, I restore the night before’s backup and do the same thing. Same result. Nothing changes.
At this point I did the following:
- php symphony cc
- restart nginx
- restart memcached
- restart php-fpm
Check again - no change.
Reboot the server in case something else didn’t get restarted. No change still.
Unless there’s something I’m missing about what’s involved in restoring a site (other than the nginx/atom/* folder and the database) - there *must* be something cached still somewhere. I’ve done the cc multiple times just in case as well as the restarting of those 3 services, but to no avail. There *has* to be something I’m missing as to why it would not restore back to the state it was in 2 days before this (I assume innocuous change). Hell, even if the software was buggy and it *did* wipe out record / links when changing a theme there’s no reason or it not to go back to how it was pre-backup!
Many thanks for any pointers.