每次访问用户个人资料时出现 "We did not find this address :(" 错误

Getting "We did not find this address :(" error each time visit on user profile

每次用户配置文件部分时我都收到错误消息。

现在我收到这个错误。

我已按照所有安装说明进行操作,但仍然遇到此问题。 /pt/users/undefined/edit 也变得不确定。我认为这是错误的。请帮我解决这个问题。

Started GET "/pt/users/undefined/edit" for 163.53.151.26 at 2016-10-20 03:19:25 -0400 ActiveRecord::SchemaMigration Load (1.8ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by UsersController#edit as HTML Parameters: {"id"=>"undefined", "locale"=>"pt"} User Load (2.3ms) SELECT "users".* FROM "users" WHERE "users"."deactivated_at" IS NULL AND "users"."id" = 0 ORDER BY "users"."id" ASC LIMIT 1 Rendered catarse_bootstrap/devise/shared/_header.html.slim (7.9ms) Rendered catarse_bootstrap/errors/not_found.html.slim within layouts/catarse_bootstrap (600.2ms) Rendered catarse_bootstrap/layouts/_analytics.html.slim (9.8ms) User Load (1.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1

我通过 运行ning postgres api 客户端解决了这个问题。因为catarse现在是一个单体架构的应用。所以我们需要 运行 系统中的客户端,这样其他功能才能正常工作。

./postgrest postgres://rails:test12345@localhost/catarse_development -a anonymous --jwt-secret gZH75aKtMN3Yj0iPS4hcgUuTwjAzZr9C -s 1 -p 3004