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
    Shorty🐢デジタルかめランド (shorty@mastodon.dkl.jp)'s status on Saturday, 12-Oct-2024 18:42:37 JST Shorty🐢デジタルかめランド Shorty🐢デジタルかめランド

    どういう意味?これ

    $ RAILS_ENV=production bundle exec rails assets:precompile
    /snap/ruby/369/lib/ruby/3.3.0/bundled_gems.rb:75:in `require': /snap/core20/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/mastodon/live/vendor/bundle/ruby/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/bootsnap.so) - /home/mastodon/live/vendor/bundle/ruby/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/bootsnap.so (LoadError) (1/4)

    In conversation about 8 months ago from mastodon.dkl.jp permalink
    • Embed this notice
      のえる (noellabo@fedibird.com)'s status on Saturday, 12-Oct-2024 18:42:31 JST のえる のえる
      in reply to
      • かき@GNUsocialJP

      @shorty Ubuntuのアップグレードしたのね?

      その場合、vendorディレクトリを全部消してbundle installして入れ直さないと、共有ライブラリが以前のUbuntuの古いバージョンを参照したままになってしまうのです。

      Unubtu 24.04を入れたなら、おそらくlibcのバージョンは2.39。このログをみると2.33にリンクしてる。

      libcは、基本的な機能を提供する共有ライブラリです。

      対処法: mastodonユーザの /home/mastodon/live ディレクトリで、vendorを削除して、gemを全部入れ直す。

      sudo -iu mastodon
      cd ~/live

      rm -fr vendor

      RAILS_ENV=production bundle install

      In conversation about 8 months ago permalink
    • Embed this notice
      Shorty🐢デジタルかめランド (shorty@mastodon.dkl.jp)'s status on Saturday, 12-Oct-2024 18:42:36 JST Shorty🐢デジタルかめランド Shorty🐢デジタルかめランド
      in reply to

      from /snap/ruby/369/lib/ruby/3.3.0/bundled_gems.rb:75:in `block (2 levels) in replace_require'
      from /home/mastodon/live/vendor/bundle/ruby/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
      from /home/mastodon/live/vendor/bundle/ruby/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/compile_cache/iseq.rb:3:in `<top (required)>' (2/4)

      In conversation about 8 months ago permalink
    • Embed this notice
      Shorty🐢デジタルかめランド (shorty@mastodon.dkl.jp)'s status on Saturday, 12-Oct-2024 18:42:36 JST Shorty🐢デジタルかめランド Shorty🐢デジタルかめランド
      in reply to

      from /home/mastodon/live/vendor/bundle/ruby/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/compile_cache.rb:15:in `require_relative'
      from /home/mastodon/live/vendor/bundle/ruby/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/compile_cache.rb:15:in `setup'
      from /home/mastodon/live/vendor/bundle/ruby/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap.rb:68:in `setup'
      from /home/mastodon/live/vendor/bundle/ruby/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap.rb:112:in `default_setup' (3/4)

      In conversation about 8 months ago permalink
    • Embed this notice
      Shorty🐢デジタルかめランド (shorty@mastodon.dkl.jp)'s status on Saturday, 12-Oct-2024 18:42:36 JST Shorty🐢デジタルかめランド Shorty🐢デジタルかめランド
      in reply to

      from /home/mastodon/live/vendor/bundle/ruby/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/setup.rb:5:in `<top (required)>'
      from /snap/ruby/369/lib/ruby/3.3.0/bundled_gems.rb:75:in `require'
      from /snap/ruby/369/lib/ruby/3.3.0/bundled_gems.rb:75:in `block (2 levels) in replace_require'
      from /home/mastodon/live/config/boot.rb:18:in `<top (required)>'
      from bin/rails:3:in `require_relative'
      from bin/rails:3:in `<main>' (4/4)

      In conversation about 8 months ago permalink
    • Embed this notice
      Shorty🐢デジタルかめランド (shorty@mastodon.dkl.jp)'s status on Saturday, 12-Oct-2024 18:56:15 JST Shorty🐢デジタルかめランド Shorty🐢デジタルかめランド
      in reply to
      • のえる

      @noellabo 実行しましたが、yarn installで「/live$ yarn install
      00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'install’」と出ますね・・・

      In conversation about 8 months ago permalink
    • Embed this notice
      のえる (noellabo@fedibird.com)'s status on Saturday, 12-Oct-2024 18:56:15 JST のえる のえる
      in reply to
      • かき@GNUsocialJP

      @shorty この際、nodeも綺麗にして入れ直した方がいいかも。

      通常の作業ユーザーで……

      消す。

      sudo apt purge nodejs
      sudo apt purge yarn

      Ubuntu標準提供以外のaptリポジトリを追加しているファイルを確認

      sudo ls /etc/apt/sources.list.d/

      nodesource.listとかyarn.listなどのファイルがあったら削除。

      sudo rm /etc/apt/sources.list.d/nodesource.list
      sudo rm /etc/apt/sources.list.d/yarn.list

      で、改めて追加。

      curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg

      echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list

      In conversation about 8 months ago permalink

      Attachments



    • Embed this notice
      のえる (noellabo@fedibird.com)'s status on Saturday, 12-Oct-2024 18:58:13 JST のえる のえる
      in reply to
      • かき@GNUsocialJP

      @shorty nodejsをインストールしなおし。

      sudo apt update
      sudo apt install nodejs

      node -v

      認識できたらひとまずOK

      mastodonユーザーで、node -v でみえるか確認。

      corepack enable
      corepack prepare

      yarn -v

      って感じかな?

      In conversation about 8 months ago permalink
    • Embed this notice
      のえる (noellabo@fedibird.com)'s status on Saturday, 12-Oct-2024 19:25:56 JST のえる のえる
      in reply to
      • かき@GNUsocialJP

      @shorty この nodesource.list が何かおかしいようなので、中身を確認しましょう。

      sudo -e /etc/apt/sources.list.d/nodesource.list

      本来はこういう内容です。

      deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main

      (この内容で上書きしちゃってもいいです)

      In conversation about 8 months ago permalink

      Attachments


    • Embed this notice
      Shorty🐢デジタルかめランド (shorty@mastodon.dkl.jp)'s status on Saturday, 12-Oct-2024 19:25:57 JST Shorty🐢デジタルかめランド Shorty🐢デジタルかめランド
      in reply to
      • のえる

      @noellabo $ sudo apt update
      E: Malformed entry 1 in list file /etc/apt/sources.list.d/nodesource.list (URI parse)
      E: The list of sources could not be read.
      何が間違っているのでしょう・・・

      In conversation about 8 months ago 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.