nice! thanks @Sylvain!,
opening the log app-stdout.log:
tail -f app-stdout.log
CACHE (0.0ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('CustomAssetFile') AND "assets"."viewable_id" = $1 AND "assets"."viewable_type" = $2 LIMIT 1 [["viewable_id", 2], ["viewable_type", "CustomAsset"]]
CACHE (0.1ms) SELECT "custom_assets".* FROM "custom_assets" WHERE "custom_assets"."name" = $1 LIMIT 1 [["name", "favicon-file"]]
CACHE (0.0ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('CustomAssetFile') AND "assets"."viewable_id" = $1 AND "assets"."viewable_type" = $2 LIMIT 1 [["viewable_id", 2], ["viewable_type", "CustomAsset"]]
Rendered application/index.html.erb (225.5ms)
Completed 500 Internal Server Error in 275ms (ActiveRecord: 39.2ms | Elasticsearch: 0.0ms)
LoadError (moment/locale/pt.js does not exists):
app/views/application/index.html.erb:126:in `_app_views_application_index_html_erb___2397244793555728056_46937819273160'
Started GET "/" for 172.18.0.6 at 2020-10-01 14:14:49 +0000
Processing by ApplicationController#index as HTML
Setting Load (1.1ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = $1 LIMIT 1 [["name", "fablab_name"]]
Stylesheet Load (0.7ms) SELECT "stylesheets".* FROM "stylesheets" ORDER BY "stylesheets"."id" ASC LIMIT 1
CACHE (0.0ms) SELECT "stylesheets".* FROM "stylesheets" ORDER BY "stylesheets"."id" ASC LIMIT 1
CACHE (0.0ms) SELECT "stylesheets".* FROM "stylesheets" ORDER BY "stylesheets"."id" ASC LIMIT 1
CustomAsset Load (0.5ms) SELECT "custom_assets".* FROM "custom_assets" WHERE "custom_assets"."name" = $1 LIMIT 1 [["name", "favicon-file"]]
CustomAssetFile Load (0.5ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('CustomAssetFile') AND "assets"."viewable_id" = $1 AND "assets"."viewable_type" = $2 LIMIT 1 [["viewable_id", 2], ["viewable_type", "CustomAsset"]]
CACHE (0.0ms) SELECT "custom_assets".* FROM "custom_assets" WHERE "custom_assets"."name" = $1 LIMIT 1 [["name", "favicon-file"]]
CACHE (0.0ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('CustomAssetFile') AND "assets"."viewable_id" = $1 AND "assets"."viewable_type" = $2 LIMIT 1 [["viewable_id", 2], ["viewable_type", "CustomAsset"]]
CACHE (0.0ms) SELECT "custom_assets".* FROM "custom_assets" WHERE "custom_assets"."name" = $1 LIMIT 1 [["name", "favicon-file"]]
CACHE (0.0ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('CustomAssetFile') AND "assets"."viewable_id" = $1 AND "assets"."viewable_type" = $2 LIMIT 1 [["viewable_id", 2], ["viewable_type", "CustomAsset"]]
User Load (3.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 66]]
Role Load (1.5ms) SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = $1 ORDER BY "roles"."id" ASC LIMIT 1 [["user_id", 66]]
Profile Load (2.2ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."user_id" = $1 LIMIT 1 [["user_id", 66]]
UserAvatar Load (4.8ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('UserAvatar') AND "assets"."viewable_id" = $1 AND "assets"."viewable_type" = $2 LIMIT 1 [["viewable_id", 61], ["viewable_type", "Profile"]]
Address Load (1.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."placeable_id" = $1 AND "addresses"."placeable_type" = $2 LIMIT 1 [["placeable_id", 61], ["placeable_type", "Profile"]]
Organization Load (0.8ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."profile_id" = $1 LIMIT 1 [["profile_id", 61]]
Subscription Load (0.8ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."user_id" = $1 ORDER BY "subscriptions"."id" DESC LIMIT 1 [["user_id", 66]]
CACHE (0.0ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."user_id" = $1 ORDER BY "subscriptions"."id" DESC LIMIT 1 [["user_id", 66]]
Credit Load (1.4ms) SELECT "credits".* FROM "credits" INNER JOIN "users_credits" ON "credits"."id" = "users_credits"."credit_id" WHERE "users_credits"."user_id" = $1 AND (credits.creditable_type = 'Training') [["user_id", 66]]
Credit Load (0.4ms) SELECT "credits".* FROM "credits" INNER JOIN "users_credits" ON "credits"."id" = "users_credits"."credit_id" WHERE "users_credits"."user_id" = $1 AND (credits.creditable_type = 'Machine') [["user_id", 66]]
Rendered api/members/_member.json.jbuilder (188.7ms)
Rendered application/index.html.erb (273.5ms)
Completed 500 Internal Server Error in 276ms (ActiveRecord: 44.8ms | Elasticsearch: 0.0ms)
LoadError (moment/locale/pt.js does not exists):
app/views/application/index.html.erb:126:in `_app_views_application_index_html_erb___2397244793555728056_46937819273160'
Why the error exist?
LoadError (moment/locale/pt.js does not exists):
when I tried to make the upgrade, running the cmd "docker-compose run --rm fabmanager bundle exec rake assets:precompile" I got this:
root@FABLABTESTE:/apps/fabmanager# docker-compose run --rm fabmanager bundle exec rake assets:precompile
Starting fabmanager_postgres_1 ... done
Starting fabmanager_elasticsearch_1 ... done
Starting fabmanager_redis_1 ... done
AuthProvider Load (0.7ms) SELECT "auth_providers".* FROM "auth_providers" WHERE "auth_providers"."status" = $1 LIMIT 1 [["status", "active"]]
AuthProvider Load (0.7ms) SELECT "auth_providers".* FROM "auth_providers" WHERE "auth_providers"."status" = $1 LIMIT 1 [["status", "active"]]
AuthProvider Load (0.5ms) SELECT "auth_providers".* FROM "auth_providers" WHERE "auth_providers"."status" = $1 LIMIT 1 [["status", "active"]]
AuthProvider Load (1.1ms) SELECT "auth_providers".* FROM "auth_providers" WHERE "auth_providers"."status" = $1 LIMIT 1 [["status", "active"]]
rake aborted!
Sprockets::FileNotFound: couldn't find file 'jquery-ui/ui/jquery.ui.core'
(in /usr/src/app/app/assets/javascripts/application.js.erb:17)
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/context.rb:106:in `resolve'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/context.rb:146:in `require_asset'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/directive_processor.rb:217:in `process_require_directive'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/directive_processor.rb:167:in `block in process_directives'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/directive_processor.rb:165:in `each'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/directive_processor.rb:165:in `process_directives'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/directive_processor.rb:99:in `evaluate'
/usr/local/bundle/gems/tilt-1.4.1/lib/tilt/template.rb:103:in `render'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/context.rb:197:in `block in evaluate'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/context.rb:194:in `each'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/context.rb:194:in `evaluate'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/processed_asset.rb:12:in `initialize'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/base.rb:374:in `new'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/base.rb:374:in `block in build_asset'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/base.rb:395:in `circular_call_protection'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/base.rb:373:in `build_asset'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/index.rb:94:in `block in build_asset'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/caching.rb:58:in `cache_asset'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/index.rb:93:in `build_asset'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/base.rb:287:in `find_asset'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/index.rb:61:in `find_asset'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/bundled_asset.rb:16:in `initialize'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/base.rb:377:in `new'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/base.rb:377:in `build_asset'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/index.rb:94:in `block in build_asset'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/caching.rb:58:in `cache_asset'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/index.rb:93:in `build_asset'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/base.rb:287:in `find_asset'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/index.rb:61:in `find_asset'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/manifest.rb:211:in `block in find_asset'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/manifest.rb:257:in `benchmark'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/manifest.rb:210:in `find_asset'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/manifest.rb:119:in `block in compile'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/manifest.rb:118:in `each'
/usr/local/bundle/gems/sprockets-2.12.5/lib/sprockets/manifest.rb:118:in `compile'
/usr/local/bundle/gems/sprockets-rails-2.3.3/lib/sprockets/rails/task.rb:70:in `block (3 levels) in define'
/usr/local/bundle/gems/sprockets-2.12.5/lib/rake/sprocketstask.rb:146:in `with_logger'
/usr/local/bundle/gems/sprockets-rails-2.3.3/lib/sprockets/rails/task.rb:69:in `block (2 levels) in define'
/usr/local/bundle/gems/rake-12.2.1/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
With the version 2.6.7, the translation was fine, now it did not find anymore, may the cmd "rm -Rf public/assets/" have excluded and when try to recompile the assets it doesn´t find anymore?
I know that it would not make sense, but I am a kind of lost in the procedure.