installing plugins breaks the container
-
and i did git clone the repository and then rebake usually i just restart it and it work but with this plugin it wont restart here is the log error
==> Migrating database Sep 24 19:02:06fatal: not a git repository (or any of the parent directories): .git Sep 24 19:02:07=> Healtheck error: Error: Timeout of 7000ms exceeded Sep 24 19:02:07== 20230820010101 EnableEmbeddingExtension: migrating ========================= Sep 24 19:02:07-- enable_extension(:embedding) Sep 24 19:02:07----------------------------DISCOURSE CHATBOT ERROR---------------------------------- Sep 24 19:02:07Discourse Chatbot now requires the embedding extension on the PostgreSQL database. Sep 24 19:02:07See required changes to `app.yml` described at: Sep 24 19:02:07https://github.com/merefield/discourse-chatbot/pull/33 Sep 24 19:02:07Alternatively, you can remove Discourse Chatbot to rebuild. Sep 24 19:02:07----------------------------DISCOURSE CHATBOT ERROR---------------------------------- Sep 24 19:02:07rake aborted! Sep 24 19:02:07StandardError: An error has occurred, this and all later migrations canceled: Sep 24 19:02:07 Sep 24 19:02:07PG::UndefinedFile: ERROR: could not open extension control file "/usr/share/postgresql/14/extension/embedding.control": No such file or directory Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.1.0/lib/patches/db/pg.rb:69:in `exec_params' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.1.0/lib/patches/db/pg.rb:69:in `exec_params' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/abstract_adapter.rb:769:in `block in log' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/abstract_adapter.rb:760:in `log' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:54:in `exec_query' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/postgresql_adapter.rb:434:in `enable_extension' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:932:in `block in method_missing' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:900:in `block in say_with_time' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:900:in `say_with_time' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:921:in `method_missing' Sep 24 19:02:07/app/code/plugins/discourse-chatbot/db/migrate/20230820010101_enable_embedding_extension.rb:6:in `change' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:870:in `exec_migration' Sep 24 19:02:07/app/code/lib/freedom_patches/schema_migration_details.rb:8:in `block in exec_migration' Sep 24 19:02:07/app/code/lib/freedom_patches/schema_migration_details.rb:8:in `exec_migration' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:854:in `block (2 levels) in migrate' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:853:in `block in migrate' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:215:in `with_connection' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:852:in `migrate' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1046:in `migrate' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1360:in `block in execute_migration_in_transaction' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/abstract/database_statements.rb:316:in `transaction' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/transactions.rb:209:in `transaction' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1411:in `ddl_transaction' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1359:in `execute_migration_in_transaction' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1333:in `each' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1333:in `migrate_without_lock' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1282:in `block in migrate' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1432:in `block in with_advisory_lock' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:215:in `with_connection' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1447:in `with_advisory_lock_connection' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1428:in `with_advisory_lock' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1282:in `migrate' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1117:in `up' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1092:in `migrate' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' Sep 24 19:02:07/app/code/lib/tasks/db.rake:246:in `block (2 levels) in <main>' Sep 24 19:02:07/app/code/lib/distributed_mutex.rb:53:in `block in synchronize' Sep 24 19:02:07/app/code/lib/distributed_mutex.rb:49:in `synchronize' Sep 24 19:02:07/app/code/lib/distributed_mutex.rb:49:in `synchronize' Sep 24 19:02:07/app/code/lib/distributed_mutex.rb:34:in `synchronize' Sep 24 19:02:07/app/code/lib/tasks/db.rake:221:in `block in <main>' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler/cli/exec.rb:58:in `load' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler/cli/exec.rb:58:in `kernel_load' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler/cli/exec.rb:23:in `run' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler/cli.rb:492:in `exec' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler/cli.rb:34:in `dispatch' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler/cli.rb:28:in `start' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/exe/bundle:45:in `block in <top (required)>' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/exe/bundle:33:in `<top (required)>' Sep 24 19:02:07/home/cloudron/rbenv/versions/3.2.1/bin/bundle:25:in `load' Sep 24 19:02:07/home/cloudron/rbenv/versions/3.2.1/bin/bundle:25:in `<main>' Sep 24 19:02:07 Sep 24 19:02:07Caused by: Sep 24 19:02:07ActiveRecord::StatementInvalid: PG::UndefinedFile: ERROR: could not open extension control file "/usr/share/postgresql/14/extension/embedding.control": No such file or directory Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.1.0/lib/patches/db/pg.rb:69:in `exec_params' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.1.0/lib/patches/db/pg.rb:69:in `exec_params' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/abstract_adapter.rb:769:in `block in log' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/abstract_adapter.rb:760:in `log' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:54:in `exec_query' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/postgresql_adapter.rb:434:in `enable_extension' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:932:in `block in method_missing' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:900:in `block in say_with_time' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:900:in `say_with_time' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:921:in `method_missing' Sep 24 19:02:07/app/code/plugins/discourse-chatbot/db/migrate/20230820010101_enable_embedding_extension.rb:6:in `change' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:870:in `exec_migration' Sep 24 19:02:07/app/code/lib/freedom_patches/schema_migration_details.rb:8:in `block in exec_migration' Sep 24 19:02:07/app/code/lib/freedom_patches/schema_migration_details.rb:8:in `exec_migration' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:854:in `block (2 levels) in migrate' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:853:in `block in migrate' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:215:in `with_connection' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:852:in `migrate' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1046:in `migrate' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1360:in `block in execute_migration_in_transaction' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/abstract/database_statements.rb:316:in `transaction' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/transactions.rb:209:in `transaction' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1411:in `ddl_transaction' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1359:in `execute_migration_in_transaction' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1333:in `each' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1333:in `migrate_without_lock' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1282:in `block in migrate' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1432:in `block in with_advisory_lock' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:215:in `with_connection' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1447:in `with_advisory_lock_connection' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1428:in `with_advisory_lock' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1282:in `migrate' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1117:in `up' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1092:in `migrate' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' Sep 24 19:02:07/app/code/lib/tasks/db.rake:246:in `block (2 levels) in <main>' Sep 24 19:02:07/app/code/lib/distributed_mutex.rb:53:in `block in synchronize' Sep 24 19:02:07/app/code/lib/distributed_mutex.rb:49:in `synchronize' Sep 24 19:02:07/app/code/lib/distributed_mutex.rb:49:in `synchronize' Sep 24 19:02:07/app/code/lib/distributed_mutex.rb:34:in `synchronize' Sep 24 19:02:07/app/code/lib/tasks/db.rake:221:in `block in <main>' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler/cli/exec.rb:58:in `load' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler/cli/exec.rb:58:in `kernel_load' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler/cli/exec.rb:23:in `run' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler/cli.rb:492:in `exec' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler/cli.rb:34:in `dispatch' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler/cli.rb:28:in `start' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/exe/bundle:45:in `block in <top (required)>' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/exe/bundle:33:in `<top (required)>' Sep 24 19:02:07/home/cloudron/rbenv/versions/3.2.1/bin/bundle:25:in `load' Sep 24 19:02:07/home/cloudron/rbenv/versions/3.2.1/bin/bundle:25:in `<main>' Sep 24 19:02:07 Sep 24 19:02:07Caused by: Sep 24 19:02:07PG::UndefinedFile: ERROR: could not open extension control file "/usr/share/postgresql/14/extension/embedding.control": No such file or directory Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.1.0/lib/patches/db/pg.rb:69:in `exec_params' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/rack-mini-profiler-3.1.0/lib/patches/db/pg.rb:69:in `exec_params' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/concurrency/share_lock.rb:187:in `yield_shares' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/abstract_adapter.rb:769:in `block in log' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/abstract_adapter.rb:760:in `log' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:853:in `block in migrate' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:215:in `with_connection' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:852:in `migrate' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1046:in `migrate' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1360:in `block in execute_migration_in_transaction' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/abstract/database_statements.rb:316:in `transaction' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/transactions.rb:209:in `transaction' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1411:in `ddl_transaction' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1359:in `execute_migration_in_transaction' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1333:in `each' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1333:in `migrate_without_lock' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1282:in `block in migrate' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1432:in `block in with_advisory_lock' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:215:in `with_connection' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1447:in `with_advisory_lock_connection' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1428:in `with_advisory_lock' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1282:in `migrate' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1117:in `up' Sep 24 19:02:07/app/code/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.5.1/lib/active_record/migration.rb:1092:in `migrate'
-
@mdc773 This plugin requires some postgres features . From the README, "I use the Postgres extension known as pg_embeddings. This promises vector searches 20x the speed of pgvector but requires bespoke additions to the build script in app.yml." This is not enabled on Cloudron (looks like we have to compile https://github.com/neondatabase/pg_embedding as well). This won't be easy to support for us.
-
so let me ask you again.... is it not possible for you guys to make discourse-chatbot work? and I'm confused on why you replied "@mdc773 https://docs.cloudron.io/apps/discourse/#installing-plugins is how you install plugins on Cloudron." thats not what i asked. and i dont understand why you guys create app like discourse that are limited whats the point discourse obviously had nice plugin's that fail do to your limitations some apps require steps in the app.yml. i do understand what you said "This is not enabled on Cloudron" but this is unfortunate
-
@girish has already replied saying:
@girish said in installing plugins breaks the container:
This won't be easy to support for us.
and
@girish said in installing plugins breaks the container:
@mdc773 it cannot be deployed in Cloudron atleast.
I realise that is evidently very disappointing for you (and I get that, because there have been plugins I wanted to use too that just weren't possible on Cloudron for quite a while), but it sounds like if you really want/ need to use the (admittedly impressive sounding) discourse-chatbot plugin you'll need to host Discourse somewhere else where "bespoke additions to the build script in app.yml" are possible, and where you can "compile https://github.com/neondatabase/pg_embedding as well".
I've not tried them all, but I'd guess most of the official Discourse plugins would likely work.
But even then, Discourse themselves make it very clear that only the official install instructions are supported.
Perhaps you could try following those instructions on another machine and see if you can get the discourse-chatbot](https://github.com/merefield/discourse-chatbot) working there (although I'd guess that the "bespoke additions to the build script in app.yml" might well diverge your installation from the official supported set-up).
-
@jdaviescoates appreciated I'm frustrated because i pay for a nice server that is running cloudron