Sync error after Change of mobile

Have a look at some of the suggestions I made here:

In particular, for your scenario I think it may be that your new device is not able to see the .resources folder to push the default notebook resources to for the initial sync, so maybe of you show hidden files in nextcloud that might resolve it