Skip to content

Instantly share code, notes, and snippets.

@gadonski
Created August 17, 2023 11:11
Show Gist options
  • Save gadonski/8b8fc860f5cd8f9f22e50ed13293b835 to your computer and use it in GitHub Desktop.
Save gadonski/8b8fc860f5cd8f9f22e50ed13293b835 to your computer and use it in GitHub Desktop.
root@srv02:/data/chatwoot# docker compose run --rm rails bundle exec rails db:chatwoot_prepare
+ rm -rf /app/tmp/pids/server.pid
+ rm -rf '/app/tmp/cache/*'
+ echo 'Waiting for postgres to become ready....'
Waiting for postgres to become ready....
+ docker/entrypoints/helpers/pg_database_url.rb
+ export 'POSTGRES_PORT=5432'
+ PG_READY='pg_isready -h 172.17.0.1 -p 5432 -U postgres'
+ pg_isready -h 172.17.0.1 -p 5432 -U postgres
172.17.0.1:5432 - accepting connections
+ echo 'Database ready to accept connections.'
Database ready to accept connections.
+ bundle install
Using rake 13.0.6
Using concurrent-ruby 1.2.2
Using i18n 1.14.1
Using minitest 5.19.0
Using tzinfo 2.0.6
Using activesupport 7.0.5.1
Using builder 3.2.4
Using erubi 1.12.0
Using mini_portile2 2.8.4
Using racc 1.7.1
Using nokogiri 1.15.3
Using rails-dom-testing 2.1.1
Using crass 1.0.6
Using loofah 2.21.3
Using rails-html-sanitizer 1.6.0
Using actionview 7.0.5.1
Using rack 2.2.8
Using rack-test 2.1.0
Using actionpack 7.0.5.1
Using nio4r 2.5.9
Using websocket-extensions 0.1.5
Using websocket-driver 0.7.5
Using actioncable 7.0.5.1
Using globalid 1.1.0
Using activejob 7.0.5.1
Using activemodel 7.0.5.1
Using activerecord 7.0.5.1
Using marcel 1.0.2
Using mini_mime 1.1.2
Using activestorage 7.0.5.1
Using date 3.3.3
Using timeout 0.4.0
Using net-protocol 0.2.1
Using net-imap 0.3.6
Using net-pop 0.1.2
Using net-smtp 0.3.3
Using mail 2.8.1
Using actionmailbox 7.0.5.1
Using actionmailer 7.0.5.1
Using actiontext 7.0.5.1
Using activerecord-import 1.4.1
Using acts-as-taggable-on 9.0.1
Using public_suffix 5.0.1
Using addressable 2.8.4
Using method_source 1.0.0
Using thor 1.2.2
Using zeitwerk 2.6.9
Using railties 7.0.5.1
Using jquery-rails 4.6.0
Using kaminari-core 1.2.2
Using kaminari-actionview 1.2.2
Using kaminari-activerecord 1.2.2
Using kaminari 1.2.2
Using ffi 1.15.5
Using sassc 2.4.0
Using sprockets 4.2.0
Using sprockets-rails 3.4.2
Using tilt 2.2.0
Using sassc-rails 2.1.2
Using selectize-rails 0.12.6
Using administrate 0.19.0
Using bundler 2.4.13
Using rails 7.0.5.1
Using administrate-field-active_storage 0.4.2
Using ast 2.4.2
Using attr_extras 7.1.0
Using request_store 1.5.1
Using audited 5.3.3
Using aws-eventstream 1.2.0
Using aws-partitions 1.760.0
Using aws-sigv4 1.5.2
Using jmespath 1.6.2
Using aws-sdk-core 3.171.1
Using aws-sdk-kms 1.64.0
Using aws-sdk-s3 1.122.0
Using faraday-net_http 3.0.2
Using ruby2_keywords 0.0.5
Using faraday 2.7.4
Using faraday-follow_redirects 0.3.0
Using connection_pool 2.4.1
Using net-http-persistent 4.0.2
Using faraday-net_http_persistent 2.1.0
Using azure-storage-common 2.0.4 from https://github.com/chatwoot/azure-storage-ruby (at chatwoot@9957cf8)
Using azure-storage-blob 2.0.3 from https://github.com/chatwoot/azure-storage-ruby (at chatwoot@9957cf8)
Using multi_json 1.15.0
Using statsd-ruby 1.5.0
Using barnes 0.0.9
Using bcrypt 3.1.18
Using blingfire 0.1.8
Using msgpack 1.7.0
Using bootsnap 1.16.0
Using browser 5.3.1
Using commonmarker 0.23.10
Using csv-safe 3.2.1
Using debase-ruby_core_source 3.2.0
Using libdatadog 2.0.0.1.0
Using libddwaf 1.8.2.0.0
Using ddtrace 1.11.1
Using declarative 0.0.20
Using orm_adapter 0.5.0
Using responders 3.1.0
Using warden 1.2.9
Using devise 4.9.2
Using devise-secure_password 2.0.1 from https://github.com/chatwoot/devise-secure_password (at chatwoot@adcc85f)
Using devise_token_auth 1.2.1
Using digest-crc 0.6.4
Using unf_ext 0.0.8.2
Using unf 0.1.4
Using domain_name 0.5.20190701
Using dotenv 2.8.1
Using dotenv-rails 2.8.1
Using down 5.4.0
Using regexp_parser 2.8.0
Using ecma-re-validator 0.4.0
Using http-cookie 1.0.5
Using http-form_data 2.3.0
Using ffi-compiler 1.0.1
Using llhttp-ffi 0.4.0
Using http 5.1.1
Using elastic-apm 4.6.2
Using email_reply_trimmer 0.1.13
Using et-orbi 1.2.7
Using execjs 2.8.1
Using multi_xml 0.6.0
Using httparty 0.21.0
Using facebook-messenger 2.0.1
Using faker 3.2.0
Using hashie 5.0.0
Using faraday-mashify 0.1.1
Using multipart-post 2.3.0
Using faraday-multipart 1.0.4
Using faraday-retry 2.1.0
Using jwt 2.7.0
Using memoist 0.16.2
Using os 1.1.4
Using signet 0.17.0
Using googleauth 1.5.2
Using fcm 1.0.8
Using flag_shih_tzu 0.3.23
Using foreman 0.87.2
Using raabro 1.4.0
Using fugit 1.8.1
Using google-protobuf 3.22.3
Using googleapis-common-protos-types 1.6.0
Using grpc 1.54.0
Using googleapis-common-protos 1.4.0
Using gapic-common 0.18.0
Using geocoder 1.8.1
Using gli 2.21.0
Using version_gem 1.1.2
Using oauth-tty 1.0.5
Using snaky_hash 2.0.1
Using oauth 1.1.0
Using gmail_xoauth 0.4.2
Using httpclient 2.8.3
Using trailblazer-option 0.1.2
Using uber 0.1.0
Using representable 3.2.0
Using retriable 3.1.2
Using rexml 3.2.5
Using webrick 1.8.1
Using google-apis-core 0.11.0
Using google-apis-iamcredentials_v1 0.17.0
Using google-apis-storage_v1 0.19.0
Using google-cloud-env 1.6.0
Using google-cloud-errors 1.3.1
Using google-cloud-core 1.6.0
Using google-cloud-location 0.4.0
Using google-cloud-dialogflow-v2 0.23.0
Using google-cloud-storage 1.44.0
Using google-cloud-translate-v3 0.6.0
Using groupdate 6.2.1
Using haikunator 1.1.1
Using sexp_processor 4.17.0
Using ruby_parser 3.20.0
Using ruby2ruby 2.5.0
Using hairtrigger 1.0.0
Using hana 1.3.7
Using hkdf 1.0.0
Using html2text 0.3.1 from https://github.com/chatwoot/html2text_ruby (at chatwoot@cdbdbbb)
Using http-accept 1.7.0
Using mini_magick 4.12.0
Using ruby-vips 2.1.4
Using image_processing 1.12.2
Using numo-narray 0.9.2.1
Using onnxruntime 0.7.6
Using informers 0.2.0
Using jbuilder 2.11.5
Using json 2.6.3
Using uri_template 0.7.0
Using json_schemer 0.2.24
Using koala 3.4.0
Using line-bot-api 1.28.0
Using liquid 5.4.0
Using lograge 0.13.0
Using maxminddb 0.1.22
Using mime-types-data 3.2023.0218.1
Using mime-types 3.4.1
Using neighbor 0.2.3
Using netrc 0.11.0
Using newrelic_rpm 8.16.0
Using redis-client 0.14.1
Using sidekiq 7.1.2
Using newrelic-sidekiq-metrics 1.6.1
Using oauth2 2.0.9
Using rack-protection 3.0.6
Using omniauth 2.1.1
Using omniauth-oauth2 1.8.0
Using omniauth-google-oauth2 1.1.1
Using omniauth-rails_csrf_protection 1.0.1
Using openssl 3.1.0
Using parser 3.2.2.1
Using pg 1.5.3
Using pg_search 2.3.6
Using pgvector 0.1.1
Using procore-sift 1.0.0
Using puma 6.2.2
Using pundit 2.3.0
Using rack-attack 6.7.0
Using rack-cors 2.0.1
Using rack-proxy 0.7.6
Using rack-timeout 0.6.3
Using redis 5.0.6
Using redis-namespace 1.10.0
Using rest-client 2.1.0
Using reverse_markdown 2.1.1
Using scout_apm 5.3.3
Using semantic_range 3.0.0
Using sentry-ruby 5.10.0
Using sentry-rails 5.10.0
Using sentry-sidekiq 5.10.0
Using sidekiq-cron 1.10.0
Using slack-ruby-client 2.0.0
Using stripe 8.5.0
Using telephone_number 1.4.20
Using time_diff 0.3.0
Using twilio-ruby 5.77.0
Using twitty 0.1.5
Using tzinfo-data 1.2023.3
Using uglifier 4.2.0
Using valid_email2 4.0.6
Using web-push 3.0.0
Using webpacker 5.4.4
Using wisper 2.0.0
Using working_hours 1.4.1
Bundle complete! 123 Gemfile dependencies, 245 gems now installed.
Gems in the groups 'development' and 'test' were not installed.
Bundled gems are installed into `/gems`
+ BUNDLE='bundle check'
+ bundle check
The Gemfile's dependencies are satisfied
+ exec bundle exec rails db:chatwoot_prepare
fatal: not a git repository (or any of the parent directories): .git
I, [2023-08-17T11:05:50.787820 #1] INFO -- : Migrating to AddCustomSenderNameToggle (20230525085402)
== 20230525085402 AddCustomSenderNameToggle: migrating ========================
-- add_column(:inboxes, :sender_name_type, :integer, {:default=>0, :null=>false})
-> 0.3444s
== 20230525085402 AddCustomSenderNameToggle: migrated (0.3446s) ===============
I, [2023-08-17T11:05:51.191849 #1] INFO -- : Migrating to AddSenderNameToIn (20230614044633)
== 20230614044633 AddSenderNameToIn: migrating ================================
-- add_column(:inboxes, :business_name, :string, {:null=>true})
-> 0.0052s
== 20230614044633 AddSenderNameToIn: migrated (0.0059s) =======================
I, [2023-08-17T11:05:51.207503 #1] INFO -- : Migrating to AddSlaPolicyToConversations (20230620132319)
== 20230620132319 AddSlaPolicyToConversations: migrating ======================
-- add_column(:conversations, :sla_policy_id, :bigint)
-> 0.0078s
== 20230620132319 AddSlaPolicyToConversations: migrated (0.0083s) =============
I, [2023-08-17T11:05:51.225941 #1] INFO -- : Migrating to AddWaitingSinceToConversations (20230620212340)
== 20230620212340 AddWaitingSinceToConversations: migrating ===================
-- add_column(:conversations, :waiting_since, :datetime)
-> 0.0033s
-- add_index(:conversations, :waiting_since)
-> 0.2350s
== 20230620212340 AddWaitingSinceToConversations: migrated (0.2413s) ==========
I, [2023-08-17T11:05:51.476489 #1] INFO -- : Migrating to SentimentColumnToMessages (20230706090122)
== 20230706090122 SentimentColumnToMessages: migrating ========================
-- add_column(:messages, :sentiment, :jsonb, {:default=>{}})
-> 0.0169s
== 20230706090122 SentimentColumnToMessages: migrated (0.0178s) ===============
I, [2023-08-17T11:05:51.504022 #1] INFO -- : Migrating to AddApiKeySidToTwilioSms (20230714054138)
== 20230714054138 AddApiKeySidToTwilioSms: migrating ==========================
-- add_column(:channel_twilio_sms, :api_key_sid, :string)
-> 0.0085s
== 20230714054138 AddApiKeySidToTwilioSms: migrated (0.0087s) =================
I, [2023-08-17T11:05:51.530614 #1] INFO -- : Migrating to AddPartialIndexContactAccountId (20230727065605)
== 20230727065605 AddPartialIndexContactAccountId: migrating ==================
-- add_index(:contacts, [:account_id], {:where=>"(email <> '' OR phone_number <> '' OR identifier <> '')", :name=>"index_resolved_contact_account_id", :algorithm=>:concurrently})
-> 0.0190s
== 20230727065605 AddPartialIndexContactAccountId: migrated (0.0192s) =========
I, [2023-08-17T11:05:51.558701 #1] INFO -- : Migrating to UpdateDefaultStatusInHooks (20230801180936)
== 20230801180936 UpdateDefaultStatusInHooks: migrating =======================
-- change_column_default(:integrations_hooks, :status, 1)
-> 0.0187s
== 20230801180936 UpdateDefaultStatusInHooks: migrated (0.0312s) ==============
Loading Installation config
root@srv02:/data/chatwoot#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment