Created
May 19, 2018 05:06
-
-
Save mazz/823f0f7e23c8fbaaa5919609cba46300 to your computer and use it in GitHub Desktop.
websauna-docker start
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| maz in websauna-docker at localhost on master on 🐳 v17.12.0-ce | |
| ➜ docker-compose up | |
| Starting db ... done | |
| Starting redis ... done | |
| Starting app ... done | |
| Attaching to redis, db, app | |
| redis | 1:C 19 May 05:04:58.343 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo | |
| redis | 1:C 19 May 05:04:58.343 # Redis version=4.0.9, bits=64, commit=00000000, modified=0, pid=1, just started | |
| redis | 1:C 19 May 05:04:58.343 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf | |
| redis | 1:M 19 May 05:04:58.346 * Running mode=standalone, port=6379. | |
| redis | 1:M 19 May 05:04:58.349 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. | |
| redis | 1:M 19 May 05:04:58.349 # Server initialized | |
| redis | 1:M 19 May 05:04:58.349 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. | |
| redis | 1:M 19 May 05:04:58.349 * DB loaded from disk: 0.000 seconds | |
| redis | 1:M 19 May 05:04:58.349 * Ready to accept connections | |
| db | 2018-05-19 05:04:58.518 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 | |
| db | 2018-05-19 05:04:58.518 UTC [1] LOG: listening on IPv6 address "::", port 5432 | |
| db | 2018-05-19 05:04:58.526 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" | |
| db | 2018-05-19 05:04:58.573 UTC [17] LOG: database system was shut down at 2018-05-19 05:04:47 UTC | |
| db | 2018-05-19 05:04:58.587 UTC [1] LOG: database system is ready to accept connections | |
| app | /usr/local/lib/python3.5/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>. | |
| app | """) | |
| app | Traceback (most recent call last): | |
| app | File "/usr/local/bin/ws-alembic", line 11, in <module> | |
| app | sys.exit(main()) | |
| app | File "/usr/local/lib/python3.5/site-packages/websauna/system/devop/scripts/alembic.py", line 23, in main | |
| app | load_entry_point('alembic', 'console_scripts', 'alembic')() | |
| app | File "/usr/local/lib/python3.5/site-packages/alembic/config.py", line 486, in main | |
| app | CommandLine(prog=prog).main(argv=argv) | |
| app | File "/usr/local/lib/python3.5/site-packages/alembic/config.py", line 480, in main | |
| app | self.run_cmd(cfg, options) | |
| app | File "/usr/local/lib/python3.5/site-packages/alembic/config.py", line 463, in run_cmd | |
| app | **dict((k, getattr(options, k, None)) for k in kwarg) | |
| app | File "/usr/local/lib/python3.5/site-packages/alembic/command.py", line 132, in revision | |
| app | script_directory = ScriptDirectory.from_config(config) | |
| app | File "/usr/local/lib/python3.5/site-packages/alembic/script/base.py", line 113, in from_config | |
| app | script_location = config.get_main_option('script_location') | |
| app | File "/usr/local/lib/python3.5/site-packages/alembic/config.py", line 268, in get_main_option | |
| app | return self.get_section_option(self.config_ini_section, name, default) | |
| app | File "/usr/local/lib/python3.5/site-packages/alembic/config.py", line 251, in get_section_option | |
| app | if not self.file_config.has_section(section): | |
| app | File "/usr/local/lib/python3.5/site-packages/alembic/util/langhelpers.py", line 239, in __get__ | |
| app | obj.__dict__[self.__name__] = result = self.fget(obj) | |
| app | File "/usr/local/lib/python3.5/site-packages/alembic/config.py", line 182, in file_config | |
| app | file_config.read([self.config_file_name]) | |
| app | File "/usr/local/lib/python3.5/configparser.py", line 696, in read | |
| app | self._read(fp, filename) | |
| app | File "/usr/local/lib/python3.5/site-packages/websauna/utils/config/includer.py", line 56, in _read | |
| app | self.process_includes(fpname) | |
| app | File "/usr/local/lib/python3.5/site-packages/websauna/utils/config/includer.py", line 125, in process_includes | |
| app | self.read_include(include, fpname) | |
| app | File "/usr/local/lib/python3.5/site-packages/websauna/utils/config/includer.py", line 95, in read_include | |
| app | fp = self.resolve(include_file, fpname) | |
| app | File "/usr/local/lib/python3.5/site-packages/websauna/utils/config/includer.py", line 81, in resolve | |
| app | if not _resource_manager.resource_exists(req, path): | |
| app | File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1126, in resource_exists | |
| app | return get_provider(package_or_requirement).has_resource(resource_name) | |
| app | File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 344, in get_provider | |
| app | return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0] | |
| app | File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 892, in require | |
| app | needed = self.resolve(parse_requirements(requirements)) | |
| app | File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 778, in resolve | |
| app | raise DistributionNotFound(req, requirers) | |
| app | pkg_resources.DistributionNotFound: The 'application' distribution was not found and is required by the application | |
| app exited with code 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment