Open jmthomas opened 2 years ago
Tried to upgrade existing plugin and got the following warning. Re-ran upgrade and it was successful.
Stdout: Loading new plugin: cosmos-itoc-core-1.0.1.20220713170945.gem {"name"=>"cosmos-itoc-core-1.0.1.20220713170945.gem", "variables"=>{}, "plugin_txt_lines"=>#<Array:4280>} Stderr: Error installing plugin: DEFAULT: cosmos-itoc-core-1.0.1.20220713170945.gem: RuntimeError : DEFAULT__cosmos_targets:CCE1 already exists at create Parsed output in /tmp/cosmos/tmp/tmp/plugin.txt20220713-49-7k1b4a /usr/lib/ruby/gems/3.0.0/gems/cosmos-5.0.6.pre.beta0/lib/cosmos/models/model.rb:140:in `create' /usr/lib/ruby/gems/3.0.0/gems/cosmos-5.0.6.pre.beta0/lib/cosmos/models/plugin_model.rb:203:in `block in install_phase2' /usr/lib/ruby/gems/3.0.0/gems/cosmos-5.0.6.pre.beta0/lib/cosmos/config/config_parser.rb:207:in `parse_loop' /usr/lib/ruby/gems/3.0.0/gems/cosmos-5.0.6.pre.beta0/lib/cosmos/config/config_parser.rb:207:in `parse_file' /usr/lib/ruby/gems/3.0.0/gems/cosmos-5.0.6.pre.beta0/lib/cosmos/models/plugin_model.rb:197:in `install_phase2' /cosmos/bin/cosmos:406:in `load_plugin' /cosmos/bin/cosmos:455:in `<main>'
Tried to upgrade existing plugin and got the following warning. Re-ran upgrade and it was successful.