sufficit / sufficit-quepasa-zammad-addon

GNU Affero General Public License v3.0
11 stars 1 forks source link

tipps to deploy this to a Zammad docker compose installation? #1

Open Funkelfetisch opened 1 year ago

Funkelfetisch commented 1 year ago

I assume my problem is not related to this addon, but maybe you have a suggestion.

I've been researching [1] [2], and apparently it's also bad style to add something to a supposedly immutable docker container. how did you do this?

Is there a way to install the plugin from the zammad docker-compose.yml? or is there another way to precompile the assets?

As of right now, Quepasa / Whatsapp doesn't appear under Channels.

hugodeco commented 1 year ago

rake assets:precompile => fails, because nodeJS is missing. bring some logs !

Funkelfetisch commented 1 year ago
zammad@0e932dac26f4:~$ rake assets:precompile
rake aborted!
ExecJS::RuntimeUnavailable: Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes.
/usr/local/bundle/gems/execjs-2.8.1/lib/execjs/runtimes.rb:58:in `autodetect'
/usr/local/bundle/gems/execjs-2.8.1/lib/execjs.rb:5:in `<module:ExecJS>'
/usr/local/bundle/gems/execjs-2.8.1/lib/execjs.rb:4:in `<main>'
/usr/local/bundle/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
/usr/local/bundle/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
/usr/local/bundle/gems/zeitwerk-2.6.7/lib/zeitwerk/kernel.rb:38:in `require'
/usr/local/bundle/gems/activesupport-6.1.7.2/lib/active_support/dependencies.rb:332:in `block in require'
/usr/local/bundle/gems/activesupport-6.1.7.2/lib/active_support/dependencies.rb:299:in `load_dependency'
/usr/local/bundle/gems/activesupport-6.1.7.2/lib/active_support/dependencies.rb:332:in `require'
/opt/zammad/config/application.rb:32:in `block in <top (required)>'
/opt/zammad/config/application.rb:31:in `select'
/opt/zammad/config/application.rb:31:in `<top (required)>'
/opt/zammad/Rakefile:7:in `require_relative'
/opt/zammad/Rakefile:7:in `<top (required)>'
(See full trace by running task with --trace)