hummingbird-me / kitsu-tools

:hammer: The tools we use to build Kitsu, the coolest platform for anime and manga
https://kitsu.io
Apache License 2.0
2.09k stars 265 forks source link

Client doesn't access to the database with clean install #797

Closed ghost closed 6 years ago

ghost commented 7 years ago

Description: With a clean installation, with or without manual installation of database data, kitsu client does not access to the database. I see some pending migration errors in logs.

Steps to reproduce: Clean install from hummingbird-me repository

Screenshots (if applicable): With my repo capture d ecran de 2017-07-09 17-25-07

With official repo capture d ecran de 2017-07-09 17-36-51

OS and Browser: Server: Ubuntu 16.04.2 LTS Client: Fedora 25 with Chromium 59

server_logs.txt seed_reset_logs.txt postgres_database_lists.txt

toyhammered commented 6 years ago

ok just fixed it! (or actually found a way to make it work)

bin/stop; bin/rake db:drop db:create; bin/seed; bin/rake db:migrate; bin/rake db:migrate:up VERSION=20170607055017; bin/rake db:migrate; bin/restart

(assuming you have already run bin/rebuild with the latest stuff) The issue was the notification_settings table was not being created (not entirely sure why) but anyways if you run that code above it should fix it (worked for me)

ghost commented 6 years ago

thanks work for me too