by Ken Task.
Don't think Bill did any hacking/correcting of code, but, from his response, corrected either paths or locations of moodledata/filedir in his cluster setup. Do you have a cluster setup?
You've also said "with moodle 2.7 from very beginning"
Is this the complete error you see? "The requested file does not exist in temp/backup" or does it show your moodledata/temp/backup/ then some long filename like:
11b7c96522e8ca079a2f27e843bcea5f
That particular line in a 2.7.15 (Build: 20160711) is the following.
if ($stage < $currentstage && $currentstage < restore_ui::STAGE_COMPLETE) {
//$item['link'] = new moodle_url($PAGE->url, array('restore'=>$this->get_restoreid(), 'stage'=>$stage));
}
I've just tested a restore on the build you see above and no such errors.
Check your moodledata directory ... temp/backup/ to see if there is a larger than 0 byte .log file by a long name like:
6363ad4f8c8ab0b14014c95e00fabd37.log
Those are asciii (text and can be viewed). If there is anything in there it might be a clue as to what happened.
'spirit of sharing', Ken