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

установке Redmine intouch #110

Open
lDerretl opened this issue Oct 11, 2018 · 15 comments
Open

установке Redmine intouch #110

lDerretl opened this issue Oct 11, 2018 · 15 comments

Comments

@lDerretl
Copy link

Добрый день! Вопрос по установке Tdlib.
У меня CentOS 7. Подскажите, пожалуйста, какие пакеты нужно ставить в папку vendor с данного репозитория: http://rpms.southbridge.ru/rhel7/stable/x86_64/ ?

@vladislav-yashin
Copy link

Добрый день! tdlib-1.2.0-1.el7.centos.x86_64.rpm

@lDerretl
Copy link
Author

Можете, подсказать, какими командами можно выгрузить и распаковать rmp?

@vladislav-yashin
Copy link

Если нужно именно распаковать: https://www.cyberciti.biz/tips/how-to-extract-an-rpm-package-without-installing-it.html
Но для работы достаточно установить пакет стандартным способом - библиотека в этом случае тоже подхватится плагином.

@lDerretl
Copy link
Author

Как ставить redmine_bots? на странице https://github.com/centosadmin/redmine_bots ничего не сказано по установке данного плагина...
Или нужно ставить redmine_telegram_common ?

@vladislav-yashin
Copy link

Установка самого плагина стандартная - скопировать папку в директорию plugins. После нужно настроить бота: https://github.com/centosadmin/redmine_bots#bot-api

@lDerretl
Copy link
Author

При установке redmine_intouch ошибка:

[root@localhost redmine]# bundle exec rake redmine:plugins:migrate RAILS_ENV=production
rake aborted!
LoadError: cannot load such file -- telegram/bot
/opt/redmine/plugins/redmine_bots/init.rb:6:in <top (required)>' /opt/redmine/lib/redmine/plugin.rb:155:in block in load'
/opt/redmine/lib/redmine/plugin.rb:146:in each' /opt/redmine/lib/redmine/plugin.rb:146:in load'
/opt/redmine/config/initializers/30-redmine.rb:21:in <top (required)>' /opt/redmine/config/environment.rb:14:in <top (required)>'
/usr/bin/bundle:23:in load' /usr/bin/bundle:23:in

'
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)

С чем это может быть связано?

@vladislav-yashin
Copy link

bundle install запускали для установки гемов?

@lDerretl
Copy link
Author

да,
Bundle complete! 48 Gemfile dependencies, 70 gems now installed.
Gems in the groups development and test were not installed.
Use bundle info [gemname] to see where a bundled gem is installed.

@lDerretl
Copy link
Author

а далее при запуске: bundle exec rake redmine:plugins:migrate RAILS_ENV=production
ошибка

@vladislav-yashin
Copy link

bundle info telegram-bot-ruby что выдает?

@lDerretl
Copy link
Author

Your Gemfile lists the gem mocha (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of one of them later.
Your Gemfile lists the gem pidfile (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of one of them later.
Your Gemfile lists the gem sidekiq-failures (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of one of them later.
Your Gemfile lists the gem sidekiq-cron (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of one of them later.
Your Gemfile lists the gem sidekiq-rate-limiter (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of one of them later.
Your Gemfile lists the gem minitest-reporters (<= 1.3.0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of one of them later.
Your Gemfile lists the gem shoulda (<= 3.5.0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of one of them later.
Could not find gem 'telegram-bot-ruby'.

@vladislav-yashin
Copy link

А redmine_bots точно лежит в plugins? У него в зависимостях есть гем telegram-bot-ruby, и он должен установиться через bundle install

@lDerretl
Copy link
Author

да,
default

@lDerretl
Copy link
Author

Я понял свою ошибку, сейчас попробую исправить

@lDerretl
Copy link
Author

Еще один вопрос: sidekiq установлен, redis запущен, но при открытии вкладки sidekiq в редмайн открывается пустая страница с ошибкой.

Какие то дополнительные настройки должны быть прописаны в плагине sidekiq?

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

No branches or pull requests

2 participants