Skip to content

Latest commit

 

History

History
56 lines (33 loc) · 798 Bytes

Troubleshooting.md

File metadata and controls

56 lines (33 loc) · 798 Bytes

Troubleshooting

Recommended steps to take when your setup isn't working.


PostgreSQL Database

Ensure you can connect to it with  psql  and the table exist.

If this fails, you need to work on correctly installing PostgreSQL,
importing the initial schema, as well as running the migrations.



Rails Database


Check the connection with the following command:

bin/rails console

Also make surre that Rails can connect to the database:

Post.count

If this fails, you need to make sure your
Danbooru configuration files are correct.



Nginx

Ensure it is working correctly, for this you
may need to debug it's configuration files.



Logs

Look through all log files.