<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Mastodon on とんかつ大好き</title><link>https://scrawl.pulpunte-chinpun.xyz/categories/mastodon/</link><description>Recent content in Mastodon on とんかつ大好き</description><generator>Hugo</generator><language>ja</language><lastBuildDate>Fri, 11 Oct 2024 00:08:14 +0900</lastBuildDate><atom:link href="https://scrawl.pulpunte-chinpun.xyz/categories/mastodon/index.xml" rel="self" type="application/rss+xml"/><item><title>mastodon v4.3.0アップデート時に気を付けるべきこと</title><link>https://scrawl.pulpunte-chinpun.xyz/posts/627/</link><pubDate>Fri, 11 Oct 2024 00:08:14 +0900</pubDate><guid>https://scrawl.pulpunte-chinpun.xyz/posts/627/</guid><description>&lt;p&gt;2024/10/08にmastodon v4.3.0がリリースされました。&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://github.com/mastodon/mastodon/releases/tag/v4.3.0"&gt;https://github.com/mastodon/mastodon/releases/tag/v4.3.0&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;これを入れようとしたときに普段のアップデートとは違う手順があったので記しておきます。&lt;/p&gt;</description></item><item><title>IFTTTを用いてRSSフィードをmastodonに投稿しよう</title><link>https://scrawl.pulpunte-chinpun.xyz/posts/527/</link><pubDate>Sun, 14 Jan 2024 09:07:18 +0900</pubDate><guid>https://scrawl.pulpunte-chinpun.xyz/posts/527/</guid><description>&lt;p&gt;自鯖を立ち上げた直後から自分用に作った&lt;a href="https://pulpunte-chinpun.xyz/@netke1ba"&gt;netkeiba bot&lt;/a&gt;が今やフォロワー150人弱もいて驚いています。&lt;/p&gt;&#10;&lt;p&gt;mastodonにおけるbotというのは多数存在しますが、IFTTTを使ったやり方が一番簡単でしょう。&lt;/p&gt;</description></item><item><title>OCI(Oracle Cloud Infrastructure Always Free)でmastodonを構築した際に詰まったこと。</title><link>https://scrawl.pulpunte-chinpun.xyz/posts/246/</link><pubDate>Fri, 02 Dec 2022 13:48:15 +0900</pubDate><guid>https://scrawl.pulpunte-chinpun.xyz/posts/246/</guid><description>&lt;p&gt;&lt;img src="https://scrawl.pulpunte-chinpun.xyz/uploads/2022/11/preview-5df98290371ead9a70bc3cd4733bbfa7-1-2-1024x537.jpg" alt=""&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://docs.oracle.com/ja-jp/iaas/Content/FreeTier/freetier_topic-Always_Free_Resources.htm"&gt;OCI&lt;/a&gt;という無料で4vCPUメモリ24GBストレージ200GBのつよつよサーバーを借りれるサービスがある。&lt;/p&gt;&#10;&lt;p&gt;そんなうまい話、のらないわけないだろ！！！&lt;/p&gt;&#10;&lt;p&gt;ってことで、さっそく借りてmastodonを構築しようとトライしたものの、nginxの証明書で詰まった。&lt;/p&gt;</description></item><item><title>mastodonでトゥートできる文字数制限を500字以上にしたい</title><link>https://scrawl.pulpunte-chinpun.xyz/posts/217/</link><pubDate>Wed, 30 Nov 2022 11:46:42 +0900</pubDate><guid>https://scrawl.pulpunte-chinpun.xyz/posts/217/</guid><description>&lt;p&gt;&lt;img src="https://scrawl.pulpunte-chinpun.xyz/uploads/2022/11/preview-5df98290371ead9a70bc3cd4733bbfa7-1-1024x537.jpg" alt=""&gt;&lt;/p&gt;&#10;&lt;h2 id="前提"&gt;前提&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;mastodonはオープンソースですので、誰でも改造が可能&lt;/strong&gt;ですが、このシステム**は使い方によっては他のサーバーにいるユーザーに迷惑をかける可能性があります。トゥートの投稿は用法用量を守って行いましょう。**また、この記事を見たうえで文字数制限を緩和し、それにより何らかの迷惑行為が発生した場合、&lt;strong&gt;私は一切の責任を負いかねます。&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>mastodon構築時等でSMTPのメールをGmailでやりたい</title><link>https://scrawl.pulpunte-chinpun.xyz/posts/126/</link><pubDate>Tue, 29 Nov 2022 09:41:59 +0900</pubDate><guid>https://scrawl.pulpunte-chinpun.xyz/posts/126/</guid><description>&lt;p&gt;&lt;img src="https://scrawl.pulpunte-chinpun.xyz/uploads/2022/11/preview-5df98290371ead9a70bc3cd4733bbfa7-1-2-1024x537.jpg" alt=""&gt;&lt;/p&gt;&#10;&lt;p&gt;mastodonなどを構築する際にSMTPサーバーの設定をする項目があると思う。&lt;/p&gt;&#10;&lt;p&gt;おひとりさまの場合はtootctlを使えばアカウント自体は作れるので無理矢理できなくはないが、他のユーザーを入れる前提で行う場合はSMTPサーバーは必須である。&lt;/p&gt;</description></item><item><title>mastodonで独自にテーマを設定する。</title><link>https://scrawl.pulpunte-chinpun.xyz/posts/130/</link><pubDate>Mon, 28 Nov 2022 13:30:55 +0900</pubDate><guid>https://scrawl.pulpunte-chinpun.xyz/posts/130/</guid><description>&lt;p&gt;mastodonの鯖缶になると、独自性を持たせたくなり、その最初に思いつくのが自分自身の鯖のテーマだ。&lt;/p&gt;&#10;&lt;p&gt;デフォルトでmastodonは「ダーク」「コントラスト」「ライト」があるが、実はコマンドとCSSを駆使して自分自身のオリジナルテーマを作ることも可能である。今回は明るいオレンジ基調のテーマを作ることを主題としながら、テーマ追加、編集などの方法を書き殴っていく。&lt;/p&gt;</description></item><item><title>mastodon アップデート(ubuntu20.04) 殴り書き</title><link>https://scrawl.pulpunte-chinpun.xyz/posts/119/</link><pubDate>Tue, 15 Nov 2022 16:04:41 +0900</pubDate><guid>https://scrawl.pulpunte-chinpun.xyz/posts/119/</guid><description>&lt;p&gt;&lt;img src="https://scrawl.pulpunte-chinpun.xyz/uploads/2022/11/preview-5df98290371ead9a70bc3cd4733bbfa7-1-1024x537.jpg" alt=""&gt;&lt;/p&gt;&#10;&lt;pre&gt;&lt;code&gt;#サービス停止&#10;systemctl stop mastodon-*&#10;&#10;#ユーザー切り替え&#10;su - mastodon&#10;&#10;#フォルダ移動&#10;cd live&#10;&#10;#最新バージョンを取得&#10;git fetch --tags origin&#10;&#10;# 取得したら目的のタグに切り換える。&#10;git checkout v4.0.x&#10;&#10;#bundlerでgem等を更新&#10;bundle install&#10;&#10;#以下は必要なRubyのバージョンが入っていないというエラー&#10;ruby-build: definition not found: 3.3.x&#10;&#10;See all available versions with rbenv install --list-all'.&#10;&#10;If the version you need is missing, try upgrading ruby-build:&#10;&#10;git -C /home/mastodon/.rbenv/plugins/ruby-build pull&#10;&#10;#以下でインストールできるRubyバージョンを確認&#10;rbenv install --list-all&#10;&#10;#バージョンが見つからない場合、Rubyの最新バージョンを取得&#10;git -C /home/mastodon/.rbenv/plugins/ruby-build pull&#10;&#10;#必要なRubyバージョンをインストール&#10;RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install 3.3.x&#10;&#10;#インストールしたRubyバージョンを適用&#10;rbenv global 3.3.x&#10;&#10;#再度bundlerでgem等を更新&#10;bundle install&#10;&#10;#yarnでフロントエンド周辺を更新&#10;yarn install&#10;&#10;# DBの構成変更がある場合はdb:migrateを実行する（何も無い場合も実行しても何も起こらない）&#10;RAILS_ENV=production bundle exec rake db:migrate&#10;&#10;# フロントエンドのCSSやJSの更新とパッケージング（これがチョット長い）&#10;RAILS_ENV=production bundle exec rake assets:precompile&#10;&#10;#rootユーザーに戻る&#10;exit&#10;&#10;#各種サービスの開始&#10;systemctl start mastodon-web&#10;systemctl start mastodon-sidekiq&#10;systemctl start mastodon-streaming &#10;#mastodon-streamではエラーになるので注意&#10;&lt;/code&gt;&lt;/pre&gt;</description></item><item><title>mastodonを構築する(ubuntu20.04)</title><link>https://scrawl.pulpunte-chinpun.xyz/posts/101/</link><pubDate>Tue, 08 Nov 2022 14:54:25 +0900</pubDate><guid>https://scrawl.pulpunte-chinpun.xyz/posts/101/</guid><description>&lt;p&gt;&lt;img src="https://scrawl.pulpunte-chinpun.xyz/uploads/2022/11/preview-5df98290371ead9a70bc3cd4733bbfa7-1024x537.jpg" alt=""&gt;&lt;/p&gt;&#10;&lt;p&gt;「今更？」と思われる人も多いが、僕もよく破壊しては構築するし(ダメだろ)、構築マニュアル記事が乱立しているので、ここに備忘録、メモ程度に置いておく。ついでに他の人が構築する際に参考になれば良いと思ってる。&lt;/p&gt;</description></item><item><title>mastodonにwasabiのオブジェクトストレージを組み込み、設定する。</title><link>https://scrawl.pulpunte-chinpun.xyz/posts/33/</link><pubDate>Tue, 01 Nov 2022 22:56:16 +0900</pubDate><guid>https://scrawl.pulpunte-chinpun.xyz/posts/33/</guid><description>&lt;p&gt;以前自鯖を使用していた際にアップデートなど思い当たる節がないのにも関わらず、何故かあの見慣れた**「ゾウがPCバンバンする画面」**が現れた。&lt;/p&gt;</description></item></channel></rss>