Futurist Jim Carroll on Nostr: THEN bundle install yarn install --frozen-lockfile RAILS_ENV=production bundle exec ...
THEN
bundle install
yarn install --frozen-lockfile
RAILS_ENV=production bundle exec rails assets:precompile
SKIP_POST_DEPLOYMENT_MIGRATIONS=true RAILS_ENV=production bundle exec rails db:migrate
then exit
Start processes
systemctl restart mastodon-sidekiq
systemctl reload mastodon-web
systemctl restart mastodon-streaming
Test that you can still get back in
Published at
2023-09-24 13:44:54Event JSON
{
"id": "dac6999c758a87e5ca718a57a41d1ce6fddde33f23053705f6cb27831c2593e3",
"pubkey": "0e4808c272702e7abff70bc62b92f2856cc77ca00d21ea0271ba7cf244ec2f61",
"created_at": 1695563094,
"kind": 1,
"tags": [
[
"e",
"d2200f9139aef513c4d9ea41949c64e705b0c1238aeeae814d291320ef3327e0",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://futurist.info/users/jimcarroll/statuses/111120422937831929",
"activitypub"
]
],
"content": "THEN\n\nbundle install\nyarn install --frozen-lockfile\n\nRAILS_ENV=production bundle exec rails assets:precompile\n\nSKIP_POST_DEPLOYMENT_MIGRATIONS=true RAILS_ENV=production bundle exec rails db:migrate\n\nthen exit\n\nStart processes \nsystemctl restart mastodon-sidekiq\nsystemctl reload mastodon-web\nsystemctl restart mastodon-streaming\n\nTest that you can still get back in",
"sig": "c50abd10d224ddfb49bd6ddfa19915c7e829585c8310f2bc61649fe6e7bc8717a3953e64239f2fa177f91410b3940724e0dc524431177c5339df77cdc1ec628b"
}