Problem with recovery from backup

Hello everyone. I am a medical user of openemr and I had difficulty making a recovery from a backup of openemr. I use version 5.0.0 in xubuntu. I was restoring to a new device. I was use the restore script.
The database of patients well. The problem is when I want to see View past encounter and I click to see a new tab with an empty form tag. when i click in one or other past encounter obtain an empty form.
Thanks in advance if you can give me a help. best regards