Errore Rake durante l'aggiornamento (non fatale)

Ho visto questo passaggio nei log, ma l’aggiornamento è proseguito con apparente successo:

In attesa del ricaricamento di Unicorn...........................................................
$ bundle exec rake assets:flush_sw
rake aborted!
Non so come costruire il task 'assets:flush_sw' (vedi l'elenco dei task disponibili con `rake --tasks`)
Intendevi?  assets:clean
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/exe/rake:27:in `\u003ctop (required)\u003e'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `\u003cmain\u003e'
(vedi la traccia completa eseguendo il task con --trace)
WARNING: Impossibile aggiornare il file service worker
Esecuzione delle migrazioni post-deploy

È importante? Interessante?

2 Mi Piace

Not sure, @eviltrout did the rake task name change?

Is this service worker related @featheredtoast? I can’t find flush_sw in our codebase right now.

That is a task that was live on master for less than 3h and was reverted afterwards.

Please use a rebuild @Ed_S.

cd /var/discourse
./launcher rebuild app
3 Mi Piace

This won’t cause any issues updating, just noise in the logs which you can ignore for now - flush_sw is a new rake task that will exist once we re-add it. I’ve been working out some issues with the rake task in a draft PR, but for now those errors in the logs are harmless.

2 Mi Piace