Secondary to Primary script now replaced by Toolbox option?

boreham's Avatar

boreham

03 Oct, 2021 07:40 AM

I read in https://infinitekind.tenderapp.com/discussions/iphone-ipod-touch-ip... that Toolbox can now convert secondary to primary.

Doe that mean I can trash the script ?

This whole secondary/primary business is a pain which trips many people up. I suggest the app might have a few pointers on the appropriate settings pages to warn. EG "This computer is the secondary sync computer" on the syncing page, with a sentence about to convert.

  1. 1 Posted by Stuart Beesley ... on 03 Oct, 2021 08:27 AM

    Stuart Beesley (Mr Toolbox)'s Avatar

    Toolbox can do this for you so I would suggest it’s safer than you running a script. I also maintain the extension so that it always works. But it’s up to you.

    (Not support, just a fellow user)

  2. 2 Posted by boreham on 03 Oct, 2021 08:28 AM

    boreham's Avatar

    I don't need to do this but just tried Toolbox out of interest and can't see a button which converts Secondary to Primary?

    Which tab is it in?

    PS I am currently set to "Don't sync"after a lot of recent sync problems, so maybe the option doesn't show?

    ( I have been using MD since 2002, but sync problems seem to crop up out of the blue about every two years. This time it was iPad syncing that fell over. Have now decided that I will use Screens on my iPad to access MD on my Mac, when I need it. Working well and means I have full fat MD on my iPad)

  3. 3 Posted by Stuart Beesley ... on 03 Oct, 2021 08:37 AM

    Stuart Beesley (Mr Toolbox)'s Avatar

    This is why Toolbox is safer... It knows you are already a primary.. It will actually tell you when you launch Toolbox if you are secondary... The Button is on the main screen in Orange if secondary is detected...

  4. 4 Posted by boreham on 03 Oct, 2021 08:57 AM

    boreham's Avatar

    Thanks Stuart that is excellent.

    Now the app needs modifying to mention Toolbox on the syncing page! If it remains as little known as the script it will be a pity!

  5. 5 Posted by Stuart Beesley ... on 03 Oct, 2021 09:02 AM

    Stuart Beesley (Mr Toolbox)'s Avatar

    👍 personally the MD syncing page needs changing to allow the user to promote from there… but hey ho. Enough ‘experts’ know to point Toolbox out to anyone who asks. 😊

  6. 6 Posted by boreham on 03 Oct, 2021 09:07 AM

    boreham's Avatar

    Yes even better!

    Toolbox looks powerful, if potentially dangerous, even though there is a clear barrier between read-only and write.

    I think Primary conversion is the only issue for which I have ever needed to go under the bonnet (hood) so to speak.

  7. 7 Posted by Stuart Beesley ... on 03 Oct, 2021 09:13 AM

    Stuart Beesley (Mr Toolbox)'s Avatar

    It’s powerful, but with safeguards, intelligent checks, backups and warnings where needed. You would have to try very (very) hard to actually damage anything. Ie ‘damage’ could only be caused by a very persistent and deliberate user choice. And of course, if you backup as it always requests, then you can always restore afterwards.

  8. 8 Posted by boreham on 03 Oct, 2021 09:15 AM

    boreham's Avatar

    👍🏻

  9. Support Staff 9 Posted by Ethan on 03 Oct, 2021 08:35 PM

    Ethan's Avatar

    I don't know if I'd say we should 'trash' the script, but the Toolbox extension definitely seems like an easier way of promoting secondary files to primary, and many people have used that method with success.

    I'll pass on the feedback about the syncing window options. I agree it would be useful to have that option there, but we also don't necessarily want people clicking on that without knowing what it does. Maybe behind an 'advanced' button with some kind of explanation, or something like that.

    Ethan
    Infinite Kind Support

  10. 10 Posted by boreham on 04 Oct, 2021 09:28 AM

    boreham's Avatar

    Thanks.

    While on the subject of Toolbox, I have read the main info page and browsed the app.

    Is there anything like a "Verify and Repair" capability for an MD datafile?

    If not, is that a feasible suggestion/request?

    Are there any other maintenance/good practice tools within Toolbox?

    Thanks

  11. 11 Posted by Stuart Beesley ... on 04 Oct, 2021 10:56 AM

    Stuart Beesley (Mr Toolbox)'s Avatar

    An easy question, with a complicated answer....

    Firstly, I have tried to build every known issue/fix into Toolbox.. Also, every known IK support fix script has also been incorporated...

    No there is no Verify and Repair capability.

    The 'dataset' is actually a folder (or package folder on Mac) which contains many files. Some are more important than others.

    • for example, if you lose/damage the file called 'key' then you are completely buggered! There is no fix that would repair this.

    • 'trunk' is another. This is your encrypted dataset. It contains your actual data.

    • Some other files can be lost, and whilst painful, it would not be catastrophic.

    Fundamentally, if you had an operating system type disk/file event that lost or corrupted the files/folder, then I doubt any MD/Toolbox 'repair' feature would ever work. In this case, you are talking about a restore... So BACKUP (Daily) is your friend!!

    So next, you could have an encryption/decryption problem.. This would be rare, and/or possibly caused by forgetting your passphrase, disk error, a process not completing.. In this instance, to be really damaging, it would have to damage trunk... Again, I doubt any repair utility would work...

    Sync is another category.. The best fix is to blow Sync away and start Sync again... (Toolbox now has a neat refresh Sync option)

    So, finally we get to data issues...
    - Toolbox has many fix features... As mentioned, it can fix most things we know about. I could build a feature which ran every detect/fix feature, but I don't want to do this.. I think that could open a Pandora's box.. I prefer that when a user hits an issue, they look for the resolution (possibly guided by others/support) in Toolbox... Perhaps others have opinions on this?

    • I think Analyse Dataset is good to tell you how large the dataset is and where the size is being consumed..
    • Diagnose Attachments is another useful one
    • Fix: Delete Orphaned Extensions is a good cleanup routine
    • OFX: Cleanup missing banking links might be useful
    • Delete All cached OnlineTxnListRecords is a good cleanup when using OFX downloads
    • Diagnose Currencies is a useful diagnostic

    BUT in general, I subscribe to the 'if it works, don't fix it' approach....

  12. 12 Posted by boreham on 04 Oct, 2021 04:25 PM

    boreham's Avatar

    Thanks very much for the comprehensive reply. Obviously a lot of work thoroughly thought out.

    I expect I will start syncing again at some point and the refresh option could be useful if it goes wrong.

  13. System closed this discussion on 03 Jan, 2022 04:30 PM.

  14. boreham re-opened this discussion on 14 Aug, 2022 02:21 PM

  15. System closed this discussion on 14 Aug, 2022 02:30 PM.

  16. boreham re-opened this discussion on 14 Aug, 2022 02:31 PM

  17. 13 Posted by boreham on 14 Aug, 2022 02:31 PM

    boreham's Avatar

    Several months have passed and I need to convert a Secondary to Primary after decommissioning a computer....but failing how to do it in Toolbox.

    Post #3 above said "....It will actually tell you when you launch Toolbox if you are secondary... The Button is on the main screen in Orange if secondary is detected..."

    But I can't see an orange button (screenshot below)

    In my screenshot there is a message that secondary detected and to use "Update Mode" to change, but I can't find that either.

    Advanced Mode has Update Functions but they are greyed out and don't include a promote to Primary, only a demote to secondary.

    Thanks for any help and apologies if I being blind/dense!

  18. 14 Posted by boreham on 14 Aug, 2022 02:36 PM

    boreham's Avatar

    Cancel the above...found it...didnt realise that the words "Toolbox options" was clickable....thought I would be doing something silly.

  19. 15 Posted by Stuart Beesley ... on 14 Aug, 2022 05:05 PM

    Stuart Beesley (Mr Toolbox)'s Avatar

    Yup - 1) menu names changed a while ago, and you can click Toolbox Options..

    Toolbox 🧰 +1 😃

  20. 16 Posted by boreham on 15 Aug, 2022 08:34 AM

    boreham's Avatar

    Thanks Stuart, I don't use it often enough to remember!

    Also just remembered that has to be done separately for each dataset. My mindset was it was a whole app change.

  21. 17 Posted by boreham on 03 Oct, 2022 10:23 AM

    boreham's Avatar

    Sorry to revive this again!

    I have just migrated to a new (Mac) computer. The computer I migrated from also Mac, was the secondary (another computer was primary).

    I launched Toolbox to change the new Computer to Primary, but I am not seeing any notification that it is secondary, as I expected it to be. No orange box.

    Is there anywhere in Toolbox where it states that the computer is primary?

    How did this happen,

    Thanks.

  22. 18 Posted by Stuart Beesley ... on 03 Oct, 2022 10:46 AM

    Stuart Beesley (Mr Toolbox)'s Avatar

    If there is no popup box when launching toolbox, then it is already primary. Further, if you enable Advanced Mode and then go to Advanced Menu, the DEMOTE Primary to Secondary will ONLY be enabled if you are already a Primary... ?

  23. 19 Posted by boreham on 03 Oct, 2022 11:03 AM

    boreham's Avatar

    Thanks for quick reply, Stuart.

    The DEMOTE option is there, doubly confirming primary.

    Does it surprise you that it is Primary, since it was migrated from a Secondary?

  24. 20 Posted by Stuart Beesley ... on 03 Oct, 2022 11:12 AM

    Stuart Beesley (Mr Toolbox)'s Avatar

    Depends on the exact procedure you followed to do this...? What did you do?

  25. 21 Posted by boreham on 03 Oct, 2022 11:14 AM

    boreham's Avatar

    Reinstalled macOS, and migrated using the Setup Assistant at the end of the install.

  26. 22 Posted by Stuart Beesley ... on 03 Oct, 2022 11:24 AM

    Stuart Beesley (Mr Toolbox)'s Avatar

    Then it either wasn't a secondary, or you restored a MD backup (using file/Restore from backup)

  27. 23 Posted by boreham on 03 Oct, 2022 11:28 AM

    boreham's Avatar

    I definitely didn't restore from a backup, but there is a chance I am mistaken about the old computer being a secondary.

    Thanks

  28. 24 Posted by Stuart Beesley ... on 03 Oct, 2022 11:35 AM

    Stuart Beesley (Mr Toolbox)'s Avatar

    Latest PREVIEW Toolbox on my site makes the message more obvious on the main Toolbox screen....... Whether PRIMARY or SECONDARY.....

  29. 25 Posted by boreham on 03 Oct, 2022 11:42 AM

    boreham's Avatar

    Thanks That sounds a good move, since this is the main (and only, so far) reason I have opened Toolbox.

  30. 26 Posted by Stuart Beesley ... on 03 Oct, 2022 11:57 AM

    Stuart Beesley (Mr Toolbox)'s Avatar

    Perhaps you could install the latest PREVIEW and confirm the message is better?

    https://yogi1967.github.io/MoneydancePythonScripts/

    https://github.com/yogi1967/MoneydancePythonScripts/raw/master/tool...

    Thx ?

  31. 27 Posted by boreham on 03 Oct, 2022 12:21 PM

    boreham's Avatar

    Yes that is very clear...thanks very much!

  32. 28 Posted by boreham on 04 Oct, 2022 11:40 AM

    boreham's Avatar

    Hello Stuart,
    I said in post#23 that I could have been mistaken about the computer I migrated from being secondary. I have just had a look at it and it was indeed primary, and still is.

    So at the moment I am sitting in front of two syncing computers which both report in Toolbox that they are primary.

    Does this matter? Should I change one to secondary?

    Thanks

  33. 29 Posted by Stuart Beesley ... on 04 Oct, 2022 11:47 AM

    Stuart Beesley (Mr Toolbox)'s Avatar

    Good question. Word on the street is that there is almost no difference between the two modes (apart from a couple of situations)... If it were me, I would be demoting the one you want as secondary to secondary...

  34. 30 Posted by boreham on 04 Oct, 2022 12:22 PM

    boreham's Avatar

    Thanks, I have changed one to Secondary.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac