Skip to content
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

Update installation instructions for 4.3 on Ubuntu 24.04 and Debian 12 #1537

Merged
merged 3 commits into from
Oct 8, 2024

Conversation

oneiros
Copy link
Contributor

@oneiros oneiros commented Sep 25, 2024

This brings the installation instructions up-to-date with the upcoming 4.3 release and the current stable releases of the two operating systems.

I changed some punctuation, version numbers, removed commands that are no longer necessary and simplified a couple of others.

The biggest changes are due to changes in the two operating systems:

  • adduser --disabled-login no longer sets a shell for the user it creates. I changed it to --disabled-password which should have roughly the same effect (preventing remote logins) as the old --disabled-login.
  • We have a couple of open issues and PRs because nginx needs to access assets and was no longer able to in newer OS versions because default permissions on home directories changed. I added a step to add the www-data user to the mastodon group, which solves the problem on Ubuntu, and added a hint with the extra chmod needed on Debian.

I tested this successfully on a fresh install of both Ubuntu 24.04 and Debian 12.

Resolves #1003, #1055, #1128, #1132, #1198, #1471, #1473 and mastodon/mastodon#27223

...for Mastodon 4.3 on Ubuntu 24.04 and Debian 12.
@oneiros oneiros requested a review from a team September 25, 2024 13:44
To get rid of specifying a ruby version. Also simplifies the
steps even further.
instead of using group permissions. We heard a lot of
different opinions on this and it is clearly not a
solution for everyone, but in contrast to the group
permissions:

* `www-data` will not get write access to mastodon files
* this works identical on Debian and Ubuntu
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