#16231 closed task (fixed)
Upgrade server to Ubuntu 18.04.1 LTS
Reported by: | Don-vip | Owned by: | Don-vip |
---|---|---|---|
Priority: | normal | Milestone: | 18.11 |
Component: | Trac | Version: | |
Keywords: | ubuntu server migration | Cc: |
Description
New LTS has been released:
https://lists.ubuntu.com/archives/ubuntu-announce/2018-April/000231.html
As always it is better to wait for first update before upgrading the server, and there is no hurry (we have no immediate plans to switch to Java 11).
18.04.1 is scheduled for July 26th.
Attachments (1)
Change History (26)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
Because we're lazy, and one update every two years is better than one update every 6 months :)
Last time the update was critical for the Java 8 transition. With everything happening from Oracle side, I don't think we'll leave Java 8 as fast as the other migrations. However this OS update is also needed for that, there's now in Ubuntu a openjdk-lts package which will target every OpenJDK LTS version (next one is 11 in September). Ubuntu 18.04 ships with OpenJDK 10 but Debian maintainer confirmed the package will be upgraded to Java 11. It's a good approach.
comment:4 by , 7 years ago
I asked for a small VM to OSM France to validate the migration: https://github.com/osm-fr/infrastructure/issues/45
comment:5 by , 7 years ago
If a Hetzner CX10 (1 vCore, 1 GB RAM, 25 GB HDD) is enough you can get one for two weeks beginning with 1. July from me.
follow-up: 7 comment:6 by , 7 years ago
I'm afraid 1 GB ram won't be enough if I want to check Jenkins behaves nicely too. OSM-FR is ok for 8 GB for a month :)
comment:7 by , 7 years ago
Replying to Don-vip:
I'm afraid 1 GB ram won't be enough if I want to check Jenkins behaves nicely too.
Yes. It's the smallest one ... Fine for projects which aren't as complex as JOSM server. I have also a lot bigger ones, but they are all needed :-)
OSM-FR is ok for 8 GB for a month :)
Good.
comment:8 by , 7 years ago
P.S. We can also do a snapshot, so that we can go back in case there are troubles directly after the upgrade.
comment:9 by , 7 years ago
Milestone: | 18.08 → 18.09 |
---|
comment:10 by , 7 years ago
Didn't have time to look into this yet. It's likely we get errors with the openjdk update, see ticket:16688#comment:19
comment:11 by , 7 years ago
Milestone: | 18.09 → 18.10 |
---|
comment:12 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:14 by , 7 years ago
Before starting on real server we shut do a shutdown and make a snapshot in case something goes wrong :-)
follow-up: 16 comment:15 by , 7 years ago
Sure! I'll let you know once I manage to simulate the update on the OSM-FR server. Maybe tonight.
comment:16 by , 7 years ago
Replying to Don-vip:
Sure! I'll let you know once I manage to simulate the update on the OSM-FR server. Maybe tonight.
Depending on your time we should choose an "offical downtime" announced at least 2 days in advance. Then shutdown, go to Hetzner interface and create snapshot, start again and update. If all ok (or only minor issues) it's done. If not shutdown, reinstall snapshot :-) I can help from Friday till Sunday.
comment:17 by , 7 years ago
OK :) I have almost finished the setup. Only one last thing to see with OSM-FR sysadmin and I will be able to test the migration very soon.
by , 7 years ago
comment:19 by , 7 years ago
Upgrade successful, it was quite straightforward:
sudo do-release-upgrade sudo pg_dropcluster --stop 10 main sudo pg_upgradecluster 9.5 main sudo pg_dropcluster 9.5 main sudo apt remove postgresql-9.5 postgresql-client-9.5
Can you help next week? Like Tuesday or Wednesday evening.
comment:23 by , 7 years ago
Vincent, thank you so much for your continuous efforts in maintaining and keeping alive the JOSM infrastructure! Congrats also to the successful upgrade.
comment:24 by , 7 years ago
Thanks! Dirk helped me too :) I will install GitLab later this week. The good news with this update is we have a native java 11 package now.
comment:25 by , 7 years ago
Keywords: | server migration added |
---|
Why do we use LTS when we anyway upgrade each time? 😜