Skip to content

Conversation

@KoenDR06
Copy link
Contributor

@KoenDR06 KoenDR06 commented Sep 13, 2025

This PR upgrades our servers to Ubuntu 24.04.03 LTS. Below is a list of the
changes made, since it affects quite a few files.

README

The README is out-of-date in several places. I updated it in the places that were
relevant to this PR, but we should update the entire thing. I created #521 to address this.

ansible/deploy.py

Made it so that when you do not pass --roles, --from or --until it sends
the string "All" to discord instead of the empty string.

Role vars/

Ubuntu 24 has some subtle changes to the way user home creations are handled.
No roles make a user home, they explicitly add it. If this is not done, nginx
does not have the correct permissions to access websites' files, making it so
that websites do not work entirely.

Put user homes in variables to avoid hardcoding.

The following roles are affected by this:

  • aas
  • chroma
  • cray88bot
  • digidecs
  • intro_website
  • mongoose
  • outline
  • radio
  • rooster
  • pretix

AWS Console

On Ubuntu 24.04, the apt package awscli does not exist anymore. It has been
moved to snap. There were also some roles that used awscli but depended on
other roles installing it. They now explicitly install it.

Pretix

Python versions have been updated to 3.12. Silas and I think we should look
into moving pretix to uv for consistency with other projects.

The role previously depended on the venv already existing, added a check to
see if it does.

Ubuntu 24 no longer has awscli in apt. It has been moved to snap. Some roles
depended on other roles installing it. They now explicitly install it.

@KoenDR06 KoenDR06 self-assigned this Sep 13, 2025
@KoenDR06 KoenDR06 marked this pull request as draft September 13, 2025 15:22
@KoenDR06 KoenDR06 changed the title Upgrade to Ubuntu 22.04.03 LTS Upgrade to Ubuntu 24.04.03 LTS Sep 13, 2025
@KoenDR06 KoenDR06 marked this pull request as ready for review October 1, 2025 08:50
Copy link
Member

@SilasPeters SilasPeters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see this review has never been submitted, whoops. DOn't know if it is outdated, but I need to do other thigns now.

@KoenDR06 KoenDR06 changed the title Upgrade to Ubuntu 24.04.03 LTS epic: Upgrade to Ubuntu 24.04.03 LTS Dec 31, 2025
@SilasPeters
Copy link
Member

Don't merge just yet

Copy link
Member

@SilasPeters SilasPeters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually we should first try to minimize the harbor removal, move it to a new branch or something, or try removing it simply from main.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants