Nextcloud login is very slow after terminated chunk file upload

After I terminated a chunk file uplaod process, login process is taking too much time.
I ran occ files:cleanup , maintenance:repair etc. but nothing changed. Loginc process still takes 20-25 sec.
I setup new nextcloud with new db problem is solved. But i need prev. setup because i need users and files.
Do you have any advice about solving problem or setting new nextcloud with prev. db and data ?

You can read backup and restore.