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

I removed plugin and after that try to rebuild it, but after removing the plugin iam getting this error, before its working fine.