Skip to content

Instantly share code, notes, and snippets.

@MartinJaskulla
Created October 13, 2020 13:55
Show Gist options
  • Save MartinJaskulla/38708969429ce59b929b1ee370e5c6bd to your computer and use it in GitHub Desktop.
Save MartinJaskulla/38708969429ce59b929b1ee370e5c6bd to your computer and use it in GitHub Desktop.
sudo docker-compose logs rasa-x
sudo: unable to resolve host ip-10-0-1-248
Attaching to rasa_rasa-x_1
rasa-x_1 | INFO:alembic.runtime.migration:Context impl PostgresqlImpl.
rasa-x_1 | INFO:alembic.runtime.migration:Will assume transactional DDL.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade -> 2a216ed121dd, Initial migration
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 2a216ed121dd -> 9d4a16758d6e, Addition of `is_default` and `description` columns to `user_role` table.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 9d4a16758d6e -> e3a3a2789e20, Add index to `conversation_id` column of table `conversation_event`.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade e3a3a2789e20 -> 59b7be3ad5fc, Add `extractor` column to table `nlu_training_data_entity`.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 59b7be3ad5fc -> 1dfbf67d6ae2, Support for individually unfeaturized entities in domain.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 1dfbf67d6ae2 -> b4a9bd47b6e0, Indexes for faster NLU logs and training data queries.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade b4a9bd47b6e0 -> 8b528d137850, Add single column id for domain objects such as actions, slots, etc.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 8b528d137850 -> 45546b047abe, Add index to `timestamp` column in `conversation_event` table.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 45546b047abe -> 213f246e1490, Remove duplicated log entries keeping only most recent unique user messages.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 213f246e1490 -> ffddc4250349, Add a column for `triggers` to the domain intents.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade ffddc4250349 -> 35a1c7937594, Add `edited_since_last_training` column to `template` table.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 35a1c7937594 -> 6fce9679db61, Add column to `lookup_table` table which contains the number of elements in a table.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 6fce9679db61 -> 4daabca814ee, Oracle Migrations.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 4daabca814ee -> 1d990f240f4d, Change datatype of the `text` column in the table `template` from `String` to `Text`
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 1d990f240f4d -> 36c070bd6363, Rename too-long table name `conversation_message_correction`.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 36c070bd6363 -> d45a0bf21e89, Add unique ID to EntitySynonyms
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade d45a0bf21e89 -> 3b15f8e56784, Add `original_value` field to training data entities.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 3b15f8e56784 -> a86c9fac00fa, Add `rasa_environment` column to `conversation_event` table.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade a86c9fac00fa -> a813c6c15a4c, Add a column to store the foreign key of a used synonym.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade a813c6c15a4c -> cffc160af576, Add data column to User
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade cffc160af576 -> 945ef2034d57, Add `git_repository` table.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 945ef2034d57 -> 99e6a52a2eb7, Drop 'attributes' column in 'rasa_x_user' table.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 99e6a52a2eb7 -> d9d7b3d9cadd, Add `session_expiration_time` and `carry_over_slots_to_new_session` columns to table `domain`.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade d9d7b3d9cadd -> acd80348b093, Add configuration values table.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade acd80348b093 -> 443af39e50e3, This migration is left empty because of issue with 0.25.0 release.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 443af39e50e3 -> 22e9e6ea593c, This migration is left empty because of issue with 0.25.0 release.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 22e9e6ea593c -> 8893bba2a522, Rename column `carry_over_slots_to_new_session` and index `nlu_train_data_ent_orig_val_idx`.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 8893bba2a522 -> d5160f2d00b8, Remove duplicate responses.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade d5160f2d00b8 -> 8a260b1a797a, FIXED Remove is_unflagged field from Conversations
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 8a260b1a797a -> 0b35090e53cf, FIXED Add tables to store conversation tags.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 0b35090e53cf -> 1a712f7b70e9, Delete duplicate events and add unique constraint to `conversation_event` table.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 1a712f7b70e9 -> 6738be716c3f, Add slot name and value to ConversationEvent
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 6738be716c3f -> 304e0754a200, Add columns for the updated Integrated Version Control features.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 304e0754a200 -> b49ca6b367e3, Add index for flagged conversation events
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade b49ca6b367e3 -> 37b34bf8df43, Add columns and indices for NLU/Core confidences
rasa-x_1 | /usr/local/lib/python3.7/site-packages/sqlalchemy/dialects/postgresql/base.py:3472: SAWarning: Predicate of partial index conversation_event_flag_index ignored during reflection
rasa-x_1 | % idx_name
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 37b34bf8df43 -> 68a8a531a5ee, Add `in_training_data` column to `conversation_session` table.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 68a8a531a5ee -> 66bada3d94ae, Add new `tests.*` permission for admins
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 304e0754a200 -> 3fbc8790762e, This migration is left empty because of issues with the 0.26.2 release.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 3fbc8790762e -> ef93223786ba, Remove slot value index completely
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade ef93223786ba, 66bada3d94ae -> 73f46e0b7789, Merge migrations from 0.26.x
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 73f46e0b7789 -> b092b0fe590d, Remove duplicate responses.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade b092b0fe590d -> 36fa577b374d, Rename table name `template` and column `template`.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 36fa577b374d -> 425bd8f628db, Add missing permissions for `tester` and `annotator` roles.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 425bd8f628db -> 7b2497cd88dc, Add `username` field to `conversation` table.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 7b2497cd88dc -> ac3fba1c2b86, Add index for `created_by` foreign key.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 8893bba2a522 -> b67a67032c7f, This migration comes from RBAC backport for `0.24.x`.
rasa-x_1 | It is empty because all the permissions that are required for
rasa-x_1 | role-based access control fixes were already added before.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade ac3fba1c2b86, b67a67032c7f -> 9e7a97234e85, Merge the migrations from the 0.24.x patch release with
rasa-x_1 | Rasa X databases which didn't run this backported migration.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 9e7a97234e85 -> 8a8562256a8e, Add `hash` column and an index for it to `response` table.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade ac3fba1c2b86 -> af3596f6982f, Add the column `in_training_data` to the table `message_log`.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade af3596f6982f, 8a8562256a8e -> eb2b98905e7e, Merge heads af3596f6982f and 8a8562256a8e.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade eb2b98905e7e -> 479084222950, Add `model` column to table `message_log`.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 479084222950 -> 90b60aff4920, Add a 'review_status' column to the 'conversation' table.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 90b60aff4920 -> 473b15141809, Add `conversations.view.metadata.get` permission to `annotator` role.
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 473b15141809 -> 9fde59db88e6, Add conversation_id column to message_log
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 9fde59db88e6 -> 66d1adeeec82, Add username column to GitRepository
rasa-x_1 | INFO:alembic.runtime.migration:Running upgrade 66d1adeeec82 -> 3d91317b7460, Add explicit domain.* permissions for the admin role
rasa-x_1 | INFO:rasax.community.services.event_service:Starting event service (standalone: False).
rasa-x_1 | Starting Rasa X server... 🚀
rasa-x_1 | /usr/local/lib/python3.7/site-packages/rasax/community/services/test_service.py:43: UserWarning: Unable to get tests from tests/conversation_tests.md:
rasa-x_1 | File 'tests/conversation_tests.md' does not exist. Please, make sure you have end-to-end tests added to your assistant. See https://rasa.com/docs/rasa-x/user-guide/test-assistant for more information.
rasa-x_1 | UserWarning,
rasa-x_1 | INFO:rasax.community.services.event_consumers.pika_consumer:Start consuming queue 'rasa_production_events' on pika host 'rabbit'.
rasa-x_1 | INFO:rasax.community.services.integrated_version_control.git_service:Cloning git repository from URL 'git@github.com:MartinJaskulla/portfolio-rasa.git'.
rasa-x_1 | ERROR:rasax.community.api.blueprints.models:500, message='Internal Server Error', url=URL('http://rasa-worker:5005/model/train?token=yEdhpanG4WJfeko')
rasa-x_1 | Encountered an exception while training. Please check the logs of the rasa worker container for more information.
rasa-x_1 | ERROR:rasax.community.api.blueprints.models:500, message='Internal Server Error', url=URL('http://rasa-worker:5005/model/train?token=yEdhpanG4WJfeko')
rasa-x_1 | Encountered an exception while training. Please check the logs of the rasa worker container for more information.
rasa-x_1 | ERROR:rasax.community.api.blueprints.models:500, message='Internal Server Error', url=URL('http://rasa-worker:5005/model/train?token=yEdhpanG4WJfeko')
rasa-x_1 | Encountered an exception while training. Please check the logs of the rasa worker container for more information.
rasa-x_1 | ERROR:rasax.community.api.blueprints.models:500, message='Internal Server Error', url=URL('http://rasa-worker:5005/model/train?token=yEdhpanG4WJfeko')
rasa-x_1 | Encountered an exception while training. Please check the logs of the rasa worker container for more information.
rasa-x_1 | ERROR:pika.adapters.blocking_connection:Unexpected connection close detected: ConnectionClosedByBroker: (320) "CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'"
rasa-x_1 | ERROR:rasax.community.services.event_service:Caught an exception while consuming events. Will retry in 5 s.
rasa-x_1 | Traceback (most recent call last):
rasa-x_1 | File "/usr/local/lib/python3.7/site-packages/rasax/community/services/event_service.py", line 1667, in continuously_consume
rasa-x_1 | consumer.consume()
rasa-x_1 | File "/usr/local/lib/python3.7/site-packages/rasax/community/services/event_consumers/pika_consumer.py", line 180, in consume
rasa-x_1 | self.channel.start_consuming()
rasa-x_1 | File "/usr/local/lib/python3.7/site-packages/pika/adapters/blocking_connection.py", line 1866, in start_consuming
rasa-x_1 | self._process_data_events(time_limit=None)
rasa-x_1 | File "/usr/local/lib/python3.7/site-packages/pika/adapters/blocking_connection.py", line 2027, in _process_data_events
rasa-x_1 | self.connection.process_data_events(time_limit=time_limit)
rasa-x_1 | File "/usr/local/lib/python3.7/site-packages/pika/adapters/blocking_connection.py", line 825, in process_data_events
rasa-x_1 | self._flush_output(common_terminator)
rasa-x_1 | File "/usr/local/lib/python3.7/site-packages/pika/adapters/blocking_connection.py", line 522, in _flush_output
rasa-x_1 | raise self._closed_result.value.error
rasa-x_1 | pika.exceptions.ConnectionClosedByBroker: (320, "CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'")
rasa-x_1 | INFO:alembic.runtime.migration:Context impl PostgresqlImpl.
rasa-x_1 | INFO:alembic.runtime.migration:Will assume transactional DDL.
rasa-x_1 | INFO:rasax.community.services.event_service:Starting event service (standalone: False).
rasa-x_1 | /usr/local/lib/python3.7/site-packages/rasax/community/services/test_service.py:43: UserWarning: Unable to get tests from tests/conversation_tests.md:
rasa-x_1 | File 'tests/conversation_tests.md' does not exist. Please, make sure you have end-to-end tests added to your assistant. See https://rasa.com/docs/rasa-x/user-guide/test-assistant for more information.
rasa-x_1 | UserWarning,
rasa-x_1 | Starting Rasa X server... 🚀
rasa-x_1 | INFO:rasax.community.services.event_consumers.pika_consumer:Start consuming queue 'rasa_production_events' on pika host 'rabbit'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment