Pups::ExecError: su postgres -c 'psql discourse -c "alter schema public owner to discourse;"' schlug mit Rückgabewert fehl

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