Pups::ExecError: su postgres -c 'psql discourse -c "alter schema public owner to discourse;"' failed with return

Originally sent in general
Ratnam_Raju_Varsala

Hi @Canapin, how can i integrate plugins into docker app ?

Heliosurge
Ratnam_Raju_Varsala

FAILED

--------------------

Pups::ExecError: su postgres -c 'psql discourse -c "alter schema public owner to discourse;"' failed with return #<Process::Status: pid 54 exit 2>

Location of failure: /usr/local/lib/ruby/gems/3.1.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'

exec failed with the params "su postgres -c 'psql $db_name -c \"alter schema public owner to $db_user;\"'"

bootstrap failed with exit code 2

** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.

./discourse-doctor may help diagnose the problem.

4079c40b96373f2f33049a30414bc383acf909fc3863bdb52a1a678a9f0cc9f7

root@community-online:/var/discourse# /discourse-doctor

-bash: /discourse-doctor: No such file or directory

iam getting this error after adding plugin in app.yml file

Heliosurge

can you post that section of your app.yml where you added plugin under docker?

You have to ensure the formatting is pretty precise.

it is a bit of a pain but usually only install snd rebuild 2 plugin at a time

What plugin are you trying to install?

Ratnam_Raju_Varsala

The site was working fine until the plugin was added, after adding this error, the site is down

Heliosurge

Delete part of your chat post. You have sensitive info. only need the section whhere it ssys $home type stuff abd plugin info.

You have your trade buttons plugins added twice. Remove noth instances and try a rebuild abd see if site is restored

Only need from here down if chat allows wrap it with something like ´´ .... ´´

Ratnam_Raju_Varsala

no not added twise

just i paste here after completion app.yml content

JammyDodger

I think this would probably be better discussed in the topic. I'll move these messages over. :+1:

Ratnam_Raju_Varsala

deleted

Heliosurge

cool jam. can you remove his sensitive info so just plugin info?

1 Like