ManifoldScholar / manifold

Transforming scholarly publications into living digital works.
http://manifoldapp.org
GNU General Public License v3.0
234 stars 30 forks source link

Installation / Can't reconfigure after install > Freeze #3753

Open allinappliadmin opened 2 months ago

allinappliadmin commented 2 months ago

Discussed in https://github.com/ManifoldScholar/manifold/discussions/3748

Originally posted by **allinappliadmin** April 24, 2024 Hi! I'm now here in the community. I'm testing Manifold for a client and I started installing on our CentOS 7 server. Manifold and Redis are installed and when I launch `/usr/bin/manifold-ctl reconfigure` the operation freezes at `ruby_block[supervise_redis_sleep] action run` I need to abort with `Ctrl C` and get this output ``` Traceback (most recent call last): [2024-04-24T12:37:35+02:00] FATAL: SIGINT received, stopping 7: from /opt/manifold/embedded/bin/omnibus-ctl:23:in `
' 6: from /opt/manifold/embedded/bin/omnibus-ctl:23:in `load' 5: from /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/omnibus-ctl-0.6.0/bin/omnibus-ctl:31:in `' 4: from /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/omnibus-ctl-0.6.0/lib/omnibus-ctl.rb:747:in `run' 3: from /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/omnibus-ctl-0.6.0/lib/omnibus-ctl.rb:517:in `reconfigure' 2: from /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/omnibus-ctl-0.6.0/lib/omnibus-ctl.rb:503:in `run_chef' 1: from /opt/manifold/embedded/service/omnibus-ctl/uninstall.rb:2:in `run_command' /opt/manifold/embedded/service/omnibus-ctl/uninstall.rb:2:in `system': Interrupt [2024-04-24T12:37:35+02:00] INFO: Running queued delayed notifications before re-raising exception Running handlers: [2024-04-24T12:37:35+02:00] ERROR: Running exception handlers Running handlers complete [2024-04-24T12:37:35+02:00] ERROR: Exception handlers complete Chef Infra Client failed. 6 resources updated in 02 minutes 24 seconds [root@IONOS_AIA redis]# [2024-04-24T12:37:35+02:00] FATAL: Stacktrace dumped to /opt/manifold/embedded/cookbooks/cache/chef-stacktrace.out [2024-04-24T12:37:35+02:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report ``` This is the Chef Stacktrace ``` Generated at 2024-04-24 12:37:35 +0200 SystemExit: exit /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/application.rb:399:in `exit' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/application.rb:399:in `fatal!' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/application.rb:72:in `block in setup_signal_handlers' /opt/manifold/embedded/cookbooks/cache/cookbooks/runit/definitions/runit_service.rb:171:in `sleep' /opt/manifold/embedded/cookbooks/cache/cookbooks/runit/definitions/runit_service.rb:171:in `block (3 levels) in from_file' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/provider/ruby_block.rb:31:in `block (2 levels) in ' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/mixin/why_run.rb:51:in `add_action' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/provider.rb:265:in `converge_by' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/provider/ruby_block.rb:30:in `block in ' (eval):2:in `block in action_run' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/provider.rb:276:in `instance_eval' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/provider.rb:276:in `compile_and_converge_action' (eval):2:in `action_run' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/provider.rb:217:in `run_action' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/resource.rb:599:in `block in run_action' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/resource.rb:626:in `with_umask' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/resource.rb:598:in `run_action' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/runner.rb:74:in `run_action' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/runner.rb:108:in `block in run_all_actions' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/runner.rb:108:in `each' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/runner.rb:108:in `run_all_actions' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/runner.rb:132:in `block in converge' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/resource_collection/resource_list.rb:96:in `block in execute_each_resource' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/resource_collection/stepable_iterator.rb:85:in `step' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/resource_collection/stepable_iterator.rb:54:in `each_with_index' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/resource_collection/resource_list.rb:94:in `execute_each_resource' /opt/manifold/embedded/lib/ruby/2.7.0/forwardable.rb:235:in `execute_each_resource' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/runner.rb:130:in `converge' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/client.rb:687:in `block in converge' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/client.rb:682:in `catch' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/client.rb:682:in `converge' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/client.rb:706:in `converge_and_save' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/client.rb:286:in `run' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/application.rb:305:in `run_with_graceful_exit_option' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/application.rb:281:in `block in run_chef_client' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/local_mode.rb:42:in `with_server_connectivity' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/application.rb:264:in `run_chef_client' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/application/base.rb:337:in `run_application' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-16.13.23/lib/chef/application.rb:67:in `run' /opt/manifold/embedded/lib/ruby/gems/2.7.0/gems/chef-bin-16.13.23/bin/chef-client:25:in `' /opt/manifold/embedded/bin/chef-client:23:in `load' /opt/manifold/embedded/bin/chef-client:23:in `
' ``` it doesn't look like the server config is involved, like missing libraries ou execs but I can't be sure as I have few experience with Chef and Ruby. I know that Redis runs ![image](https://github.com/ManifoldScholar/manifold/assets/62597730/d0ff8f37-055e-4346-9650-c005de656695) I couldn't find clear help over Internet and may be someone has already experienced this situation.
zdavis commented 2 months ago

I'll try to take a look in the near future and see if I can reproduce.

allinappliadmin commented 2 months ago

Thanks! I can provide any details if that helps.