LoginSignup
0
0

More than 5 years have passed since last update.

MastodonのVersionUp時に遭遇するErrorの対処法(脳筋編)

Last updated at Posted at 2018-06-16

git pull 編

error: Your local changes to the following files would be overwritten by merge:
        Gemfile
Please, commit your changes or stash them before you can merge.
Aborting
git checkout Gemfile.lock
git reset --hard HEAD

rails db:migrate 編

rails aborted!
ActiveRecord::ConcurrentMigrationError:

Cannot run migrations because another migration process is currently running.
/etc/init.d/postgresql restart
[....] Restarting postgresql (via systemctl): postgresql.service==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to restart 'postgresql.service'.
Authenticating as: ,,, (mastodon)
Password:
==== AUTHENTICATION COMPLETE ===
. ok

※あくまでも備忘録なので、その点はご了承くださいませ。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0