Upgrade to 13.1

Hi. I’m trying ro upgrage xwiki from 11 to 13.
Firstly i’ve read https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Upgrade Then I stop the app, set up xwiki.store.migration=1 and environment.permanentDirectory to /var/lib/xwiki/data (and of course set suitable owns) Then copied all data from tomcat work dir (tomcat/work/Catalina/localhost/xwiki) to /var/lib/xwiki/data Then backed up work dir and other as it point in backup page. I deleted current application xwiki and install new xwiki 13.1. I copied xwiki.cfg, xwiki.properties, hibernate.cfg.xml and postgres lib back to their directories. When i started the app the catalina.out print that database migrate correctly despite there were some errors with plugins. But when I upgrage Flavour, there were conflicts:
-XWiki.Admin
+XWiki.superadmin
I’d tried to leave old and set new. When xwiki load it lost static data like pictures and upload files. Also I lost admin privileges. When I logged in supedadmin the page Admin profile print this: Profile-of-Administrator-XWiki