--
--.--

スポンサーサイト

上記の広告は1ヶ月以上更新のないブログに表示されています。
新しい記事を書く事で広告が消せます。

2017
09.15

[ruby][mastodon] アップデートしようとしたらエラーでた

Category: ruby
結論先にかいとく

sudo su - mastodon ってしてなかった。 - なくて、rbenv で入れたの使われてなかった。

では、続きをどうぞ。

$ RAILS_ENV=production bundle exec rails db:migrate
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::VERSION
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OPENSSL_VERSION
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OPENSSL_LIBRARY_VERSION
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OPENSSL_VERSION_NUMBER
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OPENSSL_FIPS
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::Config::DEFAULT_CONFIG_FILE
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::PKCS7::Signer
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::PKCS7::TEXT
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::PKCS7::NOCERTS
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::PKCS7::NOSIGS
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::PKCS7::NOCHAIN
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::PKCS7::NOINTERN
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::PKCS7::NOVERIFY
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::PKCS7::DETACHED
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::PKCS7::BINARY
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::PKCS7::NOATTR
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::PKCS7::NOSMIMECAP
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::PKey::RSA::PKCS1_PADDING
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::PKey::RSA::SSLV23_PADDING
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::PKey::RSA::NO_PADDING
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::PKey::RSA::PKCS1_OAEP_PADDING
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::PKey::EC::NAMED_CURVE
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ExtConfig::HAVE_TLSEXT_HOST_NAME
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ExtConfig::TLS_DH_anon_WITH_AES_256_GCM_SHA384
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::SSLContext::SESSION_CACHE_OFF
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::SSLContext::SESSION_CACHE_CLIENT
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::SSLContext::SESSION_CACHE_SERVER
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::SSLContext::SESSION_CACHE_BOTH
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::SSLContext::SESSION_CACHE_NO_AUTO_CLEAR
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::SSLContext::SESSION_CACHE_NO_INTERNAL_LOOKUP
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::SSLContext::SESSION_CACHE_NO_INTERNAL_STORE
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::SSLContext::SESSION_CACHE_NO_INTERNAL
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::SSLContext::METHODS
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ExtConfig::OPENSSL_NO_SOCK
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::VERIFY_NONE
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::VERIFY_PEER
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::VERIFY_FAIL_IF_NO_PEER_CERT
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::VERIFY_CLIENT_ONCE
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_MICROSOFT_SESS_ID_BUG
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_NETSCAPE_CHALLENGE_BUG
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_SSLREF2_REUSE_CERT_TYPE_BUG
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_MICROSOFT_BIG_SSLV3_BUFFER
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_MSIE_SSLV2_RSA_PADDING
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_SSLEAY_080_CLIENT_DH_BUG
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_TLS_D5_BUG
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_TLS_BLOCK_PADDING_BUG
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_DONT_INSERT_EMPTY_FRAGMENTS
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_ALL
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_SINGLE_ECDH_USE
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_SINGLE_DH_USE
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_EPHEMERAL_RSA
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_CIPHER_SERVER_PREFERENCE
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_TLS_ROLLBACK_BUG
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_NO_SSLv2
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_NO_SSLv3
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_NO_TLSv1
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_NO_TLSv1_1
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_NO_TLSv1_2
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_NO_TICKET
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_NO_COMPRESSION
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_PKCS1_CHECK_1
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_PKCS1_CHECK_2
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_NETSCAPE_CA_DN_BUG
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::Name::DEFAULT_OBJECT_TYPE
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::Name::OBJECT_TYPE_TEMPLATE
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::Name::COMPAT
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::Name::RFC2253
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::Name::ONELINE
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::Name::MULTILINE
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_OK
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_UNABLE_TO_GET_ISSUER_CERT
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_UNABLE_TO_GET_CRL
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_CERT_SIGNATURE_FAILURE
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_CRL_SIGNATURE_FAILURE
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_CERT_NOT_YET_VALID
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_CERT_HAS_EXPIRED
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_CRL_NOT_YET_VALID
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_CRL_HAS_EXPIRED
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_OUT_OF_MEM
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_SELF_SIGNED_CERT_IN_CHAIN
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_CERT_CHAIN_TOO_LONG
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_CERT_REVOKED
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_INVALID_CA
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_PATH_LENGTH_EXCEEDED
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_INVALID_PURPOSE
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_CERT_UNTRUSTED
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_CERT_REJECTED
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_SUBJECT_ISSUER_MISMATCH
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_AKID_SKID_MISMATCH
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_AKID_ISSUER_SERIAL_MISMATCH
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_KEYUSAGE_NO_CERTSIGN
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_APPLICATION_VERIFICATION
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_FLAG_CRL_CHECK
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::V_FLAG_CRL_CHECK_ALL
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::PURPOSE_SSL_CLIENT
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::PURPOSE_SSL_SERVER
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::PURPOSE_NS_SSL_SERVER
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::PURPOSE_SMIME_SIGN
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::PURPOSE_SMIME_ENCRYPT
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::PURPOSE_CRL_SIGN
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::PURPOSE_ANY
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::PURPOSE_OCSP_HELPER
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::TRUST_COMPAT
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::TRUST_SSL_CLIENT
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::TRUST_SSL_SERVER
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::TRUST_EMAIL
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::TRUST_OBJECT_SIGN
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::TRUST_OCSP_SIGN
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::TRUST_OCSP_REQUEST
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::DEFAULT_CERT_AREA
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::DEFAULT_CERT_DIR
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::DEFAULT_CERT_FILE
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::DEFAULT_CERT_DIR_ENV
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::DEFAULT_CERT_FILE_ENV
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::X509::DEFAULT_PRIVATE_DIR
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::RESPONSE_STATUS_INTERNALERROR
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::RESPONSE_STATUS_MALFORMEDREQUEST
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::REVOKED_STATUS_NOSTATUS
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::RESPONSE_STATUS_SIGREQUIRED
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::RESPONSE_STATUS_SUCCESSFUL
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::RESPONSE_STATUS_TRYLATER
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::REVOKED_STATUS_AFFILIATIONCHANGED
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::REVOKED_STATUS_CACOMPROMISE
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::REVOKED_STATUS_CERTIFICATEHOLD
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::REVOKED_STATUS_CESSATIONOFOPERATION
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::REVOKED_STATUS_KEYCOMPROMISE
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::REVOKED_STATUS_REMOVEFROMCRL
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::REVOKED_STATUS_SUPERSEDED
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::RESPONSE_STATUS_UNAUTHORIZED
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::REVOKED_STATUS_UNSPECIFIED
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::NOCERTS
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::NOINTERN
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::NOSIGS
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::NOCHAIN
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::NOVERIFY
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::NOEXPLICIT
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::NOCASIGN
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::NODELEGATED
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::NOCHECKS
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::TRUSTOTHER
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::RESPID_KEY
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::NOTIME
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::V_CERTSTATUS_GOOD
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::V_CERTSTATUS_REVOKED
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::V_CERTSTATUS_UNKNOWN
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::V_RESPID_NAME
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::OCSP::V_RESPID_KEY
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::Engine::METHOD_RSA
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::Engine::METHOD_DSA
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::Engine::METHOD_DH
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::Engine::METHOD_RAND
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::Engine::METHOD_CIPHERS
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::Engine::METHOD_DIGESTS
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::Engine::METHOD_ALL
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::Engine::METHOD_NONE
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::UNIVERSAL_TAG_NAME
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::EOC
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::BOOLEAN
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::INTEGER
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::BIT_STRING
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::OCTET_STRING
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::NULL
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::OBJECT
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::OBJECT_DESCRIPTOR
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::EXTERNAL
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::REAL
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::ENUMERATED
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::EMBEDDED_PDV
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::UTF8STRING
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::RELATIVE_OID
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::SEQUENCE
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::SET
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::NUMERICSTRING
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::PRINTABLESTRING
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::T61STRING
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::VIDEOTEXSTRING
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::IA5STRING
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::UTCTIME
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::GENERALIZEDTIME
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::GRAPHICSTRING
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::ISO64STRING
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::GENERALSTRING
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::UNIVERSALSTRING
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::CHARACTER_STRING
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.so: warning: already initialized constant OpenSSL::ASN1::BMPSTRING
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl/pkey.rb:8: warning: already initialized constant OpenSSL::PKey::DH::DEFAULT_1024
/usr/lib/ruby/2.3.0/openssl/pkey.rb:14: warning: previous definition of DEFAULT_1024 was here
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl/pkey.rb:30: warning: already initialized constant OpenSSL::PKey::DEFAULT_TMP_DH_CALLBACK
/usr/lib/ruby/2.3.0/openssl/pkey.rb:23: warning: previous definition of DEFAULT_TMP_DH_CALLBACK was here
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl/cipher.rb:24: warning: already initialized constant OpenSSL::Cipher::AES
/usr/lib/ruby/2.3.0/openssl/cipher.rb:24: warning: previous definition of AES was here
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl/cipher.rb:24: warning: already initialized constant OpenSSL::Cipher::CAST5
/usr/lib/ruby/2.3.0/openssl/cipher.rb:24: warning: previous definition of CAST5 was here
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl/cipher.rb:24: warning: already initialized constant OpenSSL::Cipher::BF
/usr/lib/ruby/2.3.0/openssl/cipher.rb:24: warning: previous definition of BF was here
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl/cipher.rb:24: warning: already initialized constant OpenSSL::Cipher::DES
/usr/lib/ruby/2.3.0/openssl/cipher.rb:24: warning: previous definition of DES was here
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl/cipher.rb:24: warning: already initialized constant OpenSSL::Cipher::IDEA
/usr/lib/ruby/2.3.0/openssl/cipher.rb:24: warning: previous definition of IDEA was here
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl/cipher.rb:24: warning: already initialized constant OpenSSL::Cipher::RC2
/usr/lib/ruby/2.3.0/openssl/cipher.rb:24: warning: previous definition of RC2 was here
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl/cipher.rb:24: warning: already initialized constant OpenSSL::Cipher::RC4
/usr/lib/ruby/2.3.0/openssl/cipher.rb:24: warning: previous definition of RC4 was here
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl/cipher.rb:24: warning: already initialized constant OpenSSL::Cipher::RC5
/usr/lib/ruby/2.3.0/openssl/cipher.rb:24: warning: previous definition of RC5 was here
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl/cipher.rb:33: warning: already initialized constant OpenSSL::Cipher::AES128
/usr/lib/ruby/2.3.0/openssl/cipher.rb:35: warning: previous definition of AES128 was here
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl/cipher.rb:33: warning: already initialized constant OpenSSL::Cipher::AES192
/usr/lib/ruby/2.3.0/openssl/cipher.rb:35: warning: previous definition of AES192 was here
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl/cipher.rb:33: warning: already initialized constant OpenSSL::Cipher::AES256
/usr/lib/ruby/2.3.0/openssl/cipher.rb:35: warning: previous definition of AES256 was here
rails aborted!
TypeError: superclass mismatch for class Cipher
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl/cipher.rb:64:in `'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl/cipher.rb:16:in `'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl/cipher.rb:15:in `'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/bootsnap-1.1.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/bootsnap-1.1.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `block in require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:258:in `load_dependency'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.2/lib/openssl.rb:17:in `'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/bootsnap-1.1.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/bootsnap-1.1.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `block in require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:258:in `load_dependency'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/key_generator.rb:2:in `'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/bootsnap-1.1.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/bootsnap-1.1.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `block in require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:258:in `load_dependency'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/application.rb:4:in `'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/bootsnap-1.1.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/bootsnap-1.1.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `block in require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:258:in `load_dependency'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails.rb:12:in `'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/bootsnap-1.1.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/bootsnap-1.1.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `block in require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:258:in `load_dependency'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/all.rb:1:in `'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/bootsnap-1.1.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/bootsnap-1.1.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `block in require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:258:in `load_dependency'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require'
/home/mastodon/live/config/application.rb:3:in `'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/bootsnap-1.1.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/bootsnap-1.1.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `block in require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:258:in `load_dependency'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require'
/home/mastodon/live/Rakefile:4:in `'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/bootsnap-1.1.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `load'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/bootsnap-1.1.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `load'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:286:in `block in load'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:258:in `load_dependency'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:286:in `load'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/commands/rake/rake_command.rb:20:in `block in perform'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/commands/rake/rake_command.rb:18:in `perform'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/command.rb:46:in `invoke'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/commands.rb:16:in `'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/bootsnap-1.1.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/bootsnap-1.1.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `block in require'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:258:in `load_dependency'
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require'
bin/rails:4:in `
'
(See full trace by running task with --trace)


