Fresh install : data directory "/shared/postgres_data" has wrong ownership

So you ran discourse-setup and when it did the initial rebuild you got that error?

What if you rm -rf /var/discourse/shared (which will delete all data, so don’t do this if you have any data that you dont’ want to lose!) and then do a ./launcher rebuild app

1 Like