マストドン作ってるけどトップページのcssが崩れてる🥺
原因がわからん😭😭😭

@10nm
Mastodonのliveディレクトリでこれ実行してみて
NODE_OPTIONS=--openssl-legacy-provider RAILS_ENV=production bundle exec rails assets:precompile

@10nm ちゃんと動くまでお付き合いするので、よろしくお願いします

@atsuchan
lp.f5.si/
改善しませんでした🤔
nginxのステータスが怪しいので確認してます...

ProxmoxVE 7.2
ubuntu 22.04
nginx 1.18
openssl 3.0.2

参考元
docs.joinmastodon.org/admin/in

@10nm conflicting server nameってのがミソですね、おそらくそのホスト名の設定が複数あると思います、それでMastodonのconfが読まれていにゃい可能性が高いです
nginx.confかconf.dディレクトリかsites-enabledディレクトリか、どれかにあります、設定ファイルはランダムに読むので

@atsuchan
被りを解消して
warningは解決できたのですが
やっぱり治りませんね...

@10nm さきほどのコンパイルしたあとに成功はしてましたか…?

@10nm Nginxの実行ユーザーをMastodonになってますか…?
nginx.confにuser mastodon;を追加してみて、chown -R mastodon:mastodon /var/lib/nginx/
を実行してみる、そして設定ファイルテストして問題なければ再起動してみる

@atsuchan
来ました!!!!!!!!!
できました!!!!!
本当にありがとうございました!!!!!!!!!!!!!!!!!!!!!!!!

Follow

@10nm やば、あつ天才じゃん

· · Web · 0 · 0 · 1
Sign in to participate in the conversation
atsuchan.page (Mastodon v3)

Mastodon development environment for atsuchan