Error following updates (S3 Backup Plugin)

A while ago I had an error during an update, so I tried to fix it with a git pull and rebuild etc.
The errors continue, and users have been reporting errors etc. This was the error in the latest attempt to update the Docker

Compressing: vendor.fc515a92f838bfb06405ac3186d67213-d190f217c498848c25a4048fe73ad56cbd28decf7b7eddf1b7ea34d79ee1ee6d.js
pnpm terser '/var/www/discourse/public/assets/_vendor.fc515a92f838bfb06405ac3186d67213-d190f217c498848c25a4048fe73ad56cbd28decf7b7eddf1b7ea34d79ee1ee6d.js' -m -c -o '/var/www/discourse/public/assets/vendor.fc515a92f838bfb06405ac3186d67213-d190f217c498848c25a4048fe73ad56cbd28decf7b7eddf1b7ea34d79ee1ee6d.js' --source-map "base='/var/www/discourse/public/assets',root='/assets',url='vendor.fc515a92f838bfb06405ac3186d67213-d190f217c498848c25a4048fe73ad56cbd28decf7b7eddf1b7ea34d79ee1ee6d.js.map',includeSources=true"
rake aborted!
Errno::ENOENT: No such file or directory @ rb_file_s_size - /var/www/discourse/public/assets/vendor.fc515a92f838bfb06405ac3186d67213-d190f217c498848c25a4048fe73ad56cbd28decf7b7eddf1b7ea34d79ee1ee6d.js (Errno::ENOENT)
/var/www/discourse/lib/tasks/assets.rake:297:in `size'
/var/www/discourse/lib/tasks/assets.rake:297:in `block (6 levels) in <main>'
/var/www/discourse/lib/tasks/assets.rake:250:in `log_task_duration'
/var/www/discourse/lib/tasks/assets.rake:289:in `block (5 levels) in <main>'
/var/www/discourse/lib/tasks/assets.rake:240:in `block in concurrent?'
/var/www/discourse/lib/tasks/assets.rake:288:in `block (4 levels) in <main>'
/var/www/discourse/lib/tasks/assets.rake:271:in `each'
/var/www/discourse/lib/tasks/assets.rake:271:in `block (3 levels) in <main>'
/var/www/discourse/lib/tasks/assets.rake:240:in `concurrent?'
/var/www/discourse/lib/tasks/assets.rake:267:in `block (2 levels) in <main>'
/var/www/discourse/lib/tasks/assets.rake:250:in `log_task_duration'
/var/www/discourse/lib/tasks/assets.rake:266:in `block in <main>'
/var/www/discourse/lib/tasks/assets.rake:332:in `block in <main>'
Tasks: TOP => assets:precompile:compress_js
(See full trace by running task with --trace)
Docker Manager: FAILED TO UPGRADE
#<RuntimeError: RuntimeError>
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:210:in `run'
/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:111:in `upgrade'
/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:19:in `block in <main>'
/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:6:in `fork'
/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:6:in `<main>'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.1.4/lib/rails/commands/runner/runner_command.rb:41:in `load'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.1.4/lib/rails/commands/runner/runner_command.rb:41:in `block in perform'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.4/lib/active_support/execution_wrapper.rb:92:in `wrap'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.1.4/lib/rails/commands/runner/runner_command.rb:40:in `perform'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/thor-1.3.2/lib/thor/command.rb:28:in `run'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/thor-1.3.2/lib/thor/invocation.rb:127:in `invoke_command'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.1.4/lib/rails/command/base.rb:178:in `invoke_command'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/thor-1.3.2/lib/thor.rb:538:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.1.4/lib/rails/command/base.rb:73:in `perform'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.1.4/lib/rails/command.rb:71:in `block in invoke'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.1.4/lib/rails/command.rb:149:in `with_argv'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.1.4/lib/rails/command.rb:69:in `invoke'
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/railties-7.1.4/lib/rails/commands.rb:18:in `<main>'
/usr/local/lib/ruby/3.3.0/bundled_gems.rb:74:in `require'
/usr/local/lib/ruby/3.3.0/bundled_gems.rb:74:in `block (2 levels) in replace_require'
/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:in `require'
bin/rails:18:in `<main>'

The Error log also has entries referring to the same missing file etc
Any good way to fix this?

Do you have any custom plugins?

1 Like

All plugins are credited to Discourse

Backup uploads to s3 is deprecated. It could be a problem.

Well it’s the only one that I can’t disable through the interface, and I can’t find it in the settings - do I need to delete it through the terminal?

Yes. You would comment it out in your yml file and then rebuild.

Have done so and another rebuild - error free.
Have asked the community to let me know if any issues come up but it looks like it is resolved.
Thank you!

1 Like