我通过运行以下命令解决了这个问题:
./launcher enter db
然后运行:
su postgres -c 'psql discourse -c "create extension if not exists unaccent;"'
我无法运行“enter app”,因为应用程序已损坏。