Commit graph

29 commits

Author SHA1 Message Date
ljf
ed3e014fee [enh] Remove revert mechanism 2019-08-14 16:46:14 +02:00
ljf
fc426cff69 [fix] Avoid to revert migrations without backward routine 2019-08-14 12:07:39 +02:00
Alexandre Aubin
add3bd29b0 Add dependencies between migrations 2019-08-05 21:10:03 +02:00
Alexandre Aubin
d7d2242862 Fix imports in some migrations 2019-02-18 19:27:40 +01:00
opi
f0ef491949
[fix] Do not log migration to stretch in /tmp/. Issue #1280 2019-01-28 10:29:28 +01:00
Alexandre Aubin
115b557b67 autopep8 + a few manual tweaks 2018-12-13 18:52:26 +00:00
Irina LAMBLA
4ba309a221 modif MoulinetteError to YunohostError 2018-12-12 19:01:28 +00:00
Irina LAMBLA
f2e184d8b2 moulinette MoulinetteError oneline 2018-12-12 18:56:26 +00:00
Alexandre Aubin
9e87da8d26 [yolo] Add head -n1, because on some setups like stupid OVH, 'VERSION_ID' is duplicated :| 2018-09-14 15:03:36 +02:00
Alexandre Aubin
203e05b96d Merge branch 'unstable' into stretch-unstable
Conflicts:
	debian/changelog
2018-06-17 01:23:15 +00:00
Alexandre Aubin
0c248bcb7e Last minute fix : install php7.0-acpu to hopefully make stretch still work after the upgrade 2018-06-16 20:59:18 +02:00
Alexandre Aubin
fe3435736b Merge branch 'unstable' into stretch-unstable 2018-06-16 16:15:11 +02:00
Bram
07b4ec49aa
Merge pull request #487 from YunoHost/info-by-default
[enh] Verbose by default
2018-06-13 20:07:28 +02:00
Alexandre Aubin
aefd37e5bf Merge branch 'unstable' of https://github.com/yunohost/yunohost into unstable 2018-06-13 20:03:28 +02:00
Alexandre Aubin
2aeed38ea5 Disable predictable network interface names to avoid cases where devices
don't reboot properly because interface name changed...
2018-06-13 20:01:49 +02:00
Alexandre Aubin
1b55eacf9c Rely on /etc/os-release to get the release number.. 2018-06-12 00:29:52 +02:00
Alexandre Aubin
201edd8c38 Revert "Rely on the codename instead of release number because lsb_release is fokin stupid"
This reverts commit f96aa44505.
2018-06-12 00:29:30 +02:00
Alexandre Aubin
f96aa44505 Rely on the codename instead of release number because lsb_release is fokin stupid 2018-06-12 00:06:21 +02:00
Alexandre Aubin
0ebfa145b8 Close port 465, open 587 during migration according to SMTP port change 2018-06-11 23:40:23 +02:00
Alexandre Aubin
3681e6adfc Attempt to make postgresql not send an email about the 9.4->9.6 migration 2018-06-11 17:45:17 +02:00
Alexandre Aubin
91483f3896 Reflag some messages as info or debug 2018-06-01 21:52:19 +00:00
Alexandre Aubin
8186f044dc Replace the nginx.conf thing with a function called at the beginning of the migration that restore the original file if it was modified 2018-05-11 03:32:54 +02:00
Alexandre Aubin
d769f539ab apt and hold packages are fucking stupid, so we need to handle this the dirty way 2018-05-10 23:46:08 +02:00
Alexandre Aubin
e848524912 Unused imports, PEP8 2018-05-10 22:58:28 +02:00
Alexandre Aubin
2843ce923d Have a specific upgrade for nginx-common because some people edit /etc/nginx/nginx.conf 2018-05-10 22:37:27 +02:00
Alexandre Aubin
a00e8a02a5 Bit cooler message at the end of the migration 2018-05-09 02:41:56 +02:00
Alexandre Aubin
4f9901c861 Use lsb_release instead of platform to check debian version during migration 2018-05-09 01:32:26 +02:00
Alexandre Aubin
e8f97e7b3e Also patch jessie-updates in sources.list 2018-05-09 00:25:11 +02:00
Alexandre Aubin
5013965c0e
[enh] [wip] Stretch migration (#433)
* Add migration skeleton
* Clumsy attempt to adapt the upgrade script to python
* At the end of the migration, force the regen conf of specific services
* Implement the apt clean/autoremove at the end of migration
* Attempt to fix the upgrade of yunohost packages
* Dumb mistake :|
* Adding strings
* Add test of free space for /var/
* Fix sources.list patching
* Stupid mistake :|
* Check system is up to date
* Working on disclaimer draft
* Add a function to list installed 'unstable' apps
* Get actual list of problemtic apps + improve disclaimer message building
* Use helper to run the apt update
* More simplifications of disclaimer building
* Add helper function to get manually modified files
* Fetch actuall list of manually modified files to build disclaimer
* Internationalize disclaimer
* Don't skip stretch migration when running postinstall on jessie
* Add a done message at the very end of the migration
* Also patch jessie/updates and backports in sources.list
* Backup and restore conf files modified during the upgrade to not mess regen-conf
* Also check for yunohost being in 2.x at the beginning of upgrade
* Fix the check for upgradable packages..
* Try to be more robust if folder already exists (when running multiple times)
* I probably meant fail2ban here o.O
* Try to improve robustness when running multiple time
* Add a check after the main upgrade that we're effectively on stretch
* Hold apps equivs packages during the upgrade
* Show dist-upgrade logs in the yunohost admin, using call_async_output
* Misc fixes because I broke things /o\
* Touch /etc/yunohost/installed at the end, because for some weird reason it get deleted sometimes :|
* Removing this unecessary message, especially because it 'hide' the previous one when running from the webadmin
* Install php-zip for nextcloud and kanboard
* Don't crash if there's no [app]-ynh-deps
* Revert previous commit that added this, should be fixed in the stretch branch now
* [fix] Unhold metronome for migration (#452)
* Let's use forge.yunohost.org as repo now
2018-05-02 02:10:46 +02:00