It’s probably because I restored from the backup before installing from the UI. Also I think the last backup was on v29 from this issue Nextcloud Upgrade to v820 failed
I’m trying now to rollback to a older version v28
snap install nextcloud_775_$(dpkg --print-architecture).snap --devmode