Bug #444
Sync is not working
Status: | Closed | Start date: | 12/13/2010 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | - | |||
Resolution: | worksforme | Pull request: | ||
Affected Versions: |
Description
onehost's sync command isn't working nor auto sync when new remotes are added.
Also, SCRIPTS_REMOTE_DIR value isn't used on the first sync.
Associated revisions
History
#1 Updated by Nuno Cardoso over 10 years ago
Nuno Cardoso wrote:
Also, SCRIPTS_REMOTE_DIR value isn't used on the first sync.
I've tracked down this problem but it is already fixed in git... I'm using the packaged version.
Wouldn't it be nice to have nightly builds of the packages?
#2 Updated by Nuno Cardoso over 10 years ago
This issue has been fixed in the last package. You can close it!
#3 Updated by Ruben S. Montero over 10 years ago
- Status changed from New to Closed
- Resolution set to worksforme
#4 Updated by Shi Jin about 10 years ago
I am running one-2.2 and "onehost sync" still does nothing to after I make changes to $ONE_LOCATIOIN/var/remotes
The onehost code does not seem to do anything other than a touch:
when "sync" check_parameters("sync", 0) if ONE_LOCATION FileUtils.touch "#{ONE_LOCATION}/var/remotes" else FileUtils.touch "/var/lib/one/remotes" end
Shouldn't it call the scp command to copy files over?