Also experienced that 2 of my 4 folder sync connections lost during upgrade 2.6.5 to 3.0.1 client
differences in nextcloud.cfg file entries for the two folders:
2 entries were like this:
0\Folders\1\journalPath=/Users/username/Library/Application Support/Nextcloud/._sync_23aa2ce272cf.db
2 entries were like this:
0\Folders\4\journalPath=._sync_9c42cda61adb.db