-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
callback / mount not called when the profile changed #724
Comments
backintime v1.3.2
[...]
Then run => 7) ## Mount drives ## block is NOT triggered at each change of profile. Only at BiT GUI start. |
I have fixed the bug (or at least make this part of the GUI working again). The unit tests are OK ( To apply the fix use the attached patch file in the root folder of the git repo (which exactly comments out one line: Line 270 in e22c7f2
Note: This patch also works with version 1.2.1 which is the version packaged for Ubuntu 20.04 (the current Git version as of today is 1.3.2). You just have to manually modify the file of the installed version of BiT (for Ubuntu: in Tests & feed-back for my patch are welcome (esp. unwanted side-effects or other bugs that may be introduced unintentionally!) Edit: Note to self: Remount should keep the existing mount instead of umount+mount. Improve the fix... |
Very funny to see this was my own bug report 5 years ago. Awesome and thank you very much. We appreciate it. Please note that currently a new maintainer/developer team is forming around the current maintainer @Germar . It will take some time to establish new team structures and process and to make the project up and running again. But I will have a look into the problem and your fix. |
Oh, hi there, just found this while sorting Issues :) Would you open a Pull Request, @aryoda? That gives us a better place to test and discuss the solution. |
I will do so after I have tested it more deeply. Currently the patch does does umount+mount to "remount" (as hotfix), instead it should do nothing, if the mount is still valid. |
Note to self: The patch does not fix the related #977 I think (because the report says that the an unmount occurs after a manual backup in the GUI causing the snapshot list to be empty).
In other words: Only the last single backintime CLI or GUI instance shall unmount when quitting. This requires to understand the BiT lock and flock files better... |
Moin, |
While starting BIT and opening a the main profile the callback script is called as excpected (event-ID 5 & 7).
But when changing the profile something is wrong. Callback script is called with event-ID 8 for the main profile before switching to the new selected profile.
But then no event is called for the new profile. (e.g. mount).
The debug output (german)
The text was updated successfully, but these errors were encountered: