← Back to team overview

papercuts-ninja team mailing list archive

[Bug 1165104] Re: oneconf is only showing the pc you are on in raring and isn't sharing to other machines

 

Ok. Steps to test the patched oneconf in Ubuntu 13.10 Saucy:

1. If you haven't enabled software sync yet, do it first: open Ubuntu Software Center (USC) and choose "File > Sync Between Computers" in the menu (you'll be prompted for your Ubuntu One credentials if sync wasn't enabled yet).
Then close USC.

2. Download the patched oneconf code from
http://bazaar.launchpad.net/~brunonova/oneconf/lp1165104/tarball/275?start_revid=275
, then extract it (it's an archive; this link was not very easy to
find).

3. Open a terminal inside the extracted oneconf source directory (the
folder "lp1165104", containing several folders and files like "oneconf-
service").

4. Start the oneconf-service with the command "./oneconf-service --debug", and
watch the debug messages.
If it reports that oneconf is already running, execute "oneconf-query --stop" then run the previous command again.
Keep an eye out for WARNING and ERROR messages, and messages like "credential not found".
The "Error in loading other_hosts file" warning is perfectly fine if this is the first sync.

5. Wait for the sync to finish (wait for half a minute or so).
Then open USC, go to the installed software "tab" (or "File > Sync Between Computers").
See if USC "says" something like "Last sync DATE/TIME" at the bottom (below the list of computers).
If yes, then it seems the software list was successfully synced to the server.
Then close USC.

---

Repeat the previous steps in another computer(s) (you can use Virtualbox
as another computer).

---

6. Now to see if the software list is synced between computers (through the server).
Stop the oneconf-service ("oneconf-query --stop") in both computers.
Then start it again ("./oneconf-service --debug") in one computer.
After the sync finishes, do the same for the other computer.
Then open USC in both computers and go to the installed software "tab". Check if all computers are listed and if, when you select another computer, if USC displays the differences between the computers (what is installed in both/what is only installed in one/what is only installed in the other).
If yes, it works! If not, repeat this step one or two more times.

Also, the synced data is stored in the directory "~/.cache/oneconf/RANDOM_NAME".
The files "other_hosts" and "package_list_*" are of particular interest.
If you want to clear the oneconf cache (and start from fresh), delete (or move) the RANDOM_NAME directory.

-- 
You received this bug notification because you are a member of Papercuts
Ninjas, which is a bug assignee.
https://bugs.launchpad.net/bugs/1165104

Title:
  oneconf is only showing the pc you are on in raring and isn't sharing
  to other machines

Status in One Hundred Papercuts:
  Triaged
Status in “oneconf” package in Ubuntu:
  Triaged

Bug description:
  In Raring I see only the machince I'm on.  In the precise box beside
  it I see a couple of boxes but not this one.  Please see the
  screenshots attached.

  I have a feeling that some how the sync has broken but I'm not sure
  what technology it is use on the backend.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: oneconf 0.3.3
  ProcVersionSignature: Ubuntu 3.8.0-16.26-generic 3.8.5
  Uname: Linux 3.8.0-16-generic x86_64
  ApportVersion: 2.9.2-0ubuntu5
  Architecture: amd64
  Date: Fri Apr  5 18:18:24 2013
  InstallationDate: Installed on 2013-04-02 (3 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130402)
  MarkForUpload: True
  PackageArchitecture: all
  SourcePackage: oneconf
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1165104/+subscriptions