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

Error: Table 'bitnami_redmine.repofiles' doesn't exist #3

Closed
maiconzucco opened this issue Mar 4, 2014 · 7 comments
Closed

Error: Table 'bitnami_redmine.repofiles' doesn't exist #3

maiconzucco opened this issue Mar 4, 2014 · 7 comments
Assignees
Labels

Comments

@maiconzucco
Copy link

Hi,

When I tried to install the plugin posts are shown below:

bundle exec rake redmine_elasticsearch:reindex_all RAILS_ENV=production
Loading Rails environment for Resque
Recreate index for all available search types
rake aborted!
Mysql2::Error: Table 'bitnami_redmine.repofiles' doesn't exist: SELECT COUNT(*) FROM `repofiles` 
/opt/bitnami/apps/redmine/htdocs/plugins/redmine_elasticsearch/lib/redmine_elasticsearch/indexer_service.rb:30:in `block in count_estimated_records'
/opt/bitnami/apps/redmine/htdocs/plugins/redmine_elasticsearch/lib/redmine_elasticsearch/indexer_service.rb:30:in `each'
/opt/bitnami/apps/redmine/htdocs/plugins/redmine_elasticsearch/lib/redmine_elasticsearch/indexer_service.rb:30:in `inject'
/opt/bitnami/apps/redmine/htdocs/plugins/redmine_elasticsearch/lib/redmine_elasticsearch/indexer_service.rb:30:in `count_estimated_records'
/opt/bitnami/apps/redmine/htdocs/plugins/redmine_elasticsearch/lib/tasks/index.rake:8:in `block (2 levels) in '
Tasks: TOP => redmine_elasticsearch:reindex_all
(See full trace by running task with --trace)
bundle exec rake rescue:work RAILS_ENV=production
Loading Rails environment for Resque
rake aborted!
Error connecting to Redis on 127.0.0.1:6379 (ECONNREFUSED)

Tasks: TOP => resque:work
(See full trace by running task with --trace)

I use Redmine 2.3.2.
Thanks.

@nodecarter
Copy link
Contributor

Hi, @maiconzucco !

  1. Check that you have installed redis. (I will add this missing requirement to README).
  2. Do you use any other search plugins?

@nodecarter nodecarter self-assigned this Mar 4, 2014
@nodecarter nodecarter added the bug label Mar 4, 2014
@maiconzucco
Copy link
Author

Hi, thanks for your information.

  1. Check that you have installed redis. (I will add this missing requirement to README).
    Yes, I have.
    gem list | grep redis
    hiredis (0.4.5)
    redis (3.0.7)
    redis-namespace (1.4.1)
  2. Do you use any other search plugins?
    Yes, I have the "Xapian Search Plugin" (http://undefinederror.org/redmine-xapian-search-plugin).
    I can try to disable it.

@nodecarter
Copy link
Contributor

Hi, @maiconzucco! Did it work?

@maiconzucco
Copy link
Author

Hi, I will try next saturday morning, because it's a production environment.
Thanks.

Maicon

On 06/03/2014, at 11:41, Danil [email protected] wrote:

Hi, @maiconzucco! Did it work?


Reply to this email directly or view it on GitHub.

@maiconzucco
Copy link
Author

Hi, sorry for my delay.
I tried on another base and I had the same problem.
Can you send the script of your table repofiles creation?

Thanks.

@nodecarter
Copy link
Contributor

Hi, @maiconzucco !
This plugin can't work with other search plugins like redmine_xapian
(https://github.com/xelkano/redmine_xapian/blob/master/app/models/repofile.rb)

You should choose one of them.

@maiconzucco
Copy link
Author

Thanks @nodecarter !

Maicon

On 16/03/2014, at 5:44, Danil [email protected] wrote:

Hi, @maiconzucco !
This plugin can't work with other search plugins like redmine_xapian
(https://github.com/xelkano/redmine_xapian/blob/master/app/models/repofile.rb)

You should choose one of them.


Reply to this email directly or view it on GitHub.

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