Pups::ExecError: postgres ユーザーで 'psql discourse -c "alter schema public owner to discourse;"' を実行したところ、失敗しました

ata directory “/shared/postgres_data” has invalid permissions