I still have a version 5 instance running and wanted to upgrade, but where have the related documents been moved to? I did this operation on another instance during last summer, but the URL is no longer valid
Depending on the amount of your users and files i wouldn't risk to upgrade such an outdated version. Mostly its easier, safer and faster to backup your data on client side, install a fresh oC 9.1.3 instance and re-import your data from client side (after you have recreated your user).
The main issue is that you would need to do a upgrade over 7 major releases step by step: