southbridgeio / redmine_intouch

Redmine Intouch plugin sends notifications to users via Telegram and E-mail
MIT License
65 stars 16 forks source link

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

Open lDerretl opened 6 years ago

lDerretl commented 6 years ago

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

vladislav-yashin commented 6 years ago

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

lDerretl commented 6 years ago

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

vladislav-yashin commented 6 years ago

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

lDerretl commented 6 years ago

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

vladislav-yashin commented 6 years ago

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

lDerretl commented 6 years ago

При установке 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:inblock in load' /opt/redmine/lib/redmine/plugin.rb:146:in each' /opt/redmine/lib/redmine/plugin.rb:146:inload' /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 commented 6 years ago

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

lDerretl commented 6 years ago

да, 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 commented 6 years ago

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

vladislav-yashin commented 6 years ago

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

lDerretl commented 6 years ago

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 commented 6 years ago

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

lDerretl commented 6 years ago

да, default

lDerretl commented 6 years ago

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

lDerretl commented 6 years ago

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

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