I got a sync fail on my first try between two minimal sites on a barebones drupal 7 platform with only 5 modules in sites/all/modules.

No warnings or errors appeared in the Sync task form, but turns out I haven't verified the source site in a while so aegir didn't know about most of my source site.

I think you should display the "Last Verified xyz ago" of each Source site options, and link that site node to remind users to go verify their sites.

Comments

dsnopek’s picture

This is a great idea! Not sure when I'll have time to address it though.

helmo’s picture

Project: hosting_sync » Aegir Hosting Tasks Extra
Version: » 6.x-2.x-dev
Component: Code » Sync
Issue summary: View changes

moving...

helmo’s picture

What kind of changes had happened on the source site?
Did you add site specific modules?

I'm not sure that a time dependent message "last verify longer then x ago." solves it. A module could have been added only minutes earlier.

How far do we want to go to prevent such an error? The sync did not break anything right?

dsnopek’s picture

I've seen a similar "issue" with this with the Migrate task. The problem usually comes when I update something in the platform, so now Aegir's picture of what modules/versions are available is wrong. So, then I try to Migrate, and it says I can't because of a version mismatch. I've never seen it actually break anything though, just prevent me from going forward and it's only experience that tells me I should try verifying. :-)

helmo’s picture

We could schedule a verify every day ... but I'm not sure it would be worth it.
The 'perfect' solution would be to have realtime info ... we could try inotify to listen on a platform and verify on changes...

helmo’s picture

Version: 6.x-2.x-dev » 7.x-3.x-dev