Alexandre Aubin
|
1bb81e8f69
|
log: small hack when dumping log right after script failure, prevent a weird edge case where it'll dump the log of the resource provisioning instead of the script, guessing it's because it doesn't find 'ynh_exit_properly' near the end of the log ?
|
2024-07-07 16:38:46 +02:00 |
|
Alexandre Aubin
|
7f7bafb339
|
Merge branch 'migrate-to-bookworm' into bookworm
|
2024-07-06 16:58:42 +02:00 |
|
Alexandre Aubin
|
0f34d7e10f
|
bullseye->bookworm: more tweaks for the 'assume yes' in aptitude call, can't use raw bash redirects, gotta use stdin= from subprocess ... and we want only a limited number of 'yes' and not an infinite yes like the -y option does resuling in conflict resolution loops
|
2024-07-06 16:55:47 +02:00 |
|
Alexandre Aubin
|
2763e04012
|
bullseye->bookworm: dirty hack to explicitly remove rspamd because it's causing too many issues in dependency resolution idk
|
2024-07-06 00:32:20 +02:00 |
|
|
90d4cd99b9
|
Add missing from time import sleep ; also restart nginx at the end of the migration
|
2024-07-04 21:26:38 +02:00 |
|
|
f344cb037b
|
Fix missing import of moulinette.Moulinette
|
2024-07-04 21:02:32 +02:00 |
|
Alexandre Aubin
|
c694ea2cbc
|
bullseye->bookworm: force-regen the nsswitch configuration because for some reason it gets reset?
|
2024-07-04 19:27:51 +02:00 |
|
Alexandre Aubin
|
772e772b24
|
bullseye->bookorm: delay the yunohost-api restart such that the migration doesnt appear as failed from the webamin
|
2024-07-04 19:13:43 +02:00 |
|
Alexandre Aubin
|
c6aec680b9
|
Backport i18n string + code for bookworm migration
|
2024-07-04 00:17:32 +02:00 |
|
OniriCorpe
|
5fcb1c6188
|
fix a dumb typo; i'd like commit amend but it was already merged thanks to our serial merger
|
2024-07-04 00:11:55 +02:00 |
|
OniriCorpe
|
ab742e55bb
|
translate _diagnosis_ignore function
|
2024-07-04 00:04:17 +02:00 |
|
Alexandre Aubin
|
5429885e0a
|
Fix i18n strings?
|
2024-07-03 23:41:57 +02:00 |
|
Alexandre Aubin
|
edaffcf743
|
Adapt venv-rebuild migration for bookworm
|
2024-07-03 23:15:28 +02:00 |
|
Alexandre Aubin
|
3d05ff1d0e
|
Cleanup old migrations
|
2024-07-03 22:07:06 +02:00 |
|
Alexandre Aubin
|
4b8506f71f
|
Add migration for postgresql 13->15 after migrating to bookworm
|
2024-07-03 20:20:16 +02:00 |
|
Alexandre Aubin
|
1a85521f1f
|
Didnt realize this line could be removed during previous merge
|
2024-07-03 19:09:04 +02:00 |
|
Alexandre Aubin
|
8366e4b7c4
|
Merge branch 'migrate-to-bookworm' into bookworm
|
2024-07-03 17:27:09 +02:00 |
|
Alexandre Aubin
|
9a5aff9715
|
Merge remote-tracking branch 'origin/dev' into migrate-to-bookworm
|
2024-07-03 17:24:15 +02:00 |
|
OniriCorpe
|
41ca422210
|
use of the intermediate functions with a more eloquent name for clarity
|
2024-07-02 21:47:54 +02:00 |
|
OniriCorpe
|
e55c914974
|
real working fix
|
2024-07-02 21:44:24 +02:00 |
|
OniriCorpe
|
131760e30c
|
trying to fix #1886
|
2024-07-01 22:04:28 +02:00 |
|
alexAubin
|
7b0383f865
|
🎨 Format Python code with Black
|
2024-06-30 19:38:06 +00:00 |
|
Alexandre Aubin
|
0783af306d
|
Merge pull request #1886 from YunoHost/auto-disable
automatically ignore the service in diagnosis if it has been deactivated with the ynh cli
|
2024-06-30 21:37:49 +02:00 |
|
Alexandre Aubin
|
f2b5f0f22c
|
helpers2.1: when using ynh_die, also return the error via YNH_STDRETURN such that it can be obtained from the python and displayed in the main error message, to increase the chance that people may read it and have something more useful than "An error happened in the script"
|
2024-06-30 18:53:54 +02:00 |
|
Alexandre Aubin
|
4b43d8d99d
|
Update service.py: typo
|
2024-06-30 18:52:19 +02:00 |
|
Alexandre Aubin
|
636c9e563e
|
Update diagnosis.py: more messages improvement
|
2024-06-30 18:41:50 +02:00 |
|
Alexandre Aubin
|
c0bccc3ac9
|
Update diagnosis.py: gotta "return" now if the key doesn't exist, otherwise the next code fails
|
2024-06-30 18:40:23 +02:00 |
|
Alexandre Aubin
|
9727765ecf
|
Update diagnosis.py: improve warning to make it more explicit when called from another context
|
2024-06-30 18:39:11 +02:00 |
|
Alexandre Aubin
|
5ef0c84c0f
|
Update tools.py: use _run_service_command to enable+start yunohost-firewall during postinstall and prevent a warning about lack of diagnosis ignore rule
|
2024-06-30 18:34:38 +02:00 |
|
OniriCorpe
|
20741c63aa
|
change an irrelevant error to a warning
|
2024-06-30 18:28:18 +02:00 |
|
|
9cf8a7b6a7
|
Test resources with influxdb instead of yarn that is installed by default now
|
2024-06-30 17:38:25 +02:00 |
|
Alexandre Aubin
|
b661356783
|
Merge remote-tracking branch 'origin/dev' into bookworm
|
2024-06-30 00:23:58 +02:00 |
|
OniriCorpe
|
6ed167bfaf
|
automatically ignore the service in diagnosis if it has been deactivated with the ynh cli
|
2024-06-29 21:01:38 +02:00 |
|
OniriCorpe
|
eaf00103dd
|
Revert "automatically ignore the service in diagnosis if it has been deactivated with the ynh cli"
This reverts commit ff78f3ada7 .
|
2024-06-29 20:57:59 +02:00 |
|
OniriCorpe
|
ff78f3ada7
|
automatically ignore the service in diagnosis if it has been deactivated with the ynh cli
|
2024-06-29 20:57:21 +02:00 |
|
alexAubin
|
dbf579b7b4
|
🎨 Format Python code with Black
|
2024-06-29 18:31:51 +00:00 |
|
Alexandre Aubin
|
e5b575901a
|
apps: be more robust when an app upgrade succeeds but for some reason is marked with 'broke the system' ... ending up in inconsistent state between the app settings vs the app scritpts (for example in v1->v2 transitions but not only)
|
2024-06-29 20:31:28 +02:00 |
|
alexAubin
|
c2d69f7f84
|
🎨 Format Python code with Black
|
2024-06-29 18:05:02 +00:00 |
|
Alexandre Aubin
|
a349fc0334
|
apps: tweaks to be more robust and prevent the stupid flood of 'sh: 0: getcwd() failed: No such file or directory' when running an app upgrade/remove from /var/www/$app, sometimes making it look like the upgrade failed when it didnt
|
2024-06-29 20:04:27 +02:00 |
|
alexAubin
|
c9b76fde35
|
🎨 Format Python code with Black
|
2024-06-24 20:13:47 +00:00 |
|
Alexandre Aubin
|
ed426f05ba
|
apps/helpers2.1: fix app env in resource upgrade context ending up in incorrect helper version being used
|
2024-06-24 22:13:01 +02:00 |
|
alexAubin
|
18092db1c8
|
🎨 Format Python code with Black
|
2024-06-22 23:15:07 +00:00 |
|
Alexandre Aubin
|
ecb82ec693
|
Oopsies
|
2024-06-23 01:14:41 +02:00 |
|
Alexandre Aubin
|
31ae5d1eaa
|
Misc fixes for flake8/mypy
|
2024-06-23 01:05:39 +02:00 |
|
alexAubin
|
0bd69e5622
|
🎨 Format Python code with Black
|
2024-06-21 22:47:02 +02:00 |
|
Alexandre Aubin
|
06c8fbc881
|
logs: misc ad-hoc tweaks to limit the noise in log sharing
|
2024-06-21 16:26:07 +02:00 |
|
Alexandre Aubin
|
a25033bba5
|
apps/logs: fix some information not being redacted because of the packaging v2 flows
|
2024-06-21 14:20:56 +02:00 |
|
alexAubin
|
b1b3c6eff8
|
🎨 Format Python code with Black
|
2024-06-20 17:07:42 +00:00 |
|
Alexandre Aubin
|
2ee8d93f67
|
Merge pull request #1855 from YunoHost/helpers-2.1
Helpers 2.1
|
2024-06-20 19:07:21 +02:00 |
|
Alexandre Aubin
|
6605df6eb2
|
helpers2.1: use the appropriate helper for apt provisioning/deprovisioning depending on the helpers_version in the manifest
|
2024-06-20 19:06:54 +02:00 |
|