capistrano: revisions.log full of translation missing: en.capistrano.revision_log_message

Steps to reproduce

Adding a second locale file to config/locales folder will have you start seeing translation missing: en.capistrano.revision_log_message in your deploy_to (using default)

At least that’s what I’ve been able to dig my way back into – 4 months down the road when I suddenly needed the exact revision having been deployed at some time in space 😄

Expected behavior

Not sure - maybe just the 'branch $stage (at $revision) … like it is now? I don’t need any translations

Actual behavior

Branch ppe_staging (at 8ff4fcbecaff0bbfa040e7b012e92a9cab8c2f1d) deployed as release 20201209180927 by walther
Branch ppe_staging (at 8d54683921ac6412bca3c3f586eafa13b9f1ebd5) deployed as release 20201209232733 by walther
Branch ppe_staging (at 99bb5c9857ce8759a77e270516b5b38161fbf49f) deployed as release 20201210212627 by walther
Branch ppe_staging (at 6d21e39ac010c47ac527126f7cdbf4c0d7047544) deployed as release 20201210233229 by walther
translation missing: en.capistrano.revision_log_message
translation missing: en.capistrano.revision_log_message
translation missing: en.capistrano.revision_log_message
translation missing: en.capistrano.revision_log_message
translation missing: en.capistrano.revision_log_message
translation missing: en.capistrano.revision_log_message
translation missing: en.capistrano.revision_log_message
translation missing: en.capistrano.revision_log_message
translation missing: en.capistrano.revision_log_message
translation missing: en.capistrano.revision_log_message

System configuration


Environment

    Ruby     ruby 2.6.1p33 (2019-01-30 revision 66950) [x86_64-darwin18]
    Rubygems 3.0.1
    Bundler  1.17.2
    Command  /Users/walther/.asdf/installs/ruby/2.6.1/bin/cap staging doctor

Gems

    capistrano          3.11.0 (update available)
    airbrussh           1.3.1  (update available)
    rake                12.3.3 (update available)
    sshkit              1.18.0 (update available)
    net-ssh             5.1.0  (update available)
    capistrano-bundler  1.5.0  (update available)
    capistrano-rails    1.4.0  (update available)
    capistrano-rails-db 0.0.2
    capistrano-rbenv    2.1.4  (update available)
    capistrano-yarn     2.0.2
    capistrano3-puma    3.1.1  (update available)

Variables

    :application                 "ppe_staging_speicher"
    :assets_manifests            [#<Pathname:/var/www/ppe_staging_speicher/current/public/assets/.sprockets-manifest*>, #<Pathname:/var/www/ppe_staging_speicher/current/public/assets/manifest*.*>]
    :assets_prefix               "assets"
    :assets_roles                [:web]
    :branch                      "ppe_staging"
    :bundle_bins                 ["gem", "rake", "rails", "puma", "pumactl"]
    :bundle_binstubs             nil
    :bundle_clean_options        ""
    :bundle_env_variables        {}
    :bundle_flags                "--deployment --quiet"
    :bundle_gemfile              nil
    :bundle_jobs                 4
    :bundle_path                 #<Pathname:/var/www/ppe_staging_speicher/shared/bundle>
    :bundle_roles                :all
    :bundle_servers              [#<Capistrano::Configuration::Server:0x00007fdda0ce5830 @keys=[], @local=false, @user="oxenserver", @hostname="ruby2019.alco.dk", @port=nil, @properties=#<Capistrano::Configuration::Server::Properties:0x00007fdda0ce4fe8 @properties={}, @roles=#<Set: {:app, :web, :db}>>>]
    :bundle_without              "development test"
    :chruby_map_bins             ["puma", "pumactl"]
    :conditionally_migrate       false
    :default_env                 {:rbenv_root=>"$HOME/.rbenv", :rbenv_version=>"ruby-2.6.1"}
    :deploy_to                   "/var/www/ppe_staging_speicher"
    :format                      :airbrussh
    :git_shallow_clone           false
    :git_wrapper_path            "/tmp/git-ssh-ppe_staging_speicher-staging-walther.sh"
    :init_system                 :initd
    :keep_releases               5
    :linked_dirs                 ["log", "tmp/pids", "tmp/cache", "tmp/sockets", "vendor/bundle", ".bundle", "public/system", "public/uploads", "db/imports", "storage", "public/assets"]
    :linked_files                ["config/database.yml", "config/secrets.yml", ".env", ".env.staging", "config/master.key"]
    :local_user                  "walther"
    :log_level                   :debug
    :migration_role              :app
    :migration_servers           #<Capistrano::Configuration::Server:0x00007fdda0ce5830 @keys=[], @local=false, @user="oxenserver", @hostname="ruby2019.abc.co", @port=nil, @properties=#<Capistrano::Configuration::Server::Properties:0x00007fdda0ce4fe8 @properties={}, @roles=#<Set: {:app, :web, :db}>>>
    :pty                         false
    :puma_access_log             "/var/www/ppe_staging_speicher/shared/log/puma_access.log"
    :puma_bind                   "unix:///var/www/ppe_staging_speicher/shared/tmp/sockets/puma.sock"
    :puma_conf                   "/var/www/ppe_staging_speicher/shared/puma.rb"
    :puma_control_app            false
    :puma_daemonize              false
    :puma_default_control_app    "unix:///var/www/ppe_staging_speicher/shared/tmp/sockets/pumactl.sock"
    :puma_env                    :staging
    :puma_error_log              "/var/www/ppe_staging_speicher/shared/log/puma_error.log"
    :puma_init_active_record     false
    :puma_pid                    "/var/www/ppe_staging_speicher/shared/tmp/pids/puma.pid"
    :puma_preload_app            false
    :puma_rackup                 "/var/www/ppe_staging_speicher/current/config.ru"
    :puma_role                   :app
    :puma_state                  "/var/www/ppe_staging_speicher/shared/tmp/pids/puma.state"
    :puma_tag                    ""
    :puma_threads                [0, 16]
    :puma_workers                0
    :rails_env                   :staging
    :rbenv_map_bins              ["rake", "gem", "bundle", "ruby", "rails", "puma", "pumactl"]
    :rbenv_path                  "$HOME/.rbenv"
    :rbenv_prefix                "RBENV_ROOT=$HOME/.rbenv RBENV_VERSION=ruby-2.6.1 $HOME/.rbenv/bin/rbenv exec"
    :rbenv_roles                 :all
    :rbenv_ruby                  "ruby-2.6.1"
    :rbenv_ruby_dir              "$HOME/.rbenv/versions/ruby-2.6.1"
    :repo_url                    "git@gitter.abc.co:walther/ppe-speicher.git"
    :rvm_map_bins                ["puma", "pumactl"]
    :stage                       :staging
    :tmp_dir                     "/tmp"
    :yarn_bin                    :yarn
    :yarn_flags                  ["--production"]
    :yarn_prune_flags            ""
    :yarn_roles                  :all
    
    :init_system is not a recognized Capistrano setting (/Users/walther/.asdf/installs/ruby/2.6.1/lib/ruby/2.6.0/delegate.rb:83)

Servers (1)

    oxenserver@ruby2019.alco.dk [:app, :web, :db]

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Comments: 16 (7 by maintainers)

Most upvoted comments

Unfortunately what we need to access is Rails credentials which I’m not sure we could load without just loading Rails. But thanks for the quick answer. At least I know there isn’t a “proper way” now.