You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
We are encountering a problem when updating discourse from version 3.4.0.beta1-dev to 3.4.0.beta1.
The Discourse stack is in Docker.
The Redis container is updated correctly.
Web container update fails.
We're using the discourse-ldap-auth plugin and when updating, we get the following error message indicating the absence of a node plugin:
I, [2024-09-10T08:45:20.542297 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30: warning: /usr/local/lib/ruby/3.3.0/kconv.rb is found in nkf, which will no longer be part of the default gems since Ruby 3.4.0. Add nkf to your Gemfile or ge
Plugin name is 'ldap', but plugin directory is named 'discourse-ldap-auth'
rake aborted!
Discourse::Utils::CommandError: /var/www/discourse/lib/discourse.rb:139:in `exec': node:internal/modules/cjs/loader:1143 (Discourse::Utils::CommandError)
throw err;
^
/var/www/discourse/app/assets/javascripts/theme-transpiler/build.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
at Module._load (node:internal/modules/cjs/loader:981:27)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:177:18)
at Object. (/var/www/discourse/app/assets/javascripts/theme-transpiler/build.js:3:17)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/var/www/discourse/app/assets/javascripts/theme-transpiler/build.js'
]
}
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 1297 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "tag"=>"migrate", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
bootstrap failed with exit code 1
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
6ce7013be3b4898b79cf7e420dcfa202f82c4056780b0abfc0fd46729241ce28
When we deactivate the plugin from the ~/discourse/containers/discourse_web.yml file, the update works.
Thanks for your help
The text was updated successfully, but these errors were encountered:
Hello,
We are encountering a problem when updating discourse from version 3.4.0.beta1-dev to 3.4.0.beta1.
The Discourse stack is in Docker.
The Redis container is updated correctly.
Web container update fails.
We're using the discourse-ldap-auth plugin and when updating, we get the following error message indicating the absence of a node plugin:
When we deactivate the plugin from the ~/discourse/containers/discourse_web.yml file, the update works.
Thanks for your help
The text was updated successfully, but these errors were encountered: