Michael,
Perhaps some further explanation of the '--rise' and '--undo-rise' processes would be a useful addition to the wiki howto, along with an example that includes both, and emphasizes the need to reboot, and when. I am confused as to where in the sequence of events that manual 'reboots' by the admin are required for things to work correctly.
My guess is, that you have run a '--rise' while the server configuration was in an unclean state with the BootstrapConsole flag set. This can happen, if you change the configuration (via the Console)....
For example, what? -- A server configuration change via the console.... such as, a change to Affa config? to an Affa job? to SME? to Linux config apart from SME? I'm not following your meaning, and I would like to understand. I don't think I made any configuration changes between the time that I started the successful backup and the time that I did the 'affa --undo-rise'.
...and then do not run the required reboot.
With BootstrapConsole flag set, Affa skips its own backup,....
I'm sorry, ... skips *making* its own backup, or skips *using* its own backup made previously? From the rest of your sentence, I think you mean skips making its own backup.
as it assumes that a rise has just run. (Otherswise Affa would backup the just restored data)
But (I think) /var/log/affa shows that a local backup was made as part of the --rise that I did.
Fri May 18 20:39:31[START.17161]: Running /sbin/e-smith/affa --rise mail3prod
...
<snip>
...
Fri May 18 20:39:42[mail3prod.17161]: Backup the affa server base (this host).
Fri May 18 20:39:43[mail3prod.17161]: Exec Cmd: /sbin/e-smith/affa --run AFFA.sme2.guildassociates.com-192.168.111.2
Fri May 18 20:39:44[START.17333]: Running /sbin/e-smith/affa --run AFFA.sme2.guildassociates.com-192.168.111.2
Fri May 18 20:39:45[AFFA.sme2.guildassociates.com-192.168.111.2.17333]: Starting job (localhost,scheduled)
Fri May 18 20:39:45[AFFA.sme2.guildassociates.com-192.168.111.2.17333]: Description: for internal use only
Fri May 18 20:39:45[AFFA.sme2.guildassociates.com-192.168.111.2.17333]: Shifting backup archives...
Fri May 18 20:39:45[AFFA.sme2.guildassociates.com-192.168.111.2.17333]: Nothing to be done.
Fri May 18 20:39:45[AFFA.sme2.guildassociates.com-192.168.111.2.17333]: signaling pre-backup event on localhost
Fri May 18 20:39:48[AFFA.sme2.guildassociates.com-192.168.111.2.17333]: Running rsync...
Fri May 18 20:39:55[AFFA.sme2.guildassociates.com-192.168.111.2.17333]: writing /var/affa/AFFA.sme2.guildassociates.com-192.168.111.2/scheduled.0/.AFFA-REPORT
Fri May 18 20:39:55[AFFA.sme2.guildassociates.com-192.168.111.2.17333]: Job (localhost,scheduled) finished.
Fri May 18 20:39:55[AFFA.sme2.guildassociates.com-192.168.111.2.17333]: Exiting. <<<
Fri May 18 20:39:55[mail3prod.17161]: Exec Out: exitstatus=0
The example in the howto entitled 'Moving a SME 7 server installation to a new hardware using the Affa rise feature' is the one place I see a mention of a need to manually reboot. This (step 8) comes immediately after the '# affa --rise prodbox' in step 7. Is this the reboot that I missed? I'm fairly certain that I did not reboot the Affa server after the --rise command, as it reboots itself in the process of rising, and I thought that was it. Is this what I missed or is there something else?
Finally, two more questions:
1) Do I assume correctly that the only path for my current *risen* Affa server to become an Affa backup server again is to start over?
2) Do I assume correctly that upon installing SME, Affa, and additional contribs, that I must configure certain contribs, (I'm thinking of RoundCube) on the Affa server as I would on a new source server? Or should I expect the configuration will be saved in the backup of the source server, and used when I restore or --rise? In case you are not familiar with where the RoundCube config stores things, Dungog has brief but complete setup instructions here:
www.dungog.net/sme/webapp.php#roundcubeThanks for your terrific work on this, and for your answers.
Mark