ざざっとぐぐると、openssl 2.0.2 使え〜〜〜って出てくるんだけど、2.0.2 にしてもエラー出まくりですわ。どうしたら。

ん?
/home/mastodon/live/vendor/bundle/ruby/2.3.0/gems/openssl-2.0.5/lib/openssl/pkey.rb:8: warning: already initialized constant OpenSSL::PKey::DH::DEFAULT_1024
/usr/lib/ruby/2.3.0/openssl/pkey.rb:14: warning: previous definition of DEFAULT_1024 was here


どゆこと?

cat /usr/lib/ruby/2.3.0/openssl/pkey.rb
# frozen_string_literal: false
module OpenSSL
module PKey
if defined?(OpenSSL::PKey::DH)

class DH
DEFAULT_512 = new <<-_end_of_pem_
-----BEGIN DH PARAMETERS-----
MEYCQQD0zXHljRg/mJ9PYLACLv58Cd8VxBxxY7oEuCeURMiTqEhMym16rhhKgZG2
zk2O9uUIBIxSj+NKMURHGaFKyIvLAgEC
-----END DH PARAMETERS-----
_end_of_pem_

DEFAULT_1024 = new <<-_end_of_pem_
-----BEGIN DH PARAMETERS-----
MIGHAoGBAJ0lOVy0VIr/JebWn0zDwY2h+rqITFOpdNr6ugsgvkDXuucdcChhYExJ
AV/ZD2AWPbrTqV76mGRgJg4EddgT1zG0jq3rnFdMj2XzkBYx3BVvfR0Arnby0RHR
T4h7KZ/2zmjvV+eF8kBUHBJAojUlzxKj4QeO2x20FP9X5xmNUXeDAgEC
-----END DH PARAMETERS-----
_end_of_pem_
end

