Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ошибка 500 при обращении к странице ключей #80

Open
winvan opened this issue Jun 17, 2021 · 3 comments
Assignees
Labels

Comments

@winvan
Copy link

winvan commented Jun 17, 2021

Установил плагин, настроил, но при обращении к странице "ключи" получаю ошибку 500
В логах:

redmine_1           | F, [2021-06-17T00:39:43.823475 #1] FATAL -- :   
redmine_1           | F, [2021-06-17T00:39:43.823522 #1] FATAL -- : ActiveRecord::StatementInvalid (PG::UndefinedTable: ERROR:  relation "keys" does not exist
redmine_1           | LINE 8:                WHERE a.attrelid = '"keys"'::regclass
redmine_1           |                                           ^
redmine_1           | :               SELECT a.attname, format_type(a.atttypid, a.atttypmod),
redmine_1           |                      pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod,
redmine_1           |                      c.collname, col_description(a.attrelid, a.attnum) AS comment
redmine_1           |                 FROM pg_attribute a
redmine_1           |                 LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum
redmine_1           |                 LEFT JOIN pg_type t ON a.atttypid = t.oid
redmine_1           |                 LEFT JOIN pg_collation c ON a.attcollation = c.oid AND a.attcollation <> t.typcollation
redmine_1           |                WHERE a.attrelid = '"keys"'::regclass
redmine_1           |                  AND a.attnum > 0 AND NOT a.attisdropped
redmine_1           |                ORDER BY a.attnum
redmine_1           | ):

Redmine 4.1.0
Запущена в docker-compose из официального контейнера https://hub.docker.com/_/redmine
БД Postgres 9.5

@noshutdown-ru-user
Copy link
Member

PG::UndefinedTable: ERROR: relation "keys" does not exist
похоже что миграции для Postgres 9.5 либо не выполнены либо не сработали, мы проверим в чем может быть дело

@winvan
Copy link
Author

winvan commented Jun 17, 2021

Да, очень похоже, что миграция не прошла. Пробовал запускать миграцию вручную, провал версию плагина 0.4.1, 0.4.0 - результат одинаковый

@noshutdown-ru-user
Copy link
Member

Не успели проверить еще, в процессе

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants