-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Upgraded Borgmatic to version 1.9.0 #6306
Conversation
I am ready to create documentation should this get merged. Just need to know where is the best place to do so. |
@tony1661 I there a reason not to update borgbackup (to v1.4.0)? it is defined in src/requirements-crossenv.txt an I guess other python wheels need updates too |
@hgy59 no reason. I have not tested Borg 1.4 personally since Debian ships with 1.2.4. |
package documentation are located in the wiki and linked to https://github.com/SynoCommunity/spksrc/wiki/Package-Documentation-Index (and the side panel). |
- update borgbackup from v1.2.6 to v1.4.0 - update emborg from v1.37 to v1.40 - add cross/xxhash - update python modules
updates done. |
Thanks guys. So is all that's left documentation to get this merged? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM and timely considering other upcoming changes to the python wheel build process.
I noticed that qoriq-6.2.4 is failing. Is that something to be concerned about? |
Can you review the change log? With the two commits for this PR, the change log may not be accurate. |
@mreid-tt do you mean the commit comments with change log? |
I'm not familiar with Borgmatic, so I can't comment on this directly. However, I came across this issue in the Discord channel and asked the user to submit a bug report. If anyone has insights or a way to reproduce the problem, it might be worth investigating further.
|
@mreid-tt I'd ask the user to verify their config is correct since sometimes borgmatic has changes to syntax that breaks old configs |
I am facing the same problem on my DS214play since the last update. Based on the suggested solution from @tony1661 I tried to create a sample configuration and diff with my existing one. While generating via
There seems to be a similar bug report from a reddit-user here. Thanks for any help in advance! :) |
@jfangmann can you provide your borgmatic config? |
Hey @tony1661, thanks for the quick reply! Of course, here it is. I deleted all the comment-lines for better readability. The
|
@jfangmann hmm, this looks fine. Are you able to test this config on a Linux device to confirm that the issue persists? The upgrade was from 1.2.0 to 1.9.0 and I'm not sure if that config is just not compatible with 1.9.0 I have this working on DS218 and DS220 so it's possible it's an issue with the chip the DS215play uses. Let me know 🙂👍🏻 |
I wasn't able to test the config on another system, yet. But I will do so and let you know. But because the config generation fails, I tested this on my DS as well as a RPi running borgmatic via docker: RPi output
DS output
So, the same error (or at least a similar one) seems to occur, even if my config isn't involved. Hope this helps and I will try to test the config soon. |
After reviewing the conversation in reddit, I referred to, I noticed the following regarding the python-version on the DS:
Since I'm not familiar with python or what version is required, I have no idea if this is how it meant to be. @tony1661 Might this be a problem, or is it identical on your systems? |
I have executed the command
Unfortunately I have no access to a Diskstation with evansport arch (like DS214play), but I tested DS115j with (probably) the same DSM version as the DS214play. |
@jfangmann the installed package does not use python or python3.11 in the path.
|
To validate the ruamel.yaml package, I run (successfully) the very basic ruamel example (found at https://yaml.readthedocs.io/en/latest/example/) $ cat ruyaml_test.py
import sys
from ruamel.yaml import YAML
inp = """\
# example
name:
# details
family: Smith # very common
given: Alice # one of the siblings
"""
yaml = YAML()
code = yaml.load(inp)
code['name']['given'] = 'Bob'
yaml.dump(code, sys.stdout) running this example should provide the expected output:
If this doesn't work on DS412play either, the ruamel.yaml wheel in the package is corrupted. |
* Upgraded Borgmatic to version 1.9.0 * borgbackup: update borgbackup and emborg - update borgbackup from v1.2.6 to v1.4.0 - update emborg from v1.37 to v1.40 - add cross/xxhash - update python modules * update changelog --------- Co-authored-by: hgy59 <[email protected]>
Description
Full list of changes can be found here.
New documentation can be found here.
Fixes #6195
Checklist
all-supported
completed successfullyType of change