Comments (7)
Hello @umardraz, thank you for being interested in our project. Can you provide us more information from the output of docker info
?
Or a more simple solution would be a minor modification of Dockerfile
file. You can remove the rm -rf ...
part of the last line: RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
, it would become RUN apt-get clean
.
An alternative way is to use our Docker image from Docker hub, instead of docker-compose build
, you should run docker pull complat/chemotion_eln
to download the image instead of building it.
from chemotion_eln.
Hello Thanks for the reply, now after editing Dockerfile the rm -rf problem fixed but here is another one
[root@umardraz chemotion_ELN]# docker-compose run app bundle exec rake db:create db:migrate
Pulling postgres (postgres:9.5)...
9.5: Pulling from library/postgres
85b1f47fba49: Pull complete
2d4904bea61e: Pull complete
92fb981a71b7: Pull complete
4dda1edd3e9b: Pull complete
5ea002fc8280: Pull complete
feade6b1bbeb: Pull complete
366b92ecc1f4: Pull complete
1263264f8947: Pull complete
c66964934de2: Pull complete
7e76dbc89e04: Pull complete
c79c12eaae5a: Pull complete
f6c75a7f9542: Pull complete
Digest: sha256:f3c6236fdd8e5922848ce736e4e197eee575660f06b7f111484aab42297e6457
Status: Downloaded newer image for postgres:9.5
Pulling db_data (busybox:latest)...
latest: Pulling from library/busybox
0ffadd58f2a6: Pull complete
Digest: sha256:bbc3a03235220b170ba48a157dd097dd1379299370e1ed99ce976df0355d24f0
Status: Downloaded newer image for busybox:latest
Pulling sftp (atmoz/sftp:latest)...
latest: Pulling from atmoz/sftp
3e17c6eae66c: Pull complete
0da70db5b008: Pull complete
03aa715a984a: Pull complete
e529e5b15d65: Pull complete
Digest: sha256:101fa5ceb64de7b247dcebb26b57adec104cee9429765194940771a102cc1ae0
Status: Downloaded newer image for atmoz/sftp:latest
Creating chemotioneln_postgres_1 ...
Creating chemotioneln_db_data_1 ...
Creating chemotioneln_sftp_1 ...
Creating chemotioneln_postgres_1
Creating chemotioneln_db_data_1
Creating chemotioneln_sftp_1 ... done
rake aborted!
ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation "delayed_jobs" does not exist
LINE 5: WHERE a.attrelid = '"delayed_jobs"'::regclass
^
: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = '"delayed_jobs"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:592:in `async_exec'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:592:in `block in exec_no_cache'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:466:in `block in log'
/usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:460:in `log'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:592:in `exec_no_cache'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:584:in `execute_and_clear'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:733:in `column_definitions'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql/schema_statements.rb:186:in `columns'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/schema_cache.rb:43:in `columns'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/attributes.rb:91:in `columns'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/model_schema.rb:260:in `column_names'
/home/app/chemotion_ELN/config/initializers/delayed_job_config.rb:11:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in `load'
/usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in `block in load'
/usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:in `load_dependency'
/usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in `load'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/engine.rb:652:in `block in load_config_initializer'
/usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.0/lib/active_support/notifications.rb:166:in `instrument'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/engine.rb:651:in `load_config_initializer'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/engine.rb:615:in `each'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/engine.rb:615:in `block in <class:Engine>'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/initializable.rb:30:in `instance_exec'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/initializable.rb:30:in `run'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/initializable.rb:55:in `block in run_initializers'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/initializable.rb:44:in `each'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/initializable.rb:44:in `tsort_each_child'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/initializable.rb:54:in `run_initializers'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/application.rb:352:in `initialize!'
/home/app/chemotion_ELN/config/environment.rb:5:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `require'
/usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `block in require'
/usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:in `load_dependency'
/usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `require'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/application.rb:328:in `require_environment!'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/application.rb:443:in `block in run_tasks_blocks'
/usr/local/rvm/gems/ruby-2.3.3/gems/rake-12.1.0/exe/rake:27:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `<main>'
PG::UndefinedTable: ERROR: relation "delayed_jobs" does not exist
LINE 5: WHERE a.attrelid = '"delayed_jobs"'::regclass
^
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:592:in `async_exec'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:592:in `block in exec_no_cache'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:466:in `block in log'
/usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:460:in `log'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:592:in `exec_no_cache'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:584:in `execute_and_clear'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:733:in `column_definitions'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql/schema_statements.rb:186:in `columns'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/schema_cache.rb:43:in `columns'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/attributes.rb:91:in `columns'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/model_schema.rb:260:in `column_names'
/home/app/chemotion_ELN/config/initializers/delayed_job_config.rb:11:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in `load'
/usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in `block in load'
/usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:in `load_dependency'
/usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in `load'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/engine.rb:652:in `block in load_config_initializer'
/usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.0/lib/active_support/notifications.rb:166:in `instrument'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/engine.rb:651:in `load_config_initializer'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/engine.rb:615:in `each'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/engine.rb:615:in `block in <class:Engine>'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/initializable.rb:30:in `instance_exec'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/initializable.rb:30:in `run'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/initializable.rb:55:in `block in run_initializers'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/initializable.rb:44:in `each'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/initializable.rb:44:in `tsort_each_child'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/initializable.rb:54:in `run_initializers'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/application.rb:352:in `initialize!'
/home/app/chemotion_ELN/config/environment.rb:5:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `require'
/usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `block in require'
/usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:in `load_dependency'
/usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `require'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/application.rb:328:in `require_environment!'
/usr/local/rvm/gems/ruby-2.3.3/gems/railties-4.2.0/lib/rails/application.rb:443:in `block in run_tasks_blocks'
/usr/local/rvm/gems/ruby-2.3.3/gems/rake-12.1.0/exe/rake:27:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
from chemotion_eln.
Hi @umardraz,
the master branch has been updated.
The docker compose should now work.
from chemotion_eln.
Hi PiTrem now the next error
[root@umardraz chemotion_ELN]# docker-compose run app bundle exec rake assets:precompile
Starting chemotioneln_postgres_1 ... done
Starting chemotioneln_db_data_1 ...
Starting chemotioneln_sftp_1 ...
Starting chemotioneln_db_data_1 ... done
I, [2017-11-08T12:56:23.114927 #1] INFO -- : Writing /home/app/chemotion_ELN/public/assets/affiliations-2cf87b94f8424047e6e3f83a03a52a70ee88bbd1b79476a35221fdc22e08dead.js
I, [2017-11-08T12:56:23.115337 #1] INFO -- : Writing /home/app/chemotion_ELN/public/assets/affiliations-2cf87b94f8424047e6e3f83a03a52a70ee88bbd1b79476a35221fdc22e08dead.js.gz
I, [2017-11-08T12:56:23.119917 #1] INFO -- : Writing /home/app/chemotion_ELN/public/assets/affiliation-aed70bc90b51b0c00913d822546cf8ae9030c818ad08fdd0e995191f969ca51c.js
I, [2017-11-08T12:56:23.120044 #1] INFO -- : Writing /home/app/chemotion_ELN/public/assets/affiliation-aed70bc90b51b0c00913d822546cf8ae9030c818ad08fdd0e995191f969ca51c.js.gz
rake aborted!
ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation "ketcherails_template_categories" does not exist
LINE 5: WHERE a.attrelid = '"ketcherails_template_cat...
^
: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = '"ketcherails_template_categories"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:592:in `async_exec'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:592:in `block in exec_no_cache'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:466:in `block in log'
/usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:460:in `log'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:592:in `exec_no_cache'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:584:in `execute_and_clear'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:733:in `column_definitions'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql/schema_statements.rb:186:in `columns'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/schema_cache.rb:43:in `columns'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/attributes.rb:91:in `columns'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/attributes.rb:96:in `columns_hash'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/relation/delegation.rb:48:in `columns_hash'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/relation/calculations.rb:178:in `block in pluck'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/relation/calculations.rb:177:in `map'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/relation/calculations.rb:177:in `pluck'
/usr/local/rvm/gems/ruby-2.3.3/bundler/gems/ketcher-rails-aae1ba59e96a/app/assets/javascripts/ketcherails/ui/ui.js.erb:650:in `_evaluate_template'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/erb_processor.rb:26:in `call'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/erb_processor.rb:13:in `call'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:75:in `call_processor'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `reverse_each'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `call_processors'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/loader.rb:134:in `load_from_unloaded'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/loader.rb:60:in `block in load'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/loader.rb:44:in `load'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:20:in `block in initialize'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:47:in `load'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/bundle.rb:23:in `block in call'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/utils.rb:200:in `dfs'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/bundle.rb:24:in `call'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:75:in `call_processor'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `reverse_each'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `call_processors'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/loader.rb:134:in `load_from_unloaded'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/loader.rb:60:in `block in load'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/loader.rb:44:in `load'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:20:in `block in initialize'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:47:in `load'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/base.rb:66:in `find_asset'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/base.rb:73:in `find_all_linked_assets'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:134:in `block in find'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:133:in `each'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:133:in `find'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:185:in `compile'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:68:in `block (3 levels) in define'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/rake/sprocketstask.rb:147:in `with_logger'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:67:in `block (2 levels) in define'
/usr/local/rvm/gems/ruby-2.3.3/gems/rake-12.1.0/exe/rake:27:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `<main>'
PG::UndefinedTable: ERROR: relation "ketcherails_template_categories" does not exist
LINE 5: WHERE a.attrelid = '"ketcherails_template_cat...
^
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:592:in `async_exec'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:592:in `block in exec_no_cache'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:466:in `block in log'
/usr/local/rvm/gems/ruby-2.3.3/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:460:in `log'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:592:in `exec_no_cache'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:584:in `execute_and_clear'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:733:in `column_definitions'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql/schema_statements.rb:186:in `columns'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/connection_adapters/schema_cache.rb:43:in `columns'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/attributes.rb:91:in `columns'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/attributes.rb:96:in `columns_hash'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/relation/delegation.rb:48:in `columns_hash'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/relation/calculations.rb:178:in `block in pluck'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/relation/calculations.rb:177:in `map'
/usr/local/rvm/gems/ruby-2.3.3/gems/activerecord-4.2.0/lib/active_record/relation/calculations.rb:177:in `pluck'
/usr/local/rvm/gems/ruby-2.3.3/bundler/gems/ketcher-rails-aae1ba59e96a/app/assets/javascripts/ketcherails/ui/ui.js.erb:650:in `_evaluate_template'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/erb_processor.rb:26:in `call'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/erb_processor.rb:13:in `call'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:75:in `call_processor'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `reverse_each'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `call_processors'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/loader.rb:134:in `load_from_unloaded'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/loader.rb:60:in `block in load'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/loader.rb:44:in `load'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:20:in `block in initialize'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:47:in `load'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/bundle.rb:23:in `block in call'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/utils.rb:200:in `dfs'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/bundle.rb:24:in `call'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:75:in `call_processor'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `reverse_each'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `call_processors'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/loader.rb:134:in `load_from_unloaded'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/loader.rb:60:in `block in load'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/loader.rb:44:in `load'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:20:in `block in initialize'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:47:in `load'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/base.rb:66:in `find_asset'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/base.rb:73:in `find_all_linked_assets'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:134:in `block in find'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:133:in `each'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:133:in `find'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:185:in `compile'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:68:in `block (3 levels) in define'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-3.7.1/lib/rake/sprocketstask.rb:147:in `with_logger'
/usr/local/rvm/gems/ruby-2.3.3/gems/sprockets-rails-3.2.0/lib/sprockets/rails/task.rb:67:in `block (2 levels) in define'
/usr/local/rvm/gems/ruby-2.3.3/gems/rake-12.1.0/exe/rake:27:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
from chemotion_eln.
Hi @umardraz , could you run docker-compose run app bundle exec rake db:migrate
before running docker-compose run app bundle exec rake assets:precompile
again. Rails migrations happen to not always run completely.
from chemotion_eln.
Hi Thanks
Finally it is installed, now what is the username and password ?
from chemotion_eln.
You should go to the sign up page and create an account.
However, note that the 'devise' mail confirmation is on ( a confirmation link will be sent to the user's email).
If the mail server parameters are not configured (env variables) or you want to use invalid emails, you have two options:
- either disable the devise confirmable (eg in the initializer )
- or confirm the users from the rails console:
start the console:docker-compose run app bundle exec rails c
update users' confirmed_at attribute:Person.find_each{|u| u.update!(confirmed_at: Time.now)}
or for one specific user:Person.find_by(email: '[email protected]')&.update!(confirmed_at: Time.now)
After this, the users will be authorized to log in
from chemotion_eln.
Related Issues (20)
- Sample context buttons enabled for read-only samples
- fix bug of user label appear in inventory tab
- Machine learning module
- After Update to v1.5.3 research plan with .tif cannot be opened
- Wrong layout of wellplate excel file
- HTTP callback for OnlyOffice is wrong
- Enhance import sample feature for xlsx format HOT 1
- Wellplate attachment within research plan
- Cannot modify header of template excel file from wellplate HOT 2
- Import of example XLSX template fails HOT 2
- v1.5.4: DataCollectors are not editable in Web-UI HOT 1
- Deployment problems for the `docker-compose` file following the official guide HOT 5
- Add chemspectra with AIF layout
- Disabled Sign Up breaks Shibboleth Login HOT 1
- Register Device API for admins
- Cannot load the correct URL of NMRium wrapper
- Download of annotated image not working
- API for up- and download of experimental data/code evaluated results by means of code
- ResearchPlan 'Add Text Editor' is not getting removed
- It crashes when saving data from NMRium
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chemotion_eln.