Skip to content

搞英语 → 看世界

翻译英文优质信息和名人推特

Menu
  • 首页
  • 作者列表
  • 独立博客
  • 专业媒体
  • 名人推特
  • 邮件列表
  • 关于本站
Menu

在 Coolify 上安装 GoToSocial

Posted on 2024-11-21

由于各种原因,今晚我有机会尝试一下GoToSocial ,因此我将其安装在运行Coolify的服务器上,但遇到了一些问题,我在Lewis和Brandon的帮助下解决了这些问题。

首先,因为它正在运行反向代理,所以我需要 Docker 撰写文件中的第三个选项。

 ports:
# - "443:8080"
## For letsencrypt:
#- "80:80"
## For reverse proxy setups:
- "127.0.0.1:8082:8080"

第二个问题是 GoToSocial 无法访问数据库,并在日志中给出以下错误:

 sqlite ping: sqlite3: unable to open database file

此 GitHub 问题表明这是一个权限问题,其中 docker compose 中指定的user没有gotosocial/data文件的权限。我本可以尝试找出用户和组是什么,或者我可以chmod来解决这个问题。猜猜我选了哪一个在 Coolify 中,转到侧边栏的Terminal ,选择安装 GoToSocial 的项目,然后连接并cd到该目录。然后设置数据目录的权限。

 $ cd /data/coolify/services/isjdbvfihsavfids/
$ chmod 777 gotosocial/data

通过检查 Coolify 中 GoToSocial 服务上的storage选项卡,我获得了它的安装目录 ( /isjdbvfihsavfids )。

其他注意事项:

  • /settings让您进入帐户的设置页面。
  • 帖子的默认可见性是“不公开”,这与默认情况下公开的 Mastodon 不同。您可以在设置中更改此设置。
  • 其他实例级设置(例如配置文件上的自定义 CSS)可以在config.yaml文件中更改,请参阅此处有关配置的文档。
  • 使用户成为管理员需要重新启动服务器。

我仍在使用 GoToSocial,但它看起来是一个很好的解决方案,可以满足我的需求 – 比 Mastodon 更容易维护并且资源占用更少。

原文: https://rknight.me/blog/installing-gotosocial-on-coolify/

本站文章系自动翻译,站长会周期检查,如果有不当内容,请点此留言,非常感谢。
  • Abhinav
  • Abigail Pain
  • Adam Fortuna
  • Alberto Gallego
  • Alex Wlchan
  • Answer.AI
  • Arne Bahlo
  • Ben Carlson
  • Ben Kuhn
  • Bert Hubert
  • Bits about Money
  • Brian Krebs
  • ByteByteGo
  • Chip Huyen
  • Chips and Cheese
  • Christopher Butler
  • Colin Percival
  • Cool Infographics
  • Dan Sinker
  • David Walsh
  • Dmitry Dolzhenko
  • Dustin Curtis
  • eighty twenty
  • Elad Gil
  • Ellie Huxtable
  • Ethan Dalool
  • Ethan Marcotte
  • Exponential View
  • FAIL Blog
  • Founder Weekly
  • Geoffrey Huntley
  • Geoffrey Litt
  • Greg Mankiw
  • Henrique Dias
  • Hypercritical
  • IEEE Spectrum
  • Investment Talk
  • Jaz
  • Jeff Geerling
  • Jonas Hietala
  • Josh Comeau
  • Lenny Rachitsky
  • Li Haoyi
  • Liz Danzico
  • Lou Plummer
  • Luke Wroblewski
  • Matt Baer
  • Matt Stoller
  • Matthias Endler
  • Mert Bulan
  • Mind Matters
  • Mostly metrics
  • Naval Ravikant
  • News Letter
  • NextDraft
  • Non_Interactive
  • Not Boring
  • One Useful Thing
  • Phil Eaton
  • Product Market Fit
  • Readwise
  • ReedyBear
  • Robert Heaton
  • Rohit Patel
  • Ruben Schade
  • Sage Economics
  • Sam Altman
  • Sam Rose
  • selfh.st
  • Shtetl-Optimized
  • Simon schreibt
  • Slashdot
  • Small Good Things
  • Steph Ango
  • Steve Blank
  • Taylor Troesh
  • Telegram Blog
  • The Macro Compass
  • The Pomp Letter
  • thesephist
  • Thinking Deep & Wide
  • Tim Kellogg
  • Understanding AI
  • Wes Kao
  • 英文媒体
  • 英文推特
  • 英文独立博客
©2025 搞英语 → 看世界 | Design: Newspaperly WordPress Theme