Before posting, please read: When to use this forum, when to submit a help ticket

Improvements in synchronisation

Started by dr_rollo, March 15, 2025, 02:01:29 AM

Previous topic - Next topic

dr_rollo

I often have issues with synchronization.
Last Wednesday one of my band mates didn't synch before rehearsal, so started it adhoc and the new song were displayed, but the files were missing. Normally no problem, just choose download the single missing file when prompted or choose download missing files from synch menu. But both didn't work. Same happened yesterday with another band, another project. This has occasionally happened in the past.

Also yesterday I added a new user to my account, just give him access to one project with 20 songs. But it's not possible to set the device up quickly. After first login the synch started, but it needs too long to wait for completion. It counts up from 1 to 146000, seems that it checks the whole database even if the user has only access to 20 songs, ~20 docs and 20 audios. After 45 min we stopped the process and asked him to continue later at home.

Right now I'm waiting for synch completion on my new iPhone, started an hour ago and it's still counting up to 146761. After one and a half hour it turns over to processing 1 to 5, get stuck for a while (~15min) on 4/5, and then starting to download the files, not sure how long that will take. My current internet bandwidth is 106 Mbps. Actually right now I just need to have one of my 14 project available, others could be completed later on. But there is no option to focus on one specific project. It seems that when starting the sync process it always checks the whole database for changes that usually takes longer than necesessary at such moments.
Are this 146000 the number of objects in my database? Do I need to run a clean-up? I have one project aned archive where I add all songs which were once added but does not needed any longer in one of my active projects, but could keep it so available whenever I need it, e.g. a free session. Should I better export it and remove it from my database?

So is the issues with synching possibly within my account and my database?
Have other users similiar issues noticed?

dr_rollo

#1
I just stumbled upon another project in my account that I set up for one of my fellow musicians so he could import all his songs there. By now, there are over 1,100 songs in this project alone and over 1,000 documents. There are a lot of duplicate entries, songs without data, and a big mess. Most Songs important from another Songbook App (Songbook or Onsong - I'm not sure). Maybe better to delete this project to clean up my account and recreate this project from scratch...

But when going to delete it, I got the pop-up message:
This project is the only selection for 1 custom fields, 1017 documents, 1 events, 2 set lists, 1142 songs, 10 tags and 1 contacts. Click here to delete the project and all those related items. Or you can simply deactivate the project to prevent it from being selected again. (639)

I cannot deactivate the project, because the active checkbox is grey'd out.

arlo

For the first issue mentioned, please submit a help ticket when you have an example of the problem to show us. For your other questions:

The first time you add an account to your device, it downloads all the data in the account. That can take a while depending on the amount of data in your account and the processing speed of your device. Subsequent syncs will be much faster, but that depends on how much new data you have added since the last sync.

The initial download doesn't try to download only the projects that a user has access to, because if you change the user's project assignments later, it would have to figure out what needs to be retroactively downloaded. So it downloads everything, but then hides whatever data the user doesn't have access to. The exception is for attached files (documents and recordings); since those take longer to download and use more storage space on the device, the app only downloads the files the user has access to, and retroactively looks for new files if the user's access changes.

A project with 1000 songs and 1000 documents will take a long time to download. Most of that time is spent populating the local database after the data downloads. It does that one record at a time, so that's 1000 song records, 1000 document records, plus any other data in the account.

You cannot deactivate the project you are currently viewing. If you want to deactivate a project, you will need to switch to a different project, then edit that project and deactivate it. Deactivating it will not prevent it from being downloaded. If that project was a temporary import effort and you no longer need it, you can delete it by clicking the link in the confirmation message. The confirmation message is telling you how many items will be deleted when you delete the project. Items that are in that project and another project won't be deleted.

dr_rollo

Thx for the quick reply and explanation. I already deleted the faulty project with 1000 Songs and setup a new device, and it seems that in completed faster. I will continue to monitor the issue with the missing files and the download problem, submt a ticket as soon as it happens again.

arlo

FYI, the new app versions released today optimize the database updates so the initial sync takes about 40% as long as before. However, there seems to be a bug in iOS 18 that prevents that optimization from having any effect. But Android and older iOS versions should see the improvement.