User:Woozle/Mastodon/TootCat
< User:Woozle | Mastodon
Jump to navigation
Jump to search
To check for new releases:
- https://github.com/tootsuite/mastodon/releases
- #glitchsoc-updates in the GlitchSoc server
GlitchSoc is continuously updated from Masto's changes, not waiting for "stable" releases. (Hence the name, I guess :D) The existence of a new release from masto is, in this context, a signal to us that there have been enough changes that it's probably worth catching up -- and also that the changes are now relatively stable.
The #glitchsoc-updates channel, meanwhile, lets us know of any crucial (usually security) updates that should be installed immediately.
2020-09-10
Shared session app is tmux - ^B ^D if need to escape to regular shell
Steps:
- check https://github.com/tootsuite/mastodon/releases for any special instructions
root@tootcat2:~# su - mastodon mastodon@tootcat2:~$ cd live mastodon@tootcat2:~/live$ git pull --rebase remote: Enumerating objects: 1807, done. remote: Counting objects: 100% (1807/1807), done. remote: Compressing objects: 100% (6/6), done. remote: Total 3054 (delta 1801), reused 1802 (delta 1801), pack-reused 1247 Receiving objects: 100% (3054/3054), 4.21 MiB | 21.12 MiB/s, done. Resolving deltas: 100% (2250/2250), completed with 556 local objects. From https://github.com/glitch-soc/mastodon c41da2e96..afa753a89 master -> origin/master First, rewinding head to replay your work on top of it... Applying: tootcat favicon Applying: poll fuckery Applying: number go up mastodon@tootcat2:~/live$
- Check to be sure Ruby version is correct -- this will prompt to install newer version if needed:
- rbenv install
- Check to be sure bundler version is correct (optional-ish) -- will prompt if update is needed:
gem install bundler
bundle install
- This takes awhile.
- now compile assets:
rails assets:precompile
- as root:
systemctl stop mastodon-*
rails db:migrate
- can do while masto is running, but safer to shut down firstapt update
apt upgrade
- reboot if necessary
- done, if all is well.
Notes
- https://classic.yarnpkg.com/en/docs/install/#debian-stable - yarn install instructions for Ubuntu
- It may be necessary to run apt-key to upgrade their public key, should be instructions there