installing plugins breaks the container
-
Hello, when i go about opening the terminal and trying to install some plug-ins lets say discourse-chatbot when i restart it won't load to running I was able to install others with no problem
thanks for any help
-
i have but seem that this chatgpt fails when doing the rebake
root@0e0338b2-80f6-49bc-b1c8-5509ed6a961c:/app/code# gosu cloudron:cloudron bundle exec rake posts:rebake gem install multipart-post -v 2.3.0 -i /app/code/plugins/discourse-chatbot/gems/3.2.1 --no-document --ignore-dependencies --no-user-install ERROR: While executing gem ... (Errno::EROFS) Read-only file system @ dir_s_mkdir - /home/cloudron/.local /home/cloudron/rbenv/versions/3.2.1/lib/ruby/3.2.0/fileutils.rb:406:in `mkdir' /home/cloudron/rbenv/versions/3.2.1/lib/ruby/3.2.0/fileutils.rb:406:in `fu_mkdir' /home/cloudron/rbenv/versions/3.2.1/lib/ruby/3.2.0/fileutils.rb:384:in `block (2 levels) in mkdir_p' /home/cloudron/rbenv/versions/3.2.1/lib/ruby/3.2.0/fileutils.rb:382:in `reverse_each' /home/cloudron/rbenv/versions/3.2.1/lib/ruby/3.2.0/fileutils.rb:382:in `block in mkdir_p' /home/cloudron/rbenv/versions/3.2.1/lib/ruby/3.2.0/fileutils.rb:374:in `each' /home/cloudron/rbenv/versions/3.2.1/lib/ruby/3.2.0/fileutils.rb:374:in `mkdir_p' /home/cloudron/rbenv/versions/3.2.1/lib/ruby/3.2.0/rubygems/source.rb:151:in `fetch_spec' /home/cloudron/rbenv/versions/3.2.1/lib/ruby/3.2.0/rubygems/resolver/api_specification.rb:92:in `spec' /home/cloudron/rbenv/versions/3.2.1/lib/ruby/3.2.0/rubygems/resolver/installer_set.rb:98:in `add_always_install' /home/cloudron/rbenv/versions/3.2.1/lib/ruby/3.2.0/rubygems/dependency_installer.rb:322:in `resolve_dependencies' /home/cloudron/rbenv/versions/3.2.1/lib/ruby/3.2.0/rubygems/commands/install_command.rb:205:in `install_gem' /home/cloudron/rbenv/versions/3.2.1/lib/ruby/3.2.0/rubygems/commands/install_command.rb:230:in `block in install_gems' /home/cloudron/rbenv/versions/3.2.1/lib/ruby/3.2.0/rubygems/commands/install_command.rb:223:in `each' /home/cloudron/rbenv/versions/3.2.1/lib/ruby/3.2.0/rubygems/commands/install_command.rb:223:in `install_gems' /home/cloudron/rbenv/versions/3.2.1/lib/ruby/3.2.0/rubygems/commands/install_command.rb:169:in `execute' /home/cloudron/rbenv/versions/3.2.1/lib/ruby/3.2.0/rubygems/command.rb:323:in `invoke_with_build_args' /home/cloudron/rbenv/versions/3.2.1/lib/ruby/3.2.0/rubygems/command_manager.rb:251:in `invoke_command' /home/cloudron/rbenv/versions/3.2.1/lib/ruby/3.2.0/rubygems/command_manager.rb:191:in `process_args' /home/cloudron/rbenv/versions/3.2.1/lib/ruby/3.2.0/rubygems/command_manager.rb:149:in `run' /home/cloudron/rbenv/versions/3.2.1/lib/ruby/3.2.0/rubygems/gem_runner.rb:51:in `run' /home/cloudron/rbenv/versions/3.2.1/bin/gem:10:in `<main>' You are specifying the gem multipart-post in /app/code/plugins/discourse-chatbot/plugin.rb, however it does not exist! Looked for: - /app/code/plugins/discourse-chatbot/gems/3.2.1/specifications/multipart-post-2.3.0.gemspec - /app/code/plugins/discourse-chatbot/gems/3.2.1/specifications/multipart-post-2.3.0-x86_64-linux.gemspec - /app/code/plugins/discourse-chatbot/gems/3.2.1/specifications/multipart-post-2.3.0-x86_64-linux.gemspec ```
-
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.
-
-
@mdc773 https://docs.cloudron.io/apps/discourse/#installing-plugins is how you install plugins on Cloudron.
-
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