DEFAULT_TMP_DH_CALLBACK = lambda { |ctx, is_export, keylen|
warn "using default DH parameters." if $VERBOSE
case keylen
when 512 then OpenSSL::PKey::DH::DEFAULT_512
when 1024 then OpenSSL::PKey::DH::DEFAULT_1024
else
nil
end
}

else
DEFAULT_TMP_DH_CALLBACK = nil
end
end
end


色々かいてあるんだが、こいつらがいかんのか?

てきとーにaptでインストールしたんだけど、rbenv したほうがいいパターンかこれ?

というわけで、rbenv・・・
って前にしてたじゃん!!!!

てかあれだ、sudo するときに sudo su mastodon ってしてて .bash_profile とか読まれてなかった。。。

$ sudo su -  mastodon
$ ruby -v
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]


とりあえずエラーは出なくなりました、めでたしめでたし。

あんまりちゃんと解決してない気はするんですけどね。

あとは、systemd で起動するときにうまくいくかだな・・・

と思いましたけど

ExecStart=/home/mastodon/.rbenv/shims/bundle exec puma -C config/puma.rb


ってあるから大丈夫かな。



スポンサーサイト
Comment:0  Trackback:0
2017
08.30

[PHP][Laravel] NullOKなカラムをNOT NULL な感じにするmigrationの書き方

