Hide Forgot
Description of problem: I am connected to the network and have no connectivity problems. Backups wont run as deju dup fails to detect the network connection. Version-Release number of selected component (if applicable): Name : deja-dup Arch : i686 Version : 17.92 Release : 1.fc15 How reproducible: Everytime Steps to Reproduce: 1. Setup a network backup with Deja-dup and try and run Actual results: No backup, but a continual poll from deja-dup (evident through a strace) Expected results: Successful Backup Additional info: selinux is off.
Does downgrading to the older version fix this problem? I am wondering if this change was because of the recent NM update. Would you do a yum downgrade and confirm that it works?
No it doesn't. I actually think this might be a problem between vala and network-manager looking into it closer. The deja-dup code simply reads: if (Network.get().connected) resume(); else pause(_("Paused (no network)")); } It seems the NetworkManager upgrade may have broken this check.
Downgrading NetworkManager has fixed the problem for me. Does this bug need to be reported against NetworkManager?
Reassigning. Dan, let me know if there is something I need to do about this.
deja-dup-17.92-2.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/deja-dup-17.92-2.fc15
Tried update. Problem is still there.
Package deja-dup-17.92-3.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing deja-dup-17.92-3.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/deja-dup-17.92-3.fc15 then log in and leave karma (feedback).
This release does not fix the problem. Sorry. Have left a comment at the URL provided.
I've just confirmed that the new 18.0 release does not fix the problem either, even though it includes the network manager 0.9 patch. -c
Created attachment 491233 [details] Updated patch for NM 0.9 New states weren't updated in handle_signal() function. These bits are already upstream: http://bazaar.launchpad.net/~deja-dup-team/deja-dup/20/revision/887
The patch replaces the previous nm09.patch in Fedora git.
Chris, Would you mind testing and applying this patch? Don't have a network to test now.
Hey folks. The patch will be upstream in 18.1. I have some concern that the patch is not being applied correctly in the rpm because without that second commit it should not compile at all. If you are patching the vala sources, make sure to pass --enable-maintainer-mode to allow the c sources to be regenerated.
Even with --enable-maintainer mode the source fails to compile with this patch: libnotify.vapi:22.37-22.39: error: The symbol `Gdk' could not be found public void set_icon_from_pixbuf (Gdk.Pixbuf icon); ^^^
Adding CommonBugs as a keyword for tracking. We need to get this documented in the wiki for the beta. I don't think blocking the release itself is necessary since it can be fixed with an upstream 18.1 release in the worst case within a few days. For reference, the release schedule is at http://fedoraproject.org/wiki/Releases/15
I manually applied the updated patch to source and created a new src rpm which builds for me using f15 mock build, however the problem persists (tested under F15 live CD). http://csmart.fedorapeople.org/deja-dup/deja-dup-18.0-2.fc15.src.rpm -c
Created attachment 491462 [details] Build error when passing --enable-maintainer-mode Build log from mock build with updated NM patch and passing --enable-maintainer-mode for vala.
Unfortunately I can confirm. I built Chris's SRPM with the patch pre-applied to the source and the network connections still remains undetected.
I will work on this tonight and test with the latest 0.9 (my development machine is Ubuntu 11.04 so I don't have 0.9 yet, which is why I never noticed the problem myself). Hopefully I can get it working. I'll release 18.1 once I do. As for the compile problems with --enable-maintainer-mode, I'm not sure why that would happen. Deja Dup uses its own libnotify.vapi file in the vapi/ directory, with its own libnotify.deps that includes gdk-pixbuf-2.0... Is there some difference between Fedora and Ubuntu valac? They should both be 0.12. The issue with --enable-maintainer-mode needn't block this bug, since I can release 18.1, but it should really be fixed long term unless you're comfortable patching C sources in the future instead of the Vala sources.
I built 19.0 from launchpad (the current development branch). It correctly detects network state and works.
deja-dup 18.1 is out, which is supposed to have the fixes applied. I will build this, test, and report back. -c
(In reply to comment #21) > deja-dup 18.1 is out, which is supposed to have the fixes applied. I will build > this, test, and report back. OK, well 18.1 doesn't seem to work for me either. I did a mock build and tested on F15 live CD. No joy. -c
Guh... I tested with NM 0.9 and it worked for me.
Why are we getting conflicting reports? Rob tested 19.0 (which had the same patch that 18.1 has) and I tested 18.1 fine. But Chris tested 18.1 and it didn't work. Can we get more results? I'm willing to help here, but I'm not sure what the next step is.
Michael did you build deja-dup from upstream or from the srpm that Chris provided? I think that is where the conflicting reports are coming from. Built from upstream it works.
Just to double check I pulled the 18 branch from Launchpad,and the problem is fixed. Sorry Chris but it seems the problem might now lie in the SRPM you have provided.
Sorry if that's the case! I'll create a new SRPM from 18.1 tarball, and try again. If someone has a SRPM already, then let me know and I'll compare that. Rob, how were you testing it? I was doing a mock build for Fedora 15 x86_64 on my Fedora 14 machine, and then installing the resulting RPM in Fedora 15 alpha release system under VirtualBox. I then kicked up Deja Dup and created a backup over SSH, which pauses. -c
No I have been downloading the upstream source and building it on the system, without using mock, or even building an RPM. I have recently switched to using F15 as my primary OS.
Created attachment 492279 [details] Deja-Dup 18.1 SRPM of the 18.1 release of deja-dup
I have uploaded an SRPM which builds with mock for me.
(In reply to comment #30) > I have uploaded an SRPM which builds with mock for me. Hey Rob, I did a mock build of your SRPM and it also works for me (although it's not using the same source as 18.1, and backups across SSH don't _actually_ occur). Anyway, I also used your spec file with the 18.1 source tarball (spectool -g deja-dup.spec) from deja-dup on launchpad, built and tested this - it also works on my freshly installed F15 test system (and backups actually run). I compared your spec file to mine and it was identical except for yours having a newer build number. So I must have made a mistake with something, for which I apologise. Thanks to you (and Michael, of course) for your help! I've committed 18.1 for Rawhide. Perhaps some others can also test? Cheers, Chris
for Rawhide, why not just commit 19? it's Rawhide! :)
Look, I'm really sorry, but I just realized why we may have had different results. The 18.1 tarball had the patch applied to the Vala sources but did not include regenerated C sources (I have to figure out how that happened to avoid it in the future). I just released 18.1.1 with confirmed patched C code and a bonus Basque translation update. :-/ Adam, 19.0 isn't released yet.
Thanks Michael. This seems to work and I have pushed this new release to Rawhide. I do some more test builds for F15 and push. -c
deja-dup-18.1.1-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/deja-dup-18.1.1-1.fc15
Please confirm that the build in F15 testing/Rawhide fixes the problem, so that I can close this bug. Thanks! -c
I can confirm this package works. Please close.
Package deja-dup-18.1.1-1.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing deja-dup-18.1.1-1.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/deja-dup-18.1.1-1.fc15 then log in and leave karma (feedback).
Michael Terry, Christopher Smart and Rob Garth - Thanks for coordinating. Much appreciated.
deja-dup-18.1.1-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.