GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Futurist Jim Carroll (jimcarroll@futurist.info)'s status on Sunday, 24-Sep-2023 22:44:03 JST Futurist Jim Carroll Futurist Jim Carroll

    Success in upgrading to 4.2.0 from 4.1.6

    What I learned:

    - go sequential. 4.1.6 to 7 to 8 to 9 and then .20

    - do server level backups along the way

    - be precise in the steps for 4.2.0. The Mastodon docs aren't very good at outlining the EXACT steps to follow.... you've got to examine several upgrade docs to figure out the process. Personally, I find the docs kind of dumb; why they can't outline all the steps in one doc I don't know

    In conversation Sunday, 24-Sep-2023 22:44:03 JST from futurist.info permalink

    Attachments


    1. https://media.futurist.info/media_attachments/files/111/120/352/573/736/973/original/2da723652a4f5ed3.png
    • Embed this notice
      Futurist Jim Carroll (jimcarroll@futurist.info)'s status on Sunday, 24-Sep-2023 22:45:00 JST Futurist Jim Carroll Futurist Jim Carroll
      in reply to

      Here's what I did 4.2.0

      su - mastodon

      cd .home/mastodon/live

      git fetch --tags
      git checkout v4.2.0

      THEN

      update Ruby as documented here

      "If you are using `rbenv`, update the list of available versions and install Ruby 3.2.2 by doing `RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install` in the Mastodon install directory (e.g. `/home/mastodon/live`)"

      (You won't find these details on the upgrade page that shows up first at https://github.com/mastodon/mastodon/releases. You will find it at
      https://github.com/mastodon/mastodon/releases/tag/v4.2.0)

      In conversation Sunday, 24-Sep-2023 22:45:00 JST permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: opengraph.githubassets.com
        Releases · mastodon/mastodon
        Your self-hosted, globally interconnected microblogging community - mastodon/mastodon
      2. Domain not in remote thumbnail source whitelist: opengraph.githubassets.com
        Release v4.2.0 · mastodon/mastodon
        We are excited to release Mastodon 4.2.0, our next major upgrade 🎉 In this version, we've added (opt-in) search for posts, along with a refined set of privacy options where users can decide whether...
    • Embed this notice
      Futurist Jim Carroll (jimcarroll@futurist.info)'s status on Sunday, 24-Sep-2023 22:47:29 JST Futurist Jim Carroll Futurist Jim Carroll
      in reply to

      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

      In conversation Sunday, 24-Sep-2023 22:47:29 JST permalink
    • Embed this notice
      Futurist Jim Carroll (jimcarroll@futurist.info)'s status on Sunday, 24-Sep-2023 22:48:06 JST Futurist Jim Carroll Futurist Jim Carroll
      in reply to

      And then:

      Go back into the Mastodon user

      su - mastodon
      cd /home/mastodon/live

      NOW do post deployment

      RAILS_ENV=production bundle exec rails db:migrate

      Should now be 4.2.0

      Pretty dumb since you need to figure this set of steps on your own.

      In conversation Sunday, 24-Sep-2023 22:48:06 JST permalink
    • Embed this notice
      Stephen Foskett (sfoskett@techfieldday.net)'s status on Monday, 25-Sep-2023 03:44:20 JST Stephen Foskett Stephen Foskett
      in reply to
      • Bill Plein🌶

      @bplein @jimcarroll Are there instructions on how to move from a native (naked) to a dockerized version of Mastodon? I would so prefer to be running in containers but it was iffy when I started this instance last year.

      In conversation Monday, 25-Sep-2023 03:44:20 JST permalink
    • Embed this notice
      Futurist Jim Carroll (jimcarroll@futurist.info)'s status on Monday, 25-Sep-2023 03:44:20 JST Futurist Jim Carroll Futurist Jim Carroll
      in reply to
      • Bill Plein🌶
      • Stephen Foskett

      @sfoskett @bplein i've avoided docker....

      In conversation Monday, 25-Sep-2023 03:44:20 JST permalink
    • Embed this notice
      Bill Plein🌶 (bplein@bvp.me)'s status on Monday, 25-Sep-2023 03:44:21 JST Bill Plein🌶 Bill Plein🌶
      in reply to

      @jimcarroll All of what you describe makes me so happy that I can satisfy my mastodon needs (single user instance) with a dockerized deployment. Usually no more than 3 or 4 commands to run, all outlined in the release notes.

      In conversation Monday, 25-Sep-2023 03:44:21 JST permalink
    • Embed this notice
      Futurist Jim Carroll (jimcarroll@futurist.info)'s status on Monday, 25-Sep-2023 07:28:39 JST Futurist Jim Carroll Futurist Jim Carroll
      in reply to
      • Bill Plein🌶
      • Stephen Foskett

      @bplein @sfoskett No worries. I gave it a go and it wasn't my thing. Having said that, I'm running a Home Assistant container inside a Virtual Machine on an old 2009 iMac running Ventura. We all have our unique paths to go down!

      In conversation Monday, 25-Sep-2023 07:28:39 JST permalink
    • Embed this notice
      Bill Plein🌶 (bplein@bvp.me)'s status on Monday, 25-Sep-2023 07:28:40 JST Bill Plein🌶 Bill Plein🌶
      in reply to
      • Stephen Foskett

      @jimcarroll @sfoskett I’m not trying to evangelize it. I crossed the knowledge chasm of containers back in 2017, so it’s a natural thing for me to utilize. I have a friend who I convinced to use Docker for Mastodon and the learning curve for the ins and outs was steep.

      In conversation Monday, 25-Sep-2023 07:28:40 JST permalink
    • Embed this notice
      Futurist Jim Carroll (jimcarroll@futurist.info)'s status on Monday, 25-Sep-2023 23:54:41 JST Futurist Jim Carroll Futurist Jim Carroll
      in reply to
      • Bill Plein🌶
      • Stephen Foskett

      @bplein @sfoskett My home server rack. All of the Mac's but one are running Linux. Gives old machines a new life! But there's also a 2009 iMac running the Home Assistant setup under Virtual Box within Ventura.

      I think stuff like this keeps the minds of oldsters like us busy and engaged LOL.

      In conversation Monday, 25-Sep-2023 23:54:41 JST permalink

      Attachments


      1. https://media.futurist.info/media_attachments/files/111/126/355/179/736/623/original/d33b79ea8f21ffd9.jpeg

      2. https://media.futurist.info/media_attachments/files/111/126/357/842/747/086/original/3e565e27ce4ab1f1.jpeg
    • Embed this notice
      Bill Plein🌶 (bplein@bvp.me)'s status on Monday, 25-Sep-2023 23:54:42 JST Bill Plein🌶 Bill Plein🌶
      in reply to
      • Stephen Foskett

      @jimcarroll @sfoskett Haha! And I, a container-first practitioner, installed a VM on an old iMac in order to run the complete HomeAssistant OS … because the container is missing some things.

      As you said, we all have our own paths. Thank goodness we have choices and some freedom!

      In conversation Monday, 25-Sep-2023 23:54:42 JST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.