-
Notifications
You must be signed in to change notification settings - Fork 26
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
Manifest v2 #148
Manifest v2 #148
Conversation
!testme |
Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
!bookwormtestme |
!bookwormtestme |
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.
Sorry, misclicked on approval
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.
See above
Found the issue : Issue is coming from this line https://github.com/python/cpython/blob/76dc1bf5be3b360f7d8c476accb0d8d53c8dfb08/Lib/venv/__init__.py#L77 EDIT: fixed by 178a24b, i just call borg directly in the script instead of using activate. @Limezy thank you for having accepted to test this branch :) Could you please try to upgrade to the latest commit and check if it’s better ? |
…xecutable directly from the ven
I have upgraded and launched a backup, it takes crazy long, as usual ! |
(Smol poke in case you have feedback now) |
Still waiting for my server... as of now my /var/log/borg/xxx.log is empty and /var/log/borg/xxx.err says still waiting... |
I have restarted my server, which relaunched a backup. |
That's a known issue : #92 |
So, here is my situation, it looks like a part of my backups worked, a part failed. I must also mention that I get this weird warning when updating the config panel : |
@Salamandar thanks I confirm that the config panel changes are now made without any warnings. |
@alexAubin, looking at my logs, any clue about what's going wrong with the backup of MinIO and Outline (both apps for which I am / was the packager 😰 maybe I did something wrong ?) Moreover it says in the doc that "The future default backup method integrated in YunoHost will be based on this software.". Is this very far future ? Would be absolutely awesome to have a nice Yunohost UX layer on top of all these geeky private keys and complex setups... And certainly a real added value of the project. I decided to take seriously my backup pipeline after the OVH fire back in... March 21. Only tackling it now... Backup is probably a big area where self-hosting need to improve. |
I have discovered that when I launch |
@Limezy might be… at least yeah there's a bug in the install script for sure, but not in the upgrade script. |
Ok let me upgrade and try again even though it's probably another issue ! |
I have tried to reinstall from scratch, using this branch. EDIT: Sorry I found it here : |
Smol poke, is it working now ? 👀 |
I have excluded dex and outline and everything is working. But the problem still remains for these two apps. What I'm not clear is whether the problem is at borg_ynh level, these apps backup script level, or Yunohost core level ? The above shared logs remain relevant. |
@alexAubin by chance would you have any hint about what's blocking Dex and Outline from being automatically backed up ? |
It's not clear to me what's the corresponding log x_x |
OK, sorry ! Basically, the auto backup + sending to Borgwarehouse repo is working for most of the apps despite throwing a I'm thinking it's probably not a borgwarehouse problem since it's able to perfectly receive some other backups for other apps. Is it a borg_ynh app bug ? A dex_ynh / outline_ynh not well implemented backup script error ? A Yunohost core (moulinette) bug ? |
So dex seems to be failing because, i'm guessing, I'm confused about outline, there's definitely a bug in the core but at the same time i think you're hitting this bug maybe because of unusual mount configuration ? Do you have symlinks / bind mounds maybe in your outline data/install folders or something ? Anyway these two things are unrelated to borg itself |
Many thanks for your reply. Shall we continue this discussion on the forum ? In the app dev chat ? Meanwhile I'll investigate based on this first feedback. |
@alexAubin I guess the intended command was |
Then we need to look at the full log of |
Indeed you are right... I had a stupid source path unknown error. After an update of Dex the command is running. Now retrying a full server backup with Borg_ynh |
Soooo if there's no more issues, are we good to go ? |
The ljf god gave us his blessing ! |
Problem
Solution
PR Status
Automatic tests
Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)