Category: 未分類
困った時のStackOverFlow


nullable() って引数あるのか・・・!

なお、日本語ドキュメントには記載なかった。英語もないな。

というわけで、null 許可だったけど、やっぱ not null にしたいわっていう時は

$table->なにか(column name)->nullable(false)->change();


でいけました。

Comment:0  Trackback:0
2017
07.13

http で来たアクセスを https に飛ばしたい時

Category: 未分類
ぐぐってると上位に rewrite 使いました的な記事ばっかりくるんだけど、
サーバ名がわかってる場合は redirect で十分かと

<VirtualHost *:80>
Redirect permanent / https://servername/
ServerName servername
<VirtualHost>


ドキュメントはこの辺

nginx の場合は環境変数っぽいの使えるからどんな場合でも

server {
listen 80;
return 301 https://$host$request_uri;
}


みたいな感じでいいんですけど。
apache では↑みたいなことしたい場合は mod_rewrite 使うしかないんかなぁ。

Comment:0  Trackback:0
2017
07.12

nginx で http2 がなかなか有効にならなくてちょっと悩んだ

Category: debian
結果から言うと、nginx を build した時の openssl のバージョンが問題だった模様

色々見てると、listen のとこにちょっと追加するだけでほらかんたんhttp2対応だよ!
って書いてあったんだけど、どーしてもわいのchromeさんは1.1で通信しやがるksg

