Error after cleaning tmp folder


#1

Hi,

I installed Discourse development environment with official guide on my MacOS. I changed plugin file and it warned me for “remove the TMP folder”. I cleaned tmp folder in Discourse and after that when i use that command Discourse doesn’t work: bundle exec rails server

Any idea?


(Régis Hanol) #2

This error means rails can’t talk to your postgresql server. Is your postgresql server running?


#3

How i can check it? It worked before removing the tmp folder.


(Régis Hanol) #4

Depends on how you installed it.

I’m guessing you removed /tmp/ instead of tmp/? That’s kinda baaad…


#5

I installed with that guide:

I cleaned up files and folders in TMP folder. So i cleanedtmp/? :slight_smile: But my operating system shows hidden files and folders. I must have deleted the hidden files and folders. Is it problem?


(Régis Hanol) #6

Here’s how to stop/start services with Homebrew


#7

Do i start postgresql?


#8

I restarted postgresql, but it still did not work.


#9

This works for me.

rm /usr/local/var/postgres/postmaster.pid

(system) #10

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.