senooken JP Social
  • FAQ
  • Login
senooken JP Socialはsenookenの専用分散SNSです。
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. 残トイレットペーパー:17本 (unipst@si.pmpm.pw@si.pmpm.pw)'s status on Wednesday, 09-Jan-2019 21:10:08 JST 残トイレットペーパー:17本 残トイレットペーパー:17本

    リリース情報確認
    https://github.com/tootsuite/mastodon/releases

    停止
    sudo systemctl stop mastodon-*

    バックアップする

    今回はrubyの2.6.0へのアップデート含む
    cd .rbenv
    mastodon@si:~/.rbenv$ git pull
    Already up to date.
    mastodon@si:~/.rbenv$ cd plugins/ruby-build/
    mastodon@si:~/.rbenv/plugins/ruby-build$ git pull

    もどる
    mastodon@si:~/.rbenv/plugins/ruby-build$ cd ../../

    rbenv install -l
    すると、2.6.0が増えている

    rbenv install 2.6.0

    結構長いけど我慢

    #updateメモ

    In conversation Wednesday, 09-Jan-2019 21:10:08 JST from si.pmpm.pw permalink

    Attachments


    • 残トイレットペーパー:17本 (unipst@si.pmpm.pw@si.pmpm.pw)'s status on Wednesday, 09-Jan-2019 21:11:07 JST 残トイレットペーパー:17本 残トイレットペーパー:17本
      in reply to

      mastodon@si:~/.rbenv$ rbenv install 2.6.0
      Downloading ruby-2.6.0.tar.bz2...
      -> https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0.tar.bz2
      Installing ruby-2.6.0...
      Installed ruby-2.6.0 to /home/mastodon/.rbenv/versions/2.6.0

      rbenv global 2.6.0
      rbenv rehash
      ----------
      下記をやってしまったけど、git でもってくるとこの部分をやっているので必要がなかった。
      mastodon@si:~/.rbenv$ cd ../live/
      mastodon@si:~/live$ rbenv local 2.6.0
      (less .ruby-version で 2.6.0 になっていることを確認)
      ----------

      #updateメモ

      In conversation Wednesday, 09-Jan-2019 21:11:07 JST permalink

      Attachments


    • 残トイレットペーパー:17本 (unipst@si.pmpm.pw@si.pmpm.pw)'s status on Wednesday, 09-Jan-2019 21:12:28 JST 残トイレットペーパー:17本 残トイレットペーパー:17本
      in reply to

      gem update --system
      gem update

      Overwrite the executable? [yN]
      y

      gem install bundler

      mastodon@si:~/live$ ruby -v
      ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-linux]
      mastodon@si:~/live$ gem -v
      3.0.2
      mastodon@si:~/live$ bundle -v
      Bundler version 1.17.3

      rubyはこれでヨシ

      #updateメモ

      In conversation Wednesday, 09-Jan-2019 21:12:28 JST permalink
    • 残トイレットペーパー:17本 (unipst@si.pmpm.pw@si.pmpm.pw)'s status on Wednesday, 09-Jan-2019 21:12:56 JST 残トイレットペーパー:17本 残トイレットペーパー:17本
      in reply to

      Mastodon アップデート
      git fetch

      バージョン決める
      git checkout v2.7.0rc1

      --------------------
      ここでエラー
      mastodon@si:~/live$ git checkout v2.7.0rc1
      error: Your local changes to the following files would be overwritten by checkout:
      .ruby-version
      Please commit your changes or stash them before you switch branches.
      Aborting

      .ruby-versionを書き換えたのが良くなかったので、
      mastodon@si:~/live$ git checkout v2.7.0rc1
      してキャンセル。
      再度、git checkout v2.7.0rc1 して良い
      --------------------

      #updateメモ

      In conversation Wednesday, 09-Jan-2019 21:12:56 JST permalink
    • 残トイレットペーパー:17本 (unipst@si.pmpm.pw@si.pmpm.pw)'s status on Wednesday, 09-Jan-2019 21:18:21 JST 残トイレットペーパー:17本 残トイレットペーパー:17本
      in reply to

      bundle install
      ※大体の物が入れ替わっている。長い。

      yarn install
      ※警告が出たので次にメモ

      #updateメモ

      In conversation Wednesday, 09-Jan-2019 21:18:21 JST permalink
    • 残トイレットペーパー:17本 (unipst@si.pmpm.pw@si.pmpm.pw)'s status on Wednesday, 09-Jan-2019 21:20:29 JST 残トイレットペーパー:17本 残トイレットペーパー:17本
      in reply to

      [4/6] Linking dependencies...
      warning " > react-redux-loading-bar@4.1.0" has incorrect peer dependency "react-redux@^3.0.0 || ^4.0.0 || ^5.0.0".
      --------------------
      >react-redux-loading-bar@4.1.0
      react-reduxのバージョンあわさないといけないのかな。まあ動いてるからいいや。

      #updateメモ

      In conversation Wednesday, 09-Jan-2019 21:20:29 JST permalink
    • 残トイレットペーパー:17本 (unipst@si.pmpm.pw@si.pmpm.pw)'s status on Wednesday, 09-Jan-2019 21:21:38 JST 残トイレットペーパー:17本 残トイレットペーパー:17本
      in reply to

      [6/6] Cleaning modules...
      warning Your current version of Yarn is out of date. The latest version is "1.13.0", while you're on "1.12.3".
      info To upgrade, run the following command:
      $ sudo apt-get update && sudo apt-get install yarn
      -----------------------
      このあと apt upgrade したから許して

      #updateメモ

      In conversation Wednesday, 09-Jan-2019 21:21:38 JST permalink
    • 残トイレットペーパー:17本 (unipst@si.pmpm.pw@si.pmpm.pw)'s status on Wednesday, 09-Jan-2019 21:23:01 JST 残トイレットペーパー:17本 残トイレットペーパー:17本
      in reply to

      RAILS_ENV=production bundle exec rails db:migrate
      ※なんかめっちゃ動いた

      RAILS_ENV=production bundle exec rails assets:precompile
      --------------------
      Rendered errors/500.html.haml within layouts/error (3909.7ms)
      mastodon@si:~/live$
      --------------------

      sudo systemctl start mastodon-sidekiq
      sudo systemctl start mastodon-streaming
      sudo systemctl start mastodon-web

      Mastodon自体は終了。
      apt upgradeなどしました。

      自分用メモなのでみなさんそれぞれやってください。

      #updateメモ

      In conversation Wednesday, 09-Jan-2019 21:23:01 JST permalink

Feeds

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

senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.