と思ってぐるぐるしてたら

nginxをHTTP/2対応にする方法(Chrome 51以降でも有効にする) という記事とみてもしや?と思い version 確認。

# nginx -V
nginx version: nginx/1.13.2
built by gcc 4.7.2 (Debian 4.7.2-5)
built with OpenSSL 1.0.1t 3 May 2016
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-mail --with-mail_ssl_module --with-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-cc-opt='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fPIC' --with-ld-opt='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed -pie'


chromeは59。

とりあえず openssl の version が 1.0.2 以上の環境で rebuild すればええかね〜ということで、この記事を参考にしつつ apt-get source して build-dep したりして、rebuild していんすとーーーーる

# nginx -V
nginx version: nginx/1.13.3
built by gcc 6.3.0 20170516 (Debian 6.3.0-18)
built with OpenSSL 1.1.0f 25 May 2017
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-mail --with-mail_ssl_module --with-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-cc-opt='-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fPIC' --with-ld-opt='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed -pie'



Developer Tools で確認したら protocol が h2 ってなってたよやったー!


Comment:0  Trackback:0
2017
07.12

GPG エラー: http://nginx.org wheezy Release: 公開鍵を利用できないため、以下の署名は検証できませんでした

Category: debian
debian で nginx の apt line 追加して apt-get update したらエラー。

W: GPG エラー: http://nginx.org wheezy Release: 公開鍵を利用できないため、以下の署名は検証できませんでした: NO_PUBKEY ABF5BD827BD9BF62


ふむ
nginx のサイトのココを参考に

# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ABF5BD827BD9BF62
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.ZR6QrNB8oK --trustdb-name /etc/apt//trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-jessie-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-jessie-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-jessie-stable.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-stretch-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-stretch-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-stretch-stable.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-wheezy-stable.gpg --keyserver keyserver.ubuntu.com --recv-keys ABF5BD827BD9BF62
gpg: 鍵7BD9BF62をhkpからサーバーkeyserver.ubuntu.comに要求
gpg: 鍵7BD9BF62: 公開鍵“nginx signing key ”を読み込みました
gpg: 絶対的に信用する鍵が見つかりません
gpg: 処理数の合計: 1
gpg: 読込み: 1 (RSA: 1)


apt-get update でエラーでなくなったよかった。

絶対的に信用する鍵が見つかりません が気になるけどまぁいいか、いいのか?



Comment:0  Trackback:0
back-to-top
上記広告は1ヶ月以上更新のないブログに表示されています。新しい記事を書くことで広告を消せます。