Hello
I might be doubling down previous posts that state the same, so sorry if it's the case, no time for checking right now.
I followed those guides to fix the mess that occurred during a failed upgrade:
https://www.synology.com/fr-fr/knowledgebase/DSM/tutorial/Storage/How_can_I_recover_data_from_my_DiskStation_using_a_PC
it's french but you should be OK (and learn a little french never hurts )
and when partition recovered
I also had trouble logging to the desktop, due to tight access rights, so this guide helped
https://superuser.com/questions/1191594/cannot-log-in-to-dsm-synology-nas/1191644#1191644?newreg=c972006f3d724685859db47d837ef430
I wish you luck