· 7 years ago · Jan 25, 2019, 03:32 PM
1Creating d_redis_1 ... done
2Creating d_mq_1 ... done
3Creating d_pg_1 ... done
4Creating d_cel_1 ... done
5Creating test.vpn ... done
6Creating d_dj_1 ... done
7Creating d_beat_1 ... done
8Creating d_ppn_ext_1 ... done
9Creating d_cam_1 ... done
10Attaching to d_redis_1, d_mq_1, d_pg_1, test.vpn, d_cel_1, d_dj_1, d_cam_1, d_ppn_ext_1, d_beat_1
11redis_1 | 1:C 25 Jan 2019 15:25:35.860 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
12redis_1 | 1:C 25 Jan 2019 15:25:35.860 # Redis version=5.0.3, bits=64, commit=00000000, modified=0, pid=1, just started
13redis_1 | 1:C 25 Jan 2019 15:25:35.860 # Configuration loaded
14redis_1 | _._
15redis_1 | _.-``__ ''-._
16redis_1 | _.-`` `. `_. ''-._ Redis 5.0.3 (00000000/0) 64 bit
17redis_1 | .-`` .-```. ```\/ _.,_ ''-._
18redis_1 | ( ' , .-` | `, ) Running in standalone mode
19redis_1 | |`-._`-...-` __...-.``-._|'` _.-'| Port: 6379
20redis_1 | | `-._ `._ / _.-' | PID: 1
21redis_1 | `-._ `-._ `-./ _.-' _.-'
22redis_1 | |`-._`-._ `-.__.-' _.-'_.-'|
23redis_1 | | `-._`-._ _.-'_.-' | http://redis.io
24redis_1 | `-._ `-._`-.__.-'_.-' _.-'
25redis_1 | |`-._`-._ `-.__.-' _.-'_.-'|
26redis_1 | | `-._`-._ _.-'_.-' |
27redis_1 | `-._ `-._`-.__.-'_.-' _.-'
28redis_1 | `-._ `-.__.-' _.-'
29redis_1 | `-._ _.-'
30redis_1 | `-.__.-'
31redis_1 |
32redis_1 | 1:M 25 Jan 2019 15:25:35.863 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
33redis_1 | 1:M 25 Jan 2019 15:25:35.863 # Server initialized
34redis_1 | 1:M 25 Jan 2019 15:25:35.863 # 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.
35redis_1 | 1:M 25 Jan 2019 15:25:35.863 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
36redis_1 | 1:M 25 Jan 2019 15:25:35.863 * Ready to accept connections
37pg_1 | + _uid=3000
38pg_1 | + _gid=3000
39pg_1 | + '[' -n 3000 ']'
40pg_1 | + '[' -n 3000 ']'
41pg_1 | + usermod -u 3000 postgres
42pg_1 | usermod: no changes
43pg_1 | + groupmod -g 3000 postgres
44pg_1 | + chown -R -h 3000:3000 /var/lib/postgresql/data
45pg_1 | + chgrp -R -h 3000 /var/log/postgresql
46pg_1 | + echo 'postgres UID/GID set'
47pg_1 | postgres UID/GID set
48pg_1 | + '[' -z postgres ']'
49pg_1 | + '[' p = - ']'
50pg_1 | + exec /docker-entrypoint.sh postgres -c config_file=/etc/postgresql.conf
51pg_1 | The files belonging to this database system will be owned by user "postgres".
52pg_1 | This user must also own the server process.
53pg_1 |
54pg_1 | The database cluster will be initialized with locale "en_US.utf8".
55pg_1 | The default database encoding has accordingly been set to "UTF8".
56pg_1 | The default text search configuration will be set to "english".
57pg_1 |
58pg_1 | Data page checksums are disabled.
59pg_1 |
60pg_1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
61pg_1 | creating subdirectories ... ok
62pg_1 | selecting default max_connections ... 100
63pg_1 | selecting default shared_buffers ... 128MB
64pg_1 | selecting dynamic shared memory implementation ... posix
65pg_1 | creating configuration files ... ok
66pg_1 | running bootstrap script ... ok
67test.vpn | Backing up /etc/openvpn/ovpn_env.sh -> /etc/openvpn/ovpn_env.sh.1548429939.bak
68test.vpn | Disable default push of 'block-outside-dns'
69test.vpn | Processing PUSH Config: 'dhcp-option DNS 172.66.0.1'
70test.vpn | Processing PUSH Config: 'comp-lzo no'
71test.vpn | Processing PUSH Config: 'route 172.16.0.0 255.240.0.0'
72test.vpn | Files /etc/openvpn/ovpn_env.sh.1548429939.bak and /etc/openvpn/ovpn_env.sh differ
73test.vpn | Successfully generated config
74test.vpn | Cleaning up before Exit ...
75test.vpn | iptables: No chain/target/match by that name.
76test.vpn | Enabling IPv6 Forwarding
77test.vpn | sysctl: error setting key 'net.ipv6.conf.all.disable_ipv6': Read-only file system
78test.vpn | Failed to enable IPv6 support
79test.vpn | Failed to enable IPv6 Forwarding default
80test.vpn | Failed to enable IPv6 Forwarding
81test.vpn | Running 'openvpn --config /etc/openvpn/openvpn.conf --client-config-dir /etc/openvpn/ccd '
82test.vpn | sysctl: error setting key 'net.ipv6.conf.default.forwarding': Read-only file system
83test.vpn | sysctl: error setting key 'net.ipv6.conf.all.forwarding': Read-only file system
84test.vpn | Options error: --dh fails with '/etc/openvpn/pki/dh.pem': No such file or directory (errno=2)
85test.vpn | Options error: --ca fails with '/etc/openvpn/pki/ca.crt': No such file or directory (errno=2)
86test.vpn | Options error: --cert fails with '/etc/openvpn/pki/issued/test.askjack.ru.crt': No such file or directory (errno=2)
87test.vpn | Fri Jan 25 15:25:39 2019 WARNING: cannot stat file '/etc/openvpn/pki/private/test.askjack.ru.key': No such file or directory (errno=2)
88test.vpn | Options error: --key fails with '/etc/openvpn/pki/private/test.askjack.ru.key': No such file or directory (errno=2)
89test.vpn | Fri Jan 25 15:25:39 2019 WARNING: cannot stat file '/etc/openvpn/pki/ta.key': No such file or directory (errno=2)
90test.vpn | Options error: --tls-auth fails with '/etc/openvpn/pki/ta.key': No such file or directory (errno=2)
91test.vpn | Options error: Please correct these errors.
92test.vpn | Use --help for more information.
93cel_1 | rm: cannot remove ‘/app/*.pid’: No such file or directory
94cel_1 | wait-for-it.sh: waiting 15 seconds for pg:5432
95cam_1 | rm: cannot remove ‘/app/*.pid’: No such file or directory
96cam_1 | wait-for-it.sh: waiting 15 seconds for pg:5432
97beat_1 | rm: cannot remove ‘/app/*.pid’: No such file or directory
98beat_1 | wait-for-it.sh: waiting 15 seconds for pg:5432
99pg_1 | performing post-bootstrap initialization ... ok
100pg_1 | syncing data to disk ... ok
101pg_1 |
102pg_1 | WARNING: enabling "trust" authentication for local connections
103pg_1 | You can change this by editing pg_hba.conf or using the option -A, or
104pg_1 | --auth-local and --auth-host, the next time you run initdb.
105pg_1 |
106pg_1 | Success. You can now start the database server using:
107pg_1 |
108pg_1 | pg_ctl -D /var/lib/postgresql/data -l logfile start
109pg_1 |
110pg_1 | waiting for server to start....2019-01-25 15:25:44.590 UTC [47] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
111dj_1 | Traceback (most recent call last):
112dj_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/__init__.py", line 133, in ensure_connection
113dj_1 | self.connect()
114dj_1 | File "/usr/local/lib/python3.4/site-packages/transaction_hooks/mixin.py", line 75, in connect
115dj_1 | super(TransactionHooksDatabaseWrapperMixin, self).connect(*a, **kw)
116dj_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/__init__.py", line 122, in connect
117dj_1 | self.connection = self.get_new_connection(conn_params)
118dj_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 130, in get_new_connection
119dj_1 | connection = Database.connect(**conn_params)
120dj_1 | File "/usr/local/lib/python3.4/site-packages/psycopg2/__init__.py", line 164, in connect
121dj_1 | conn = _connect(dsn, connection_factory=connection_factory, async=async)
122dj_1 | psycopg2.OperationalError: could not connect to server: Connection refused
123dj_1 | Is the server running on host "pg" (172.18.0.4) and accepting
124dj_1 | TCP/IP connections on port 5432?
125dj_1 |
126dj_1 |
127dj_1 | The above exception was the direct cause of the following exception:
128dj_1 |
129dj_1 | Traceback (most recent call last):
130dj_1 | File "/app/manage.py", line 9, in <module>
131dj_1 | execute_from_command_line(sys.argv)
132dj_1 | File "/usr/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
133dj_1 | utility.execute()
134dj_1 | File "/usr/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 354, in execute
135dj_1 | django.setup()
136dj_1 | File "/usr/local/lib/python3.4/site-packages/django/__init__.py", line 21, in setup
137dj_1 | apps.populate(settings.INSTALLED_APPS)
138dj_1 | File "/usr/local/lib/python3.4/site-packages/django/apps/registry.py", line 85, in populate
139dj_1 | app_config = AppConfig.create(entry)
140dj_1 | File "/usr/local/lib/python3.4/site-packages/django/apps/config.py", line 87, in create
141dj_1 | module = import_module(entry)
142dj_1 | File "/usr/local/lib/python3.4/importlib/__init__.py", line 109, in import_module
143dj_1 | return _bootstrap._gcd_import(name[level:], package, level)
144dj_1 | File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
145dj_1 | File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
146pg_1 | 2019-01-25 15:25:44.652 UTC [48] LOG: database system was shut down at 2019-01-25 15:25:44 UTC
147dj_1 | File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
148dj_1 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
149dj_1 | File "<frozen importlib._bootstrap>", line 1129, in _exec
150dj_1 | File "<frozen importlib._bootstrap>", line 1471, in exec_module
151dj_1 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
152dj_1 | File "/app/main/__init__.py", line 1, in <module>
153dj_1 | from .monkeypatch import *
154dj_1 | File "/app/main/monkeypatch/__init__.py", line 1, in <module>
155dj_1 | from .guardian_monkeypatch import *
156dj_1 | File "/app/main/monkeypatch/guardian_monkeypatch.py", line 6, in <module>
157dj_1 | from guardian.admin import GuardedModelAdminMixin
158dj_1 | File "/usr/local/lib/python3.4/site-packages/guardian/admin.py", line 11, in <module>
159dj_1 | from guardian.compat import get_model_name, get_user_model, OrderedDict, url
160dj_1 | File "/usr/local/lib/python3.4/site-packages/guardian/compat.py", line 8, in <module>
161dj_1 | from django.contrib.auth.models import AnonymousUser, Group, Permission
162dj_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/auth/models.py", line 40, in <module>
163dj_1 | class Permission(models.Model):
164dj_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/base.py", line 122, in __new__
165dj_1 | new_class.add_to_class('_meta', Options(meta, **kwargs))
166dj_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/base.py", line 297, in add_to_class
167dj_1 | value.contribute_to_class(cls, name)
168dj_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/options.py", line 166, in contribute_to_class
169dj_1 | self.db_table = truncate_name(self.db_table, connection.ops.max_name_length())
170dj_1 | File "/usr/local/lib/python3.4/site-packages/django/db/__init__.py", line 40, in __getattr__
171dj_1 | return getattr(connections[DEFAULT_DB_ALIAS], item)
172dj_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 243, in __getitem__
173dj_1 | conn = backend.DatabaseWrapper(db, alias)
174dj_1 | File "/usr/local/lib/python3.4/site-packages/transaction_hooks/mixin.py", line 23, in __init__
175dj_1 | super(TransactionHooksDatabaseWrapperMixin, self).__init__(*a, **kw)
176dj_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/base.py", line 14, in __init__
177dj_1 | self.ops = PostGISOperations(self)
178dj_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 166, in __init__
179dj_1 | if self.spatial_version < (1, 3, 4):
180dj_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/functional.py", line 55, in __get__
181dj_1 | res = instance.__dict__[self.func.__name__] = self.func(instance)
182dj_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 260, in spatial_version
183dj_1 | vtup = self.postgis_version_tuple()
184dj_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 434, in postgis_version_tuple
185dj_1 | version = self.postgis_lib_version()
186dj_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 414, in postgis_lib_version
187dj_1 | return self._get_postgis_func('postgis_lib_version')
188dj_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 404, in _get_postgis_func
189dj_1 | with self.connection.temporary_connection() as cursor:
190pg_1 | 2019-01-25 15:25:44.688 UTC [47] LOG: database system is ready to accept connections
191dj_1 | File "/usr/local/lib/python3.4/contextlib.py", line 59, in __enter__
192dj_1 | return next(self.gen)
193dj_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/__init__.py", line 543, in temporary_connection
194dj_1 | cursor = self.cursor()
195dj_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/__init__.py", line 167, in cursor
196dj_1 | cursor = utils.CursorWrapper(self._cursor(), self)
197dj_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/__init__.py", line 138, in _cursor
198dj_1 | self.ensure_connection()
199dj_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/__init__.py", line 133, in ensure_connection
200dj_1 | self.connect()
201dj_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 94, in __exit__
202dj_1 | six.reraise(dj_exc_type, dj_exc_value, traceback)
203dj_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/six.py", line 658, in reraise
204dj_1 | raise value.with_traceback(tb)
205dj_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/__init__.py", line 133, in ensure_connection
206dj_1 | self.connect()
207dj_1 | File "/usr/local/lib/python3.4/site-packages/transaction_hooks/mixin.py", line 75, in connect
208dj_1 | super(TransactionHooksDatabaseWrapperMixin, self).connect(*a, **kw)
209dj_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/__init__.py", line 122, in connect
210dj_1 | self.connection = self.get_new_connection(conn_params)
211dj_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 130, in get_new_connection
212dj_1 | connection = Database.connect(**conn_params)
213dj_1 | File "/usr/local/lib/python3.4/site-packages/psycopg2/__init__.py", line 164, in connect
214dj_1 | conn = _connect(dsn, connection_factory=connection_factory, async=async)
215dj_1 | django.db.utils.OperationalError: could not connect to server: Connection refused
216dj_1 | Is the server running on host "pg" (172.18.0.4) and accepting
217dj_1 | TCP/IP connections on port 5432?
218dj_1 |
219pg_1 | done
220pg_1 | server started
221test.vpn exited with code 1
222pg_1 | CREATE DATABASE
223pg_1 |
224pg_1 |
225pg_1 | /docker-entrypoint.sh: sourcing /docker-entrypoint-initdb.d/postgis.sh
226pg_1 |
227pg_1 | 2019-01-25 15:25:45.432 UTC [47] LOG: received fast shutdown request
228pg_1 | waiting for server to shut down....2019-01-25 15:25:45.442 UTC [47] LOG: aborting any active transactions
229dj_1 | wait-for-it.sh: waiting 15 seconds for pg:5432
230pg_1 | 2019-01-25 15:25:45.476 UTC [47] LOG: worker process: logical replication launcher (PID 54) exited with exit code 1
231pg_1 | 2019-01-25 15:25:45.482 UTC [49] LOG: shutting down
232pg_1 | 2019-01-25 15:25:45.514 UTC [47] LOG: database system is shut down
233pg_1 | done
234pg_1 | server stopped
235pg_1 |
236pg_1 | PostgreSQL init process complete; ready for start up.
237pg_1 |
238pg_1 | 2019-01-25 15:25:45.587 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
239pg_1 | 2019-01-25 15:25:45.587 GMT [1] LOG: listening on IPv6 address "::", port 5432
240pg_1 | 2019-01-25 15:25:45.591 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
241pg_1 | 2019-01-25 15:25:45.615 GMT [65] LOG: database system was shut down at 2019-01-25 15:25:45 GMT
242pg_1 | 2019-01-25 15:25:45.621 GMT [1] LOG: database system is ready to accept connections
243beat_1 | wait-for-it.sh: pg:5432 is available after 3 seconds
244pg_1 | 2019-01-25 15:25:45.816 GMT [72] LOG: incomplete startup packet
245beat_1 | wait-for-it.sh: waiting 15 seconds for mq:5672
246pg_1 | 2019-01-25 15:25:46.288 GMT [73] ERROR: function postgis_lib_version() does not exist at character 8
247pg_1 | 2019-01-25 15:25:46.288 GMT [73] HINT: No function matches the given name and argument types. You might need to add explicit type casts.
248pg_1 | 2019-01-25 15:25:46.288 GMT [73] STATEMENT: SELECT postgis_lib_version()
249ppn_ext_1 | Traceback (most recent call last):
250ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
251ppn_ext_1 | return self.cursor.execute(sql)
252ppn_ext_1 | psycopg2.ProgrammingError: function postgis_lib_version() does not exist
253ppn_ext_1 | LINE 1: SELECT postgis_lib_version()
254ppn_ext_1 | ^
255ppn_ext_1 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
256ppn_ext_1 |
257ppn_ext_1 |
258ppn_ext_1 | The above exception was the direct cause of the following exception:
259ppn_ext_1 |
260ppn_ext_1 | Traceback (most recent call last):
261ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 260, in spatial_version
262ppn_ext_1 | vtup = self.postgis_version_tuple()
263ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 434, in postgis_version_tuple
264ppn_ext_1 | version = self.postgis_lib_version()
265ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 414, in postgis_lib_version
266ppn_ext_1 | return self._get_postgis_func('postgis_lib_version')
267ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 405, in _get_postgis_func
268ppn_ext_1 | cursor.execute('SELECT %s()' % func)
269ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
270ppn_ext_1 | return self.cursor.execute(sql, params)
271ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 94, in __exit__
272ppn_ext_1 | six.reraise(dj_exc_type, dj_exc_value, traceback)
273ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/six.py", line 658, in reraise
274ppn_ext_1 | raise value.with_traceback(tb)
275ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
276ppn_ext_1 | return self.cursor.execute(sql)
277ppn_ext_1 | django.db.utils.ProgrammingError: function postgis_lib_version() does not exist
278ppn_ext_1 | LINE 1: SELECT postgis_lib_version()
279ppn_ext_1 | ^
280ppn_ext_1 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
281ppn_ext_1 |
282ppn_ext_1 |
283ppn_ext_1 | During handling of the above exception, another exception occurred:
284ppn_ext_1 |
285ppn_ext_1 | Traceback (most recent call last):
286ppn_ext_1 | File "/app/manage_ppn_ext.py", line 9, in <module>
287ppn_ext_1 | execute_from_command_line(sys.argv)
288ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
289ppn_ext_1 | utility.execute()
290ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 354, in execute
291ppn_ext_1 | django.setup()
292ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/__init__.py", line 21, in setup
293cel_1 | wait-for-it.sh: pg:5432 is available after 9 seconds
294ppn_ext_1 | apps.populate(settings.INSTALLED_APPS)
295ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/apps/registry.py", line 85, in populate
296ppn_ext_1 | app_config = AppConfig.create(entry)
297ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/apps/config.py", line 87, in create
298ppn_ext_1 | module = import_module(entry)
299ppn_ext_1 | File "/usr/local/lib/python3.4/importlib/__init__.py", line 109, in import_module
300pg_1 | 2019-01-25 15:25:46.314 GMT [74] LOG: incomplete startup packet
301ppn_ext_1 | return _bootstrap._gcd_import(name[level:], package, level)
302ppn_ext_1 | File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
303ppn_ext_1 | File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
304ppn_ext_1 | File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
305ppn_ext_1 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
306ppn_ext_1 | File "<frozen importlib._bootstrap>", line 1129, in _exec
307ppn_ext_1 | File "<frozen importlib._bootstrap>", line 1471, in exec_module
308ppn_ext_1 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
309ppn_ext_1 | File "/app/main/__init__.py", line 1, in <module>
310ppn_ext_1 | from .monkeypatch import *
311ppn_ext_1 | File "/app/main/monkeypatch/__init__.py", line 1, in <module>
312ppn_ext_1 | from .guardian_monkeypatch import *
313ppn_ext_1 | File "/app/main/monkeypatch/guardian_monkeypatch.py", line 6, in <module>
314ppn_ext_1 | from guardian.admin import GuardedModelAdminMixin
315ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/guardian/admin.py", line 11, in <module>
316ppn_ext_1 | from guardian.compat import get_model_name, get_user_model, OrderedDict, url
317ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/guardian/compat.py", line 8, in <module>
318ppn_ext_1 | from django.contrib.auth.models import AnonymousUser, Group, Permission
319ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/auth/models.py", line 40, in <module>
320ppn_ext_1 | class Permission(models.Model):
321ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/base.py", line 122, in __new__
322ppn_ext_1 | new_class.add_to_class('_meta', Options(meta, **kwargs))
323ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/base.py", line 297, in add_to_class
324ppn_ext_1 | value.contribute_to_class(cls, name)
325ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/options.py", line 166, in contribute_to_class
326ppn_ext_1 | self.db_table = truncate_name(self.db_table, connection.ops.max_name_length())
327ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/db/__init__.py", line 40, in __getattr__
328ppn_ext_1 | return getattr(connections[DEFAULT_DB_ALIAS], item)
329ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 243, in __getitem__
330ppn_ext_1 | conn = backend.DatabaseWrapper(db, alias)
331ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/transaction_hooks/mixin.py", line 23, in __init__
332ppn_ext_1 | super(TransactionHooksDatabaseWrapperMixin, self).__init__(*a, **kw)
333ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/base.py", line 14, in __init__
334ppn_ext_1 | self.ops = PostGISOperations(self)
335ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 166, in __init__
336ppn_ext_1 | if self.spatial_version < (1, 3, 4):
337ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/functional.py", line 55, in __get__
338ppn_ext_1 | res = instance.__dict__[self.func.__name__] = self.func(instance)
339ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 266, in spatial_version
340ppn_ext_1 | 'template?' % self.connection.settings_dict['NAME']
341ppn_ext_1 | django.core.exceptions.ImproperlyConfigured: Cannot determine PostGIS version for database "test_askjack". GeoDjango requires at least PostGIS version 1.3. Was the database created from a spatial database template?
342cel_1 | wait-for-it.sh: waiting 15 seconds for mq:5672
343pg_1 | 2019-01-25 15:25:46.479 GMT [75] LOG: incomplete startup packet
344cam_1 | wait-for-it.sh: pg:5432 is available after 5 seconds
345dj_1 | wait-for-it.sh: pg:5432 is available after 1 seconds
346pg_1 | 2019-01-25 15:25:46.486 GMT [76] LOG: incomplete startup packet
347dj_1 | wait-for-it.sh: waiting 15 seconds for mq:5672
348cam_1 | wait-for-it.sh: waiting 15 seconds for mq:5672
349ppn_ext_1 | wait-for-it.sh: waiting 15 seconds for pg:5432
350pg_1 | 2019-01-25 15:25:46.620 GMT [77] LOG: incomplete startup packet
351ppn_ext_1 | wait-for-it.sh: pg:5432 is available after 0 seconds
352ppn_ext_1 | wait-for-it.sh: waiting 15 seconds for mq:5672
353test.vpn | Backing up /etc/openvpn/ovpn_env.sh -> /etc/openvpn/ovpn_env.sh.1548429947.bak
354test.vpn | Backing up /etc/openvpn/openvpn.conf -> /etc/openvpn/openvpn.conf.1548429947.bak
355test.vpn | Disable default push of 'block-outside-dns'
356test.vpn | Processing PUSH Config: 'dhcp-option DNS 172.66.0.1'
357test.vpn | Processing PUSH Config: 'comp-lzo no'
358test.vpn | Processing PUSH Config: 'route 172.16.0.0 255.240.0.0'
359test.vpn | Files /etc/openvpn/ovpn_env.sh.1548429947.bak and /etc/openvpn/ovpn_env.sh differ
360test.vpn | Removing duplicate back-up: /etc/openvpn/openvpn.conf.1548429947.bak
361test.vpn | removed '/etc/openvpn/openvpn.conf.1548429947.bak'
362test.vpn | Successfully generated config
363test.vpn | Cleaning up before Exit ...
364test.vpn | iptables: No chain/target/match by that name.
365test.vpn | Enabling IPv6 Forwarding
366test.vpn | sysctl: error setting key 'net.ipv6.conf.all.disable_ipv6': Read-only file system
367test.vpn | Failed to enable IPv6 support
368test.vpn | sysctl: error setting key 'net.ipv6.conf.default.forwarding': Read-only file system
369test.vpn | Failed to enable IPv6 Forwarding default
370test.vpn | sysctl: error setting key 'net.ipv6.conf.all.forwarding': Read-only file system
371test.vpn | Failed to enable IPv6 Forwarding
372test.vpn | Running 'openvpn --config /etc/openvpn/openvpn.conf --client-config-dir /etc/openvpn/ccd '
373test.vpn | Options error: --dh fails with '/etc/openvpn/pki/dh.pem': No such file or directory (errno=2)
374test.vpn | Options error: --ca fails with '/etc/openvpn/pki/ca.crt': No such file or directory (errno=2)
375test.vpn | Options error: --cert fails with '/etc/openvpn/pki/issued/test.askjack.ru.crt': No such file or directory (errno=2)
376test.vpn | Fri Jan 25 15:25:47 2019 WARNING: cannot stat file '/etc/openvpn/pki/private/test.askjack.ru.key': No such file or directory (errno=2)
377test.vpn | Options error: --key fails with '/etc/openvpn/pki/private/test.askjack.ru.key': No such file or directory (errno=2)
378test.vpn | Fri Jan 25 15:25:47 2019 WARNING: cannot stat file '/etc/openvpn/pki/ta.key': No such file or directory (errno=2)
379test.vpn | Options error: --tls-auth fails with '/etc/openvpn/pki/ta.key': No such file or directory (errno=2)
380test.vpn | Options error: Please correct these errors.
381test.vpn | Use --help for more information.
382test.vpn | Backing up /etc/openvpn/ovpn_env.sh -> /etc/openvpn/ovpn_env.sh.1548429949.bak
383test.vpn | Backing up /etc/openvpn/openvpn.conf -> /etc/openvpn/openvpn.conf.1548429949.bak
384test.vpn | Disable default push of 'block-outside-dns'
385test.vpn | Processing PUSH Config: 'dhcp-option DNS 172.66.0.1'
386test.vpn | Processing PUSH Config: 'comp-lzo no'
387test.vpn | Processing PUSH Config: 'route 172.16.0.0 255.240.0.0'
388test.vpn | Files /etc/openvpn/ovpn_env.sh.1548429949.bak and /etc/openvpn/ovpn_env.sh differ
389test.vpn | Removing duplicate back-up: /etc/openvpn/openvpn.conf.1548429949.bak
390test.vpn | removed '/etc/openvpn/openvpn.conf.1548429949.bak'
391test.vpn | Successfully generated config
392test.vpn | Cleaning up before Exit ...
393test.vpn | iptables: No chain/target/match by that name.
394test.vpn | Enabling IPv6 Forwarding
395test.vpn | sysctl: error setting key 'net.ipv6.conf.all.disable_ipv6': Read-only file system
396test.vpn | Failed to enable IPv6 support
397test.vpn | sysctl: error setting key 'net.ipv6.conf.default.forwarding': Read-only file system
398test.vpn | Failed to enable IPv6 Forwarding default
399test.vpn | sysctl: error setting key 'net.ipv6.conf.all.forwarding': Read-only file system
400test.vpn | Failed to enable IPv6 Forwarding
401test.vpn | Running 'openvpn --config /etc/openvpn/openvpn.conf --client-config-dir /etc/openvpn/ccd '
402test.vpn | Options error: --dh fails with '/etc/openvpn/pki/dh.pem': No such file or directory (errno=2)
403test.vpn | Options error: --ca fails with '/etc/openvpn/pki/ca.crt': No such file or directory (errno=2)
404test.vpn | Options error: --cert fails with '/etc/openvpn/pki/issued/test.askjack.ru.crt': No such file or directory (errno=2)
405test.vpn | Fri Jan 25 15:25:49 2019 WARNING: cannot stat file '/etc/openvpn/pki/private/test.askjack.ru.key': No such file or directory (errno=2)
406test.vpn | Options error: --key fails with '/etc/openvpn/pki/private/test.askjack.ru.key': No such file or directory (errno=2)
407test.vpn | Fri Jan 25 15:25:49 2019 WARNING: cannot stat file '/etc/openvpn/pki/ta.key': No such file or directory (errno=2)
408test.vpn | Options error: --tls-auth fails with '/etc/openvpn/pki/ta.key': No such file or directory (errno=2)
409test.vpn | Options error: Please correct these errors.
410test.vpn | Use --help for more information.
411test.vpn exited with code 1
412test.vpn | Backing up /etc/openvpn/ovpn_env.sh -> /etc/openvpn/ovpn_env.sh.1548429951.bak
413test.vpn | Backing up /etc/openvpn/openvpn.conf -> /etc/openvpn/openvpn.conf.1548429951.bak
414test.vpn | Disable default push of 'block-outside-dns'
415test.vpn | Processing PUSH Config: 'dhcp-option DNS 172.66.0.1'
416test.vpn | Processing PUSH Config: 'comp-lzo no'
417test.vpn | Processing PUSH Config: 'route 172.16.0.0 255.240.0.0'
418test.vpn | Files /etc/openvpn/ovpn_env.sh.1548429951.bak and /etc/openvpn/ovpn_env.sh differ
419test.vpn | Removing duplicate back-up: /etc/openvpn/openvpn.conf.1548429951.bak
420test.vpn | removed '/etc/openvpn/openvpn.conf.1548429951.bak'
421test.vpn | Successfully generated config
422test.vpn | Cleaning up before Exit ...
423test.vpn | iptables: No chain/target/match by that name.
424test.vpn | Enabling IPv6 Forwarding
425test.vpn | sysctl: error setting key 'net.ipv6.conf.all.disable_ipv6': Read-only file system
426test.vpn | Failed to enable IPv6 support
427test.vpn | sysctl: error setting key 'net.ipv6.conf.default.forwarding': Read-only file system
428test.vpn | Failed to enable IPv6 Forwarding default
429test.vpn | sysctl: error setting key 'net.ipv6.conf.all.forwarding': Read-only file system
430test.vpn | Failed to enable IPv6 Forwarding
431test.vpn | Running 'openvpn --config /etc/openvpn/openvpn.conf --client-config-dir /etc/openvpn/ccd '
432test.vpn | Options error: --dh fails with '/etc/openvpn/pki/dh.pem': No such file or directory (errno=2)
433test.vpn | Options error: --ca fails with '/etc/openvpn/pki/ca.crt': No such file or directory (errno=2)
434test.vpn | Options error: --cert fails with '/etc/openvpn/pki/issued/test.askjack.ru.crt': No such file or directory (errno=2)
435test.vpn | Fri Jan 25 15:25:51 2019 WARNING: cannot stat file '/etc/openvpn/pki/private/test.askjack.ru.key': No such file or directory (errno=2)
436test.vpn | Options error: --key fails with '/etc/openvpn/pki/private/test.askjack.ru.key': No such file or directory (errno=2)
437test.vpn | Fri Jan 25 15:25:51 2019 WARNING: cannot stat file '/etc/openvpn/pki/ta.key': No such file or directory (errno=2)
438test.vpn | Options error: --tls-auth fails with '/etc/openvpn/pki/ta.key': No such file or directory (errno=2)
439test.vpn | Options error: Please correct these errors.
440test.vpn | Use --help for more information.
441test.vpn exited with code 1
442mq_1 | 2019-01-25 15:25:54.237 [info] <0.33.0> Application lager started on node rabbit@test
443mq_1 | 2019-01-25 15:25:54.636 [info] <0.33.0> Application crypto started on node rabbit@test
444mq_1 | 2019-01-25 15:25:54.636 [info] <0.33.0> Application recon started on node rabbit@test
445mq_1 | 2019-01-25 15:25:54.656 [info] <0.33.0> Application os_mon started on node rabbit@test
446mq_1 | 2019-01-25 15:25:54.857 [info] <0.33.0> Application inets started on node rabbit@test
447mq_1 | 2019-01-25 15:25:55.145 [info] <0.33.0> Application mnesia started on node rabbit@test
448mq_1 | 2019-01-25 15:25:55.152 [info] <0.33.0> Application xmerl started on node rabbit@test
449mq_1 | 2019-01-25 15:25:55.152 [info] <0.33.0> Application jsx started on node rabbit@test
450mq_1 | 2019-01-25 15:25:55.153 [info] <0.33.0> Application asn1 started on node rabbit@test
451mq_1 | 2019-01-25 15:25:55.153 [info] <0.33.0> Application public_key started on node rabbit@test
452test.vpn | Backing up /etc/openvpn/ovpn_env.sh -> /etc/openvpn/ovpn_env.sh.1548429955.bak
453test.vpn | Backing up /etc/openvpn/openvpn.conf -> /etc/openvpn/openvpn.conf.1548429955.bak
454test.vpn | Disable default push of 'block-outside-dns'
455test.vpn | Processing PUSH Config: 'dhcp-option DNS 172.66.0.1'
456test.vpn | Processing PUSH Config: 'comp-lzo no'
457test.vpn | Processing PUSH Config: 'route 172.16.0.0 255.240.0.0'
458test.vpn | Files /etc/openvpn/ovpn_env.sh.1548429955.bak and /etc/openvpn/ovpn_env.sh differ
459test.vpn | Removing duplicate back-up: /etc/openvpn/openvpn.conf.1548429955.bak
460test.vpn | removed '/etc/openvpn/openvpn.conf.1548429955.bak'
461test.vpn | Successfully generated config
462test.vpn | Cleaning up before Exit ...
463test.vpn | iptables: No chain/target/match by that name.
464test.vpn | Enabling IPv6 Forwarding
465test.vpn | sysctl: error setting key 'net.ipv6.conf.all.disable_ipv6': Read-only file system
466test.vpn | Failed to enable IPv6 support
467test.vpn | sysctl: error setting key 'net.ipv6.conf.default.forwarding': Read-only file system
468test.vpn | Failed to enable IPv6 Forwarding default
469test.vpn | sysctl: error setting key 'net.ipv6.conf.all.forwarding': Read-only file system
470test.vpn | Failed to enable IPv6 Forwarding
471test.vpn | Running 'openvpn --config /etc/openvpn/openvpn.conf --client-config-dir /etc/openvpn/ccd '
472test.vpn | Options error: --dh fails with '/etc/openvpn/pki/dh.pem': No such file or directory (errno=2)
473test.vpn | Options error: --ca fails with '/etc/openvpn/pki/ca.crt': No such file or directory (errno=2)
474test.vpn | Options error: --cert fails with '/etc/openvpn/pki/issued/test.askjack.ru.crt': No such file or directory (errno=2)
475test.vpn | Fri Jan 25 15:25:55 2019 WARNING: cannot stat file '/etc/openvpn/pki/private/test.askjack.ru.key': No such file or directory (errno=2)
476test.vpn | Options error: --key fails with '/etc/openvpn/pki/private/test.askjack.ru.key': No such file or directory (errno=2)
477test.vpn | Fri Jan 25 15:25:55 2019 WARNING: cannot stat file '/etc/openvpn/pki/ta.key': No such file or directory (errno=2)
478test.vpn | Options error: --tls-auth fails with '/etc/openvpn/pki/ta.key': No such file or directory (errno=2)
479test.vpn | Options error: Please correct these errors.
480test.vpn | Use --help for more information.
481mq_1 | 2019-01-25 15:25:55.348 [info] <0.33.0> Application ssl started on node rabbit@test
482mq_1 | 2019-01-25 15:25:55.364 [info] <0.33.0> Application ranch started on node rabbit@test
483mq_1 | 2019-01-25 15:25:55.365 [info] <0.33.0> Application ranch_proxy_protocol started on node rabbit@test
484mq_1 | 2019-01-25 15:25:55.365 [info] <0.33.0> Application rabbit_common started on node rabbit@test
485mq_1 | 2019-01-25 15:25:55.395 [info] <0.191.0>
486mq_1 | Starting RabbitMQ 3.7.8 on Erlang 20.3.8.5
487mq_1 | Copyright (C) 2007-2018 Pivotal Software, Inc.
488mq_1 | Licensed under the MPL. See http://www.rabbitmq.com/
489mq_1 |
490mq_1 | ## ##
491mq_1 | ## ## RabbitMQ 3.7.8. Copyright (C) 2007-2018 Pivotal Software, Inc.
492mq_1 | ########## Licensed under the MPL. See http://www.rabbitmq.com/
493mq_1 | ###### ##
494mq_1 | ########## Logs: <stdout>
495mq_1 |
496mq_1 | Starting broker...
497mq_1 | 2019-01-25 15:25:55.439 [info] <0.191.0>
498mq_1 | node : rabbit@test
499mq_1 | home dir : /var/lib/rabbitmq
500mq_1 | config file(s) : /etc/rabbitmq/rabbitmq.conf
501mq_1 | cookie hash : LpynYb001e9D06+mAYj+Fg==
502mq_1 | log(s) : <stdout>
503mq_1 | database dir : /var/lib/rabbitmq/mnesia/rabbit@test
504test.vpn exited with code 1
505mq_1 | 2019-01-25 15:25:58.216 [info] <0.199.0> Memory high watermark set to 393 MiB (412688384 bytes) of 983 MiB (1031720960 bytes) total
506mq_1 | 2019-01-25 15:25:58.231 [info] <0.201.0> Enabling free disk space monitoring
507mq_1 | 2019-01-25 15:25:58.231 [info] <0.201.0> Disk free limit set to 50MB
508mq_1 | 2019-01-25 15:25:58.234 [info] <0.204.0> Limiting to approx 1048476 file handles (943626 sockets)
509mq_1 | 2019-01-25 15:25:58.234 [info] <0.205.0> FHC read buffering: OFF
510mq_1 | 2019-01-25 15:25:58.234 [info] <0.205.0> FHC write buffering: ON
511mq_1 | 2019-01-25 15:25:58.236 [info] <0.191.0> Node database directory at /var/lib/rabbitmq/mnesia/rabbit@test is empty. Assuming we need to join an existing cluster or initialise from scratch...
512mq_1 | 2019-01-25 15:25:58.236 [info] <0.191.0> Configured peer discovery backend: rabbit_peer_discovery_classic_config
513mq_1 | 2019-01-25 15:25:58.237 [info] <0.191.0> Will try to lock with peer discovery backend rabbit_peer_discovery_classic_config
514mq_1 | 2019-01-25 15:25:58.237 [info] <0.191.0> Peer discovery backend does not support locking, falling back to randomized delay
515mq_1 | 2019-01-25 15:25:58.237 [info] <0.191.0> Peer discovery backend rabbit_peer_discovery_classic_config does not support registration, skipping randomized startup delay.
516mq_1 | 2019-01-25 15:25:58.238 [info] <0.191.0> All discovered existing cluster peers:
517mq_1 | 2019-01-25 15:25:58.238 [info] <0.191.0> Discovered no peer nodes to cluster with
518mq_1 | 2019-01-25 15:25:58.241 [info] <0.33.0> Application mnesia exited with reason: stopped
519mq_1 | 2019-01-25 15:25:58.257 [info] <0.33.0> Application mnesia started on node rabbit@test
520mq_1 | 2019-01-25 15:25:58.334 [info] <0.191.0> Waiting for Mnesia tables for 30000 ms, 9 retries left
521mq_1 | 2019-01-25 15:25:58.347 [info] <0.191.0> Waiting for Mnesia tables for 30000 ms, 9 retries left
522mq_1 | 2019-01-25 15:25:58.364 [info] <0.191.0> Waiting for Mnesia tables for 30000 ms, 9 retries left
523mq_1 | 2019-01-25 15:25:58.365 [info] <0.191.0> Peer discovery backend rabbit_peer_discovery_classic_config does not support registration, skipping registration.
524mq_1 | 2019-01-25 15:25:58.366 [info] <0.191.0> Priority queues enabled, real BQ is rabbit_variable_queue
525mq_1 | 2019-01-25 15:25:58.369 [info] <0.370.0> Starting rabbit_node_monitor
526mq_1 | 2019-01-25 15:25:58.380 [info] <0.191.0> message_store upgrades: 1 to apply
527mq_1 | 2019-01-25 15:25:58.380 [info] <0.191.0> message_store upgrades: Applying rabbit_variable_queue:move_messages_to_vhost_store
528mq_1 | 2019-01-25 15:25:58.381 [info] <0.191.0> message_store upgrades: No durable queues found. Skipping message store migration
529mq_1 | 2019-01-25 15:25:58.381 [info] <0.191.0> message_store upgrades: Removing the old message store data
530mq_1 | 2019-01-25 15:25:58.382 [info] <0.191.0> message_store upgrades: All upgrades applied successfully
531mq_1 | 2019-01-25 15:25:58.396 [info] <0.191.0> Adding vhost '/'
532mq_1 | 2019-01-25 15:25:58.419 [info] <0.406.0> Making sure data directory '/var/lib/rabbitmq/mnesia/rabbit@test/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L' for vhost '/' exists
533mq_1 | 2019-01-25 15:25:58.430 [info] <0.406.0> Starting message stores for vhost '/'
534mq_1 | 2019-01-25 15:25:58.431 [info] <0.410.0> Message store "628WB79CIFDYO9LJI6DKMI09L/msg_store_transient": using rabbit_msg_store_ets_index to provide index
535mq_1 | 2019-01-25 15:25:58.432 [info] <0.406.0> Started message store of type transient for vhost '/'
536mq_1 | 2019-01-25 15:25:58.433 [info] <0.413.0> Message store "628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent": using rabbit_msg_store_ets_index to provide index
537mq_1 | 2019-01-25 15:25:58.434 [warning] <0.413.0> Message store "628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent": rebuilding indices from scratch
538mq_1 | 2019-01-25 15:25:58.435 [info] <0.406.0> Started message store of type persistent for vhost '/'
539mq_1 | 2019-01-25 15:25:58.437 [info] <0.191.0> Creating user 'mq'
540mq_1 | 2019-01-25 15:25:58.443 [info] <0.191.0> Setting user tags for user 'mq' to [administrator]
541mq_1 | 2019-01-25 15:25:58.446 [info] <0.191.0> Setting permissions for 'mq' in '/' to '.*', '.*', '.*'
542mq_1 | 2019-01-25 15:25:58.450 [info] <0.451.0> started TCP Listener on [::]:5672
543mq_1 | 2019-01-25 15:25:58.458 [info] <0.191.0> Setting up a table for connection tracking on this node: tracked_connection_on_node_rabbit@test
544mq_1 | 2019-01-25 15:25:58.461 [info] <0.191.0> Setting up a table for per-vhost connection counting on this node: tracked_connection_per_vhost_on_node_rabbit@test
545mq_1 | 2019-01-25 15:25:58.462 [info] <0.33.0> Application rabbit started on node rabbit@test
546mq_1 | 2019-01-25 15:25:58.590 [info] <0.5.0> Server startup complete; 0 plugins started.
547mq_1 | completed with 0 plugins.
548dj_1 | wait-for-it.sh: mq:5672 is available after 12 seconds
549cam_1 | wait-for-it.sh: mq:5672 is available after 12 seconds
550mq_1 | 2019-01-25 15:25:58.609 [info] <0.463.0> accepting AMQP connection <0.463.0> (172.18.0.8:34196 -> 172.18.0.3:5672)
551mq_1 | 2019-01-25 15:25:58.610 [warning] <0.463.0> closing AMQP connection <0.463.0> (172.18.0.8:34196 -> 172.18.0.3:5672):
552mq_1 | client unexpectedly closed TCP connection
553mq_1 | 2019-01-25 15:25:58.612 [info] <0.466.0> accepting AMQP connection <0.466.0> (172.18.0.7:46452 -> 172.18.0.3:5672)
554mq_1 | 2019-01-25 15:25:58.612 [warning] <0.466.0> closing AMQP connection <0.466.0> (172.18.0.7:46452 -> 172.18.0.3:5672):
555mq_1 | client unexpectedly closed TCP connection
556dj_1 | [uWSGI] getting INI configuration from /app/d/uwsgi-test.ini
557dj_1 | [uWSGI] getting INI configuration from /app/d/uwsgi-test.ini
558dj_1 | *** Starting uWSGI 2.0.17.1 (64bit) on [Fri Jan 25 15:25:58 2019] ***
559dj_1 | compiled with version: 4.9.2 on 25 January 2019 11:07:30
560dj_1 | os: Linux-4.15.0-1021-aws #21-Ubuntu SMP Tue Aug 28 10:23:07 UTC 2018
561dj_1 | nodename: test
562dj_1 | machine: x86_64
563dj_1 | clock source: unix
564dj_1 | pcre jit disabled
565dj_1 | detected number of CPU cores: 1
566dj_1 | current working directory: /
567dj_1 | detected binary path: /usr/local/bin/uwsgi
568dj_1 | chdir() to /app
569dj_1 | your memory page size is 4096 bytes
570dj_1 | detected max file descriptor number: 1048576
571dj_1 | lock engine: pthread robust mutexes
572dj_1 | thunder lock: disabled (you can enable it with --thunder-lock)
573dj_1 | uwsgi socket 0 bound to UNIX address /app/uwsgi.socket fd 3
574dj_1 | setgid() to 999
575dj_1 | setuid() to 3000
576dj_1 | Python version: 3.4.5 (default, Aug 22 2016, 20:50:51) [GCC 4.9.2]
577dj_1 | Python main interpreter initialized at 0x1872f30
578dj_1 | python threads support enabled
579dj_1 | your server socket listen backlog is limited to 100 connections
580dj_1 | your mercy for graceful operations on workers is 60 seconds
581dj_1 | mapped 218760 bytes (213 KB) for 2 cores
582dj_1 | *** Operational MODE: preforking ***
583dj_1 | added /app/ to pythonpath.
584dj_1 | added /app/ to pythonpath.
585mq_1 | 2019-01-25 15:25:58.706 [info] <0.472.0> accepting AMQP connection <0.472.0> (172.18.0.9:53078 -> 172.18.0.3:5672)
586mq_1 | 2019-01-25 15:25:58.706 [warning] <0.472.0> closing AMQP connection <0.472.0> (172.18.0.9:53078 -> 172.18.0.3:5672):
587mq_1 | client unexpectedly closed TCP connection
588ppn_ext_1 | wait-for-it.sh: mq:5672 is available after 12 seconds
589ppn_ext_1 | [uWSGI] getting INI configuration from /app/d/ppn_ext/uwsgi-ppn-ext-test.ini
590ppn_ext_1 | [uWSGI] getting INI configuration from /app/d/ppn_ext/uwsgi-ppn-ext-test.ini
591ppn_ext_1 | *** Starting uWSGI 2.0.17.1 (64bit) on [Fri Jan 25 15:25:58 2019] ***
592ppn_ext_1 | compiled with version: 4.9.2 on 25 January 2019 11:07:30
593ppn_ext_1 | os: Linux-4.15.0-1021-aws #21-Ubuntu SMP Tue Aug 28 10:23:07 UTC 2018
594ppn_ext_1 | nodename: ppn_ext
595ppn_ext_1 | machine: x86_64
596ppn_ext_1 | clock source: unix
597ppn_ext_1 | pcre jit disabled
598ppn_ext_1 | detected number of CPU cores: 1
599ppn_ext_1 | current working directory: /
600ppn_ext_1 | detected binary path: /usr/local/bin/uwsgi
601ppn_ext_1 | chdir() to /app
602ppn_ext_1 | your memory page size is 4096 bytes
603ppn_ext_1 | *** WARNING: you have enabled harakiri without post buffering. Slow upload could be rejected on post-unbuffered webservers ***
604ppn_ext_1 | detected max file descriptor number: 1048576
605ppn_ext_1 | lock engine: pthread robust mutexes
606ppn_ext_1 | thunder lock: disabled (you can enable it with --thunder-lock)
607ppn_ext_1 | uwsgi socket 0 bound to UNIX address /app/uwsgi-ppn-ext.socket fd 3
608ppn_ext_1 | setuid() to 3000
609ppn_ext_1 | Python version: 3.4.5 (default, Aug 22 2016, 20:50:51) [GCC 4.9.2]
610ppn_ext_1 | Python main interpreter initialized at 0x1ec7770
611ppn_ext_1 | python threads support enabled
612ppn_ext_1 | your server socket listen backlog is limited to 100 connections
613ppn_ext_1 | your mercy for graceful operations on workers is 60 seconds
614ppn_ext_1 | mapped 218760 bytes (213 KB) for 2 cores
615ppn_ext_1 | *** Operational MODE: preforking ***
616ppn_ext_1 | added /app/ to pythonpath.
617ppn_ext_1 | added /app/ to pythonpath.
618mq_1 | 2019-01-25 15:25:58.923 [info] <0.476.0> accepting AMQP connection <0.476.0> (172.18.0.10:42602 -> 172.18.0.3:5672)
619mq_1 | 2019-01-25 15:25:58.923 [warning] <0.476.0> closing AMQP connection <0.476.0> (172.18.0.10:42602 -> 172.18.0.3:5672):
620mq_1 | client unexpectedly closed TCP connection
621beat_1 | wait-for-it.sh: mq:5672 is available after 13 seconds
622mq_1 | 2019-01-25 15:25:59.437 [info] <0.480.0> accepting AMQP connection <0.480.0> (172.18.0.6:42394 -> 172.18.0.3:5672)
623mq_1 | 2019-01-25 15:25:59.437 [warning] <0.480.0> closing AMQP connection <0.480.0> (172.18.0.6:42394 -> 172.18.0.3:5672):
624mq_1 | client unexpectedly closed TCP connection
625cel_1 | wait-for-it.sh: mq:5672 is available after 13 seconds
626test.vpn | Backing up /etc/openvpn/ovpn_env.sh -> /etc/openvpn/ovpn_env.sh.1548429962.bak
627test.vpn | Backing up /etc/openvpn/openvpn.conf -> /etc/openvpn/openvpn.conf.1548429962.bak
628test.vpn | Disable default push of 'block-outside-dns'
629test.vpn | Processing PUSH Config: 'dhcp-option DNS 172.66.0.1'
630test.vpn | Processing PUSH Config: 'comp-lzo no'
631test.vpn | Processing PUSH Config: 'route 172.16.0.0 255.240.0.0'
632test.vpn | Files /etc/openvpn/ovpn_env.sh.1548429962.bak and /etc/openvpn/ovpn_env.sh differ
633test.vpn | Removing duplicate back-up: /etc/openvpn/openvpn.conf.1548429962.bak
634test.vpn | removed '/etc/openvpn/openvpn.conf.1548429962.bak'
635test.vpn | Successfully generated config
636test.vpn | Cleaning up before Exit ...
637test.vpn | iptables: No chain/target/match by that name.
638test.vpn | Enabling IPv6 Forwarding
639test.vpn | sysctl: error setting key 'net.ipv6.conf.all.disable_ipv6': Read-only file system
640test.vpn | Failed to enable IPv6 support
641test.vpn | sysctl: error setting key 'net.ipv6.conf.default.forwarding': Read-only file system
642test.vpn | Failed to enable IPv6 Forwarding default
643test.vpn | sysctl: error setting key 'net.ipv6.conf.all.forwarding': Read-only file system
644test.vpn | Failed to enable IPv6 Forwarding
645test.vpn | Running 'openvpn --config /etc/openvpn/openvpn.conf --client-config-dir /etc/openvpn/ccd '
646test.vpn | Options error: --dh fails with '/etc/openvpn/pki/dh.pem': No such file or directory (errno=2)
647test.vpn | Options error: --ca fails with '/etc/openvpn/pki/ca.crt': No such file or directory (errno=2)
648test.vpn | Options error: --cert fails with '/etc/openvpn/pki/issued/test.askjack.ru.crt': No such file or directory (errno=2)
649test.vpn | Fri Jan 25 15:26:02 2019 WARNING: cannot stat file '/etc/openvpn/pki/private/test.askjack.ru.key': No such file or directory (errno=2)
650test.vpn | Options error: --key fails with '/etc/openvpn/pki/private/test.askjack.ru.key': No such file or directory (errno=2)
651test.vpn | Fri Jan 25 15:26:02 2019 WARNING: cannot stat file '/etc/openvpn/pki/ta.key': No such file or directory (errno=2)
652test.vpn | Options error: --tls-auth fails with '/etc/openvpn/pki/ta.key': No such file or directory (errno=2)
653test.vpn | Options error: Please correct these errors.
654test.vpn | Use --help for more information.
655test.vpn exited with code 1
656pg_1 | 2019-01-25 15:26:02.666 GMT [78] ERROR: function postgis_lib_version() does not exist at character 8
657pg_1 | 2019-01-25 15:26:02.666 GMT [78] HINT: No function matches the given name and argument types. You might need to add explicit type casts.
658pg_1 | 2019-01-25 15:26:02.666 GMT [78] STATEMENT: SELECT postgis_lib_version()
659dj_1 | Traceback (most recent call last):
660dj_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
661dj_1 | return self.cursor.execute(sql)
662dj_1 | psycopg2.ProgrammingError: function postgis_lib_version() does not exist
663dj_1 | LINE 1: SELECT postgis_lib_version()
664dj_1 | ^
665dj_1 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
666dj_1 |
667dj_1 |
668dj_1 | The above exception was the direct cause of the following exception:
669dj_1 |
670dj_1 | Traceback (most recent call last):
671dj_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 260, in spatial_version
672dj_1 | vtup = self.postgis_version_tuple()
673dj_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 434, in postgis_version_tuple
674dj_1 | version = self.postgis_lib_version()
675dj_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 414, in postgis_lib_version
676dj_1 | return self._get_postgis_func('postgis_lib_version')
677dj_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 405, in _get_postgis_func
678dj_1 | cursor.execute('SELECT %s()' % func)
679dj_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
680dj_1 | return self.cursor.execute(sql, params)
681dj_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 94, in __exit__
682dj_1 | six.reraise(dj_exc_type, dj_exc_value, traceback)
683dj_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/six.py", line 658, in reraise
684dj_1 | raise value.with_traceback(tb)
685dj_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
686dj_1 | return self.cursor.execute(sql)
687dj_1 | django.db.utils.ProgrammingError: function postgis_lib_version() does not exist
688dj_1 | LINE 1: SELECT postgis_lib_version()
689dj_1 | ^
690dj_1 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
691dj_1 |
692dj_1 |
693dj_1 | During handling of the above exception, another exception occurred:
694dj_1 |
695dj_1 | Traceback (most recent call last):
696dj_1 | File "/app/novtest/wsgi.py", line 14, in <module>
697dj_1 | application = get_wsgi_application()
698dj_1 | File "/usr/local/lib/python3.4/site-packages/django/core/wsgi.py", line 14, in get_wsgi_application
699dj_1 | django.setup()
700dj_1 | File "/usr/local/lib/python3.4/site-packages/django/__init__.py", line 21, in setup
701dj_1 | apps.populate(settings.INSTALLED_APPS)
702dj_1 | File "/usr/local/lib/python3.4/site-packages/django/apps/registry.py", line 85, in populate
703dj_1 | app_config = AppConfig.create(entry)
704dj_1 | File "/usr/local/lib/python3.4/site-packages/django/apps/config.py", line 87, in create
705dj_1 | module = import_module(entry)
706dj_1 | File "/usr/local/lib/python3.4/importlib/__init__.py", line 109, in import_module
707dj_1 | return _bootstrap._gcd_import(name[level:], package, level)
708dj_1 | File "/app/main/__init__.py", line 1, in <module>
709dj_1 | from .monkeypatch import *
710dj_1 | File "/app/main/monkeypatch/__init__.py", line 1, in <module>
711dj_1 | from .guardian_monkeypatch import *
712dj_1 | File "/app/main/monkeypatch/guardian_monkeypatch.py", line 6, in <module>
713dj_1 | from guardian.admin import GuardedModelAdminMixin
714dj_1 | File "/usr/local/lib/python3.4/site-packages/guardian/admin.py", line 11, in <module>
715dj_1 | from guardian.compat import get_model_name, get_user_model, OrderedDict, url
716dj_1 | File "/usr/local/lib/python3.4/site-packages/guardian/compat.py", line 8, in <module>
717dj_1 | from django.contrib.auth.models import AnonymousUser, Group, Permission
718dj_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/auth/models.py", line 40, in <module>
719dj_1 | class Permission(models.Model):
720dj_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/base.py", line 122, in __new__
721dj_1 | new_class.add_to_class('_meta', Options(meta, **kwargs))
722dj_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/base.py", line 297, in add_to_class
723dj_1 | value.contribute_to_class(cls, name)
724dj_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/options.py", line 166, in contribute_to_class
725dj_1 | self.db_table = truncate_name(self.db_table, connection.ops.max_name_length())
726dj_1 | File "/usr/local/lib/python3.4/site-packages/django/db/__init__.py", line 40, in __getattr__
727dj_1 | return getattr(connections[DEFAULT_DB_ALIAS], item)
728dj_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 243, in __getitem__
729dj_1 | conn = backend.DatabaseWrapper(db, alias)
730dj_1 | File "/usr/local/lib/python3.4/site-packages/transaction_hooks/mixin.py", line 23, in __init__
731dj_1 | super(TransactionHooksDatabaseWrapperMixin, self).__init__(*a, **kw)
732dj_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/base.py", line 14, in __init__
733dj_1 | self.ops = PostGISOperations(self)
734dj_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 166, in __init__
735dj_1 | if self.spatial_version < (1, 3, 4):
736dj_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/functional.py", line 55, in __get__
737dj_1 | res = instance.__dict__[self.func.__name__] = self.func(instance)
738dj_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 266, in spatial_version
739dj_1 | 'template?' % self.connection.settings_dict['NAME']
740dj_1 | django.core.exceptions.ImproperlyConfigured: Cannot determine PostGIS version for database "test_askjack". GeoDjango requires at least PostGIS version 1.3. Was the database created from a spatial database template?
741dj_1 | unable to load app 0 (mountpoint='') (callable not found or import error)
742dj_1 | *** no app loaded. going in full dynamic mode ***
743dj_1 | *** uWSGI is running in multiple interpreter mode ***
744dj_1 | spawned uWSGI master process (pid: 91)
745dj_1 | spawned uWSGI worker 1 (pid: 133, cores: 1)
746dj_1 | spawned uWSGI worker 2 (pid: 134, cores: 1)
747dj_1 | mapping worker 1 to CPUs: 0 0 0 0
748dj_1 | mapping worker 2 to CPUs: 0 0 0 0
749dj_1 | Python auto-reloader enabled
750pg_1 | 2019-01-25 15:26:02.754 GMT [79] ERROR: function postgis_lib_version() does not exist at character 8
751pg_1 | 2019-01-25 15:26:02.754 GMT [79] HINT: No function matches the given name and argument types. You might need to add explicit type casts.
752pg_1 | 2019-01-25 15:26:02.754 GMT [79] STATEMENT: SELECT postgis_lib_version()
753ppn_ext_1 | Traceback (most recent call last):
754ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
755ppn_ext_1 | return self.cursor.execute(sql)
756ppn_ext_1 | psycopg2.ProgrammingError: function postgis_lib_version() does not exist
757ppn_ext_1 | LINE 1: SELECT postgis_lib_version()
758ppn_ext_1 | ^
759ppn_ext_1 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
760ppn_ext_1 |
761ppn_ext_1 |
762ppn_ext_1 | The above exception was the direct cause of the following exception:
763ppn_ext_1 |
764ppn_ext_1 | Traceback (most recent call last):
765ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 260, in spatial_version
766ppn_ext_1 | vtup = self.postgis_version_tuple()
767ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 434, in postgis_version_tuple
768ppn_ext_1 | version = self.postgis_lib_version()
769ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 414, in postgis_lib_version
770ppn_ext_1 | return self._get_postgis_func('postgis_lib_version')
771ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 405, in _get_postgis_func
772ppn_ext_1 | cursor.execute('SELECT %s()' % func)
773ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
774ppn_ext_1 | return self.cursor.execute(sql, params)
775ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 94, in __exit__
776ppn_ext_1 | six.reraise(dj_exc_type, dj_exc_value, traceback)
777ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/six.py", line 658, in reraise
778ppn_ext_1 | raise value.with_traceback(tb)
779ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
780ppn_ext_1 | return self.cursor.execute(sql)
781ppn_ext_1 | django.db.utils.ProgrammingError: function postgis_lib_version() does not exist
782ppn_ext_1 | LINE 1: SELECT postgis_lib_version()
783ppn_ext_1 | ^
784ppn_ext_1 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
785ppn_ext_1 |
786ppn_ext_1 |
787ppn_ext_1 | During handling of the above exception, another exception occurred:
788ppn_ext_1 |
789ppn_ext_1 | Traceback (most recent call last):
790ppn_ext_1 | File "/app/ppn_ext/wsgi.py", line 14, in <module>
791ppn_ext_1 | application = get_wsgi_application()
792ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/core/wsgi.py", line 14, in get_wsgi_application
793ppn_ext_1 | django.setup()
794ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/__init__.py", line 21, in setup
795ppn_ext_1 | apps.populate(settings.INSTALLED_APPS)
796ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/apps/registry.py", line 85, in populate
797ppn_ext_1 | app_config = AppConfig.create(entry)
798ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/apps/config.py", line 87, in create
799ppn_ext_1 | module = import_module(entry)
800ppn_ext_1 | File "/usr/local/lib/python3.4/importlib/__init__.py", line 109, in import_module
801ppn_ext_1 | return _bootstrap._gcd_import(name[level:], package, level)
802ppn_ext_1 | File "/app/main/__init__.py", line 1, in <module>
803ppn_ext_1 | from .monkeypatch import *
804ppn_ext_1 | File "/app/main/monkeypatch/__init__.py", line 1, in <module>
805ppn_ext_1 | from .guardian_monkeypatch import *
806ppn_ext_1 | File "/app/main/monkeypatch/guardian_monkeypatch.py", line 6, in <module>
807ppn_ext_1 | from guardian.admin import GuardedModelAdminMixin
808ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/guardian/admin.py", line 11, in <module>
809ppn_ext_1 | from guardian.compat import get_model_name, get_user_model, OrderedDict, url
810ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/guardian/compat.py", line 8, in <module>
811ppn_ext_1 | from django.contrib.auth.models import AnonymousUser, Group, Permission
812ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/auth/models.py", line 40, in <module>
813ppn_ext_1 | class Permission(models.Model):
814ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/base.py", line 122, in __new__
815ppn_ext_1 | new_class.add_to_class('_meta', Options(meta, **kwargs))
816ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/base.py", line 297, in add_to_class
817ppn_ext_1 | value.contribute_to_class(cls, name)
818ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/options.py", line 166, in contribute_to_class
819ppn_ext_1 | self.db_table = truncate_name(self.db_table, connection.ops.max_name_length())
820ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/db/__init__.py", line 40, in __getattr__
821ppn_ext_1 | return getattr(connections[DEFAULT_DB_ALIAS], item)
822ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 243, in __getitem__
823ppn_ext_1 | conn = backend.DatabaseWrapper(db, alias)
824ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/transaction_hooks/mixin.py", line 23, in __init__
825ppn_ext_1 | super(TransactionHooksDatabaseWrapperMixin, self).__init__(*a, **kw)
826ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/base.py", line 14, in __init__
827ppn_ext_1 | self.ops = PostGISOperations(self)
828ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 166, in __init__
829ppn_ext_1 | if self.spatial_version < (1, 3, 4):
830ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/functional.py", line 55, in __get__
831ppn_ext_1 | res = instance.__dict__[self.func.__name__] = self.func(instance)
832ppn_ext_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 266, in spatial_version
833ppn_ext_1 | 'template?' % self.connection.settings_dict['NAME']
834ppn_ext_1 | django.core.exceptions.ImproperlyConfigured: Cannot determine PostGIS version for database "test_askjack". GeoDjango requires at least PostGIS version 1.3. Was the database created from a spatial database template?
835ppn_ext_1 | unable to load app 0 (mountpoint='') (callable not found or import error)
836ppn_ext_1 | *** no app loaded. going in full dynamic mode ***
837ppn_ext_1 | *** uWSGI is running in multiple interpreter mode ***
838ppn_ext_1 | spawned uWSGI master process (pid: 89)
839ppn_ext_1 | spawned uWSGI worker 1 (pid: 131, cores: 1)
840ppn_ext_1 | spawned uWSGI worker 2 (pid: 132, cores: 1)
841ppn_ext_1 | Python auto-reloader enabled
842cam_1 | -> evcam: Taking snapshots with djcelery.snapshot.Camera (every 1 secs.)
843mq_1 | 2019-01-25 15:26:03.045 [info] <0.484.0> accepting AMQP connection <0.484.0> (172.18.0.8:34210 -> 172.18.0.3:5672)
844mq_1 | 2019-01-25 15:26:03.050 [info] <0.484.0> connection <0.484.0> (172.18.0.8:34210 -> 172.18.0.3:5672): user 'mq' authenticated and granted access to vhost '/'
845mq_1 | 2019-01-25 15:26:03.075 [info] <0.495.0> accepting AMQP connection <0.495.0> (172.18.0.8:34212 -> 172.18.0.3:5672)
846mq_1 | 2019-01-25 15:26:03.080 [info] <0.495.0> connection <0.495.0> (172.18.0.8:34212 -> 172.18.0.3:5672): user 'mq' authenticated and granted access to vhost '/'
847cam_1 | [2019-01-25 18:26:03,081: INFO/MainProcess] Connected to amqp://mq:**@mq:5672//
848beat_1 | celery beat v3.1.25 (Cipater) is starting.
849pg_1 | 2019-01-25 15:26:03.682 GMT [80] ERROR: function postgis_lib_version() does not exist at character 8
850pg_1 | 2019-01-25 15:26:03.682 GMT [80] HINT: No function matches the given name and argument types. You might need to add explicit type casts.
851pg_1 | 2019-01-25 15:26:03.682 GMT [80] STATEMENT: SELECT postgis_lib_version()
852cel_1 | Traceback (most recent call last):
853cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
854cel_1 | return self.cursor.execute(sql)
855cel_1 | psycopg2.ProgrammingError: function postgis_lib_version() does not exist
856cel_1 | LINE 1: SELECT postgis_lib_version()
857cel_1 | ^
858cel_1 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
859cel_1 |
860cel_1 |
861cel_1 | The above exception was the direct cause of the following exception:
862cel_1 |
863cel_1 | Traceback (most recent call last):
864cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 260, in spatial_version
865cel_1 | vtup = self.postgis_version_tuple()
866cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 434, in postgis_version_tuple
867cel_1 | version = self.postgis_lib_version()
868cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 414, in postgis_lib_version
869cel_1 | return self._get_postgis_func('postgis_lib_version')
870cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 405, in _get_postgis_func
871cel_1 | cursor.execute('SELECT %s()' % func)
872cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
873cel_1 | return self.cursor.execute(sql, params)
874cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 94, in __exit__
875cel_1 | six.reraise(dj_exc_type, dj_exc_value, traceback)
876cel_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/six.py", line 658, in reraise
877cel_1 | raise value.with_traceback(tb)
878cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
879cel_1 | return self.cursor.execute(sql)
880cel_1 | django.db.utils.ProgrammingError: function postgis_lib_version() does not exist
881cel_1 | LINE 1: SELECT postgis_lib_version()
882cel_1 | ^
883cel_1 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
884cel_1 |
885cel_1 |
886cel_1 | During handling of the above exception, another exception occurred:
887cel_1 |
888cel_1 | Traceback (most recent call last):
889cel_1 | File "/app/manage_celery.py", line 8, in <module>
890cel_1 | execute_from_command_line(sys.argv)
891cel_1 | File "/usr/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
892cel_1 | utility.execute()
893cel_1 | File "/usr/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 354, in execute
894cel_1 | django.setup()
895cel_1 | File "/usr/local/lib/python3.4/site-packages/django/__init__.py", line 21, in setup
896cel_1 | apps.populate(settings.INSTALLED_APPS)
897cel_1 | File "/usr/local/lib/python3.4/site-packages/django/apps/registry.py", line 85, in populate
898cel_1 | app_config = AppConfig.create(entry)
899cel_1 | File "/usr/local/lib/python3.4/site-packages/django/apps/config.py", line 87, in create
900cel_1 | module = import_module(entry)
901cel_1 | File "/usr/local/lib/python3.4/importlib/__init__.py", line 109, in import_module
902cel_1 | return _bootstrap._gcd_import(name[level:], package, level)
903cel_1 | File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
904cel_1 | File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
905cel_1 | File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
906cel_1 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
907cel_1 | File "<frozen importlib._bootstrap>", line 1129, in _exec
908cel_1 | File "<frozen importlib._bootstrap>", line 1471, in exec_module
909cel_1 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
910cel_1 | File "/app/main/__init__.py", line 1, in <module>
911cel_1 | from .monkeypatch import *
912cel_1 | File "/app/main/monkeypatch/__init__.py", line 1, in <module>
913cel_1 | from .guardian_monkeypatch import *
914cel_1 | File "/app/main/monkeypatch/guardian_monkeypatch.py", line 6, in <module>
915cel_1 | from guardian.admin import GuardedModelAdminMixin
916cel_1 | File "/usr/local/lib/python3.4/site-packages/guardian/admin.py", line 11, in <module>
917cel_1 | from guardian.compat import get_model_name, get_user_model, OrderedDict, url
918cel_1 | File "/usr/local/lib/python3.4/site-packages/guardian/compat.py", line 8, in <module>
919cel_1 | from django.contrib.auth.models import AnonymousUser, Group, Permission
920cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/auth/models.py", line 40, in <module>
921cel_1 | class Permission(models.Model):
922cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/base.py", line 122, in __new__
923cel_1 | new_class.add_to_class('_meta', Options(meta, **kwargs))
924cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/base.py", line 297, in add_to_class
925cel_1 | value.contribute_to_class(cls, name)
926cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/options.py", line 166, in contribute_to_class
927cel_1 | self.db_table = truncate_name(self.db_table, connection.ops.max_name_length())
928cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/__init__.py", line 40, in __getattr__
929cel_1 | return getattr(connections[DEFAULT_DB_ALIAS], item)
930cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 243, in __getitem__
931cel_1 | conn = backend.DatabaseWrapper(db, alias)
932cel_1 | File "/usr/local/lib/python3.4/site-packages/transaction_hooks/mixin.py", line 23, in __init__
933cel_1 | super(TransactionHooksDatabaseWrapperMixin, self).__init__(*a, **kw)
934cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/base.py", line 14, in __init__
935cel_1 | self.ops = PostGISOperations(self)
936cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 166, in __init__
937cel_1 | if self.spatial_version < (1, 3, 4):
938cel_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/functional.py", line 55, in __get__
939cel_1 | res = instance.__dict__[self.func.__name__] = self.func(instance)
940cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 266, in spatial_version
941cel_1 | 'template?' % self.connection.settings_dict['NAME']
942cel_1 | django.core.exceptions.ImproperlyConfigured: Cannot determine PostGIS version for database "test_askjack". GeoDjango requires at least PostGIS version 1.3. Was the database created from a spatial database template?
943pg_1 | 2019-01-25 15:26:05.251 GMT [81] LOG: incomplete startup packet
944cel_1 | wait-for-it.sh: pg:5432 is available after 0 seconds
945cel_1 | wait-for-it.sh: waiting 15 seconds for mq:5672
946mq_1 | 2019-01-25 15:26:05.274 [info] <0.512.0> accepting AMQP connection <0.512.0> (172.18.0.5:51406 -> 172.18.0.3:5672)
947cel_1 | wait-for-it.sh: mq:5672 is available after 0 seconds
948mq_1 | 2019-01-25 15:26:05.283 [warning] <0.512.0> closing AMQP connection <0.512.0> (172.18.0.5:51406 -> 172.18.0.3:5672):
949mq_1 | client unexpectedly closed TCP connection
950pg_1 | 2019-01-25 15:26:07.125 GMT [82] ERROR: function postgis_lib_version() does not exist at character 8
951pg_1 | 2019-01-25 15:26:07.125 GMT [82] HINT: No function matches the given name and argument types. You might need to add explicit type casts.
952pg_1 | 2019-01-25 15:26:07.125 GMT [82] STATEMENT: SELECT postgis_lib_version()
953cel_1 | Traceback (most recent call last):
954cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
955cel_1 | return self.cursor.execute(sql)
956cel_1 | psycopg2.ProgrammingError: function postgis_lib_version() does not exist
957cel_1 | LINE 1: SELECT postgis_lib_version()
958cel_1 | ^
959cel_1 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
960cel_1 |
961cel_1 |
962cel_1 | The above exception was the direct cause of the following exception:
963cel_1 |
964cel_1 | Traceback (most recent call last):
965cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 260, in spatial_version
966cel_1 | vtup = self.postgis_version_tuple()
967cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 434, in postgis_version_tuple
968cel_1 | version = self.postgis_lib_version()
969cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 414, in postgis_lib_version
970cel_1 | return self._get_postgis_func('postgis_lib_version')
971cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 405, in _get_postgis_func
972cel_1 | cursor.execute('SELECT %s()' % func)
973cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
974cel_1 | return self.cursor.execute(sql, params)
975cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 94, in __exit__
976cel_1 | six.reraise(dj_exc_type, dj_exc_value, traceback)
977cel_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/six.py", line 658, in reraise
978cel_1 | raise value.with_traceback(tb)
979cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
980cel_1 | return self.cursor.execute(sql)
981cel_1 | django.db.utils.ProgrammingError: function postgis_lib_version() does not exist
982cel_1 | LINE 1: SELECT postgis_lib_version()
983cel_1 | ^
984cel_1 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
985cel_1 |
986cel_1 |
987cel_1 | During handling of the above exception, another exception occurred:
988cel_1 |
989cel_1 | Traceback (most recent call last):
990cel_1 | File "/app/manage_celery.py", line 8, in <module>
991cel_1 | execute_from_command_line(sys.argv)
992cel_1 | File "/usr/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
993cel_1 | utility.execute()
994cel_1 | File "/usr/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 354, in execute
995cel_1 | django.setup()
996cel_1 | File "/usr/local/lib/python3.4/site-packages/django/__init__.py", line 21, in setup
997cel_1 | apps.populate(settings.INSTALLED_APPS)
998cel_1 | File "/usr/local/lib/python3.4/site-packages/django/apps/registry.py", line 85, in populate
999cel_1 | app_config = AppConfig.create(entry)
1000cel_1 | File "/usr/local/lib/python3.4/site-packages/django/apps/config.py", line 87, in create
1001cel_1 | module = import_module(entry)
1002cel_1 | File "/usr/local/lib/python3.4/importlib/__init__.py", line 109, in import_module
1003cel_1 | return _bootstrap._gcd_import(name[level:], package, level)
1004cel_1 | File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1005cel_1 | File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1006cel_1 | File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1007cel_1 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1008cel_1 | File "<frozen importlib._bootstrap>", line 1129, in _exec
1009cel_1 | File "<frozen importlib._bootstrap>", line 1471, in exec_module
1010cel_1 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1011cel_1 | File "/app/main/__init__.py", line 1, in <module>
1012cel_1 | from .monkeypatch import *
1013cel_1 | File "/app/main/monkeypatch/__init__.py", line 1, in <module>
1014cel_1 | from .guardian_monkeypatch import *
1015cel_1 | File "/app/main/monkeypatch/guardian_monkeypatch.py", line 6, in <module>
1016cel_1 | from guardian.admin import GuardedModelAdminMixin
1017cel_1 | File "/usr/local/lib/python3.4/site-packages/guardian/admin.py", line 11, in <module>
1018cel_1 | from guardian.compat import get_model_name, get_user_model, OrderedDict, url
1019cel_1 | File "/usr/local/lib/python3.4/site-packages/guardian/compat.py", line 8, in <module>
1020cel_1 | from django.contrib.auth.models import AnonymousUser, Group, Permission
1021cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/auth/models.py", line 40, in <module>
1022cel_1 | class Permission(models.Model):
1023cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/base.py", line 122, in __new__
1024cel_1 | new_class.add_to_class('_meta', Options(meta, **kwargs))
1025cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/base.py", line 297, in add_to_class
1026cel_1 | value.contribute_to_class(cls, name)
1027cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/options.py", line 166, in contribute_to_class
1028cel_1 | self.db_table = truncate_name(self.db_table, connection.ops.max_name_length())
1029cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/__init__.py", line 40, in __getattr__
1030cel_1 | return getattr(connections[DEFAULT_DB_ALIAS], item)
1031cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 243, in __getitem__
1032cel_1 | conn = backend.DatabaseWrapper(db, alias)
1033cel_1 | File "/usr/local/lib/python3.4/site-packages/transaction_hooks/mixin.py", line 23, in __init__
1034cel_1 | super(TransactionHooksDatabaseWrapperMixin, self).__init__(*a, **kw)
1035cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/base.py", line 14, in __init__
1036cel_1 | self.ops = PostGISOperations(self)
1037cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 166, in __init__
1038cel_1 | if self.spatial_version < (1, 3, 4):
1039cel_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/functional.py", line 55, in __get__
1040cel_1 | res = instance.__dict__[self.func.__name__] = self.func(instance)
1041cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 266, in spatial_version
1042cel_1 | 'template?' % self.connection.settings_dict['NAME']
1043cel_1 | django.core.exceptions.ImproperlyConfigured: Cannot determine PostGIS version for database "test_askjack". GeoDjango requires at least PostGIS version 1.3. Was the database created from a spatial database template?
1044d_cel_1 exited with code 1
1045cel_1 | rm: cannot remove ‘/app/*.pid’: No such file or directory
1046cel_1 | wait-for-it.sh: waiting 15 seconds for pg:5432
1047cel_1 | wait-for-it.sh: pg:5432 is available after 1 seconds
1048pg_1 | 2019-01-25 15:26:09.014 GMT [83] LOG: incomplete startup packet
1049cel_1 | wait-for-it.sh: waiting 15 seconds for mq:5672
1050mq_1 | 2019-01-25 15:26:09.061 [info] <0.516.0> accepting AMQP connection <0.516.0> (172.18.0.5:51412 -> 172.18.0.3:5672)
1051mq_1 | 2019-01-25 15:26:09.061 [warning] <0.516.0> closing AMQP connection <0.516.0> (172.18.0.5:51412 -> 172.18.0.3:5672):
1052mq_1 | client unexpectedly closed TCP connection
1053cel_1 | wait-for-it.sh: mq:5672 is available after 0 seconds
1054test.vpn | Backing up /etc/openvpn/ovpn_env.sh -> /etc/openvpn/ovpn_env.sh.1548429970.bak
1055test.vpn | Backing up /etc/openvpn/openvpn.conf -> /etc/openvpn/openvpn.conf.1548429970.bak
1056test.vpn | Disable default push of 'block-outside-dns'
1057test.vpn | Processing PUSH Config: 'dhcp-option DNS 172.66.0.1'
1058test.vpn | Processing PUSH Config: 'comp-lzo no'
1059test.vpn | Processing PUSH Config: 'route 172.16.0.0 255.240.0.0'
1060test.vpn | Files /etc/openvpn/ovpn_env.sh.1548429970.bak and /etc/openvpn/ovpn_env.sh differ
1061test.vpn | Removing duplicate back-up: /etc/openvpn/openvpn.conf.1548429970.bak
1062test.vpn | removed '/etc/openvpn/openvpn.conf.1548429970.bak'
1063test.vpn | Successfully generated config
1064test.vpn | Cleaning up before Exit ...
1065test.vpn | iptables: No chain/target/match by that name.
1066test.vpn | Enabling IPv6 Forwarding
1067test.vpn | sysctl: error setting key 'net.ipv6.conf.all.disable_ipv6': Read-only file system
1068test.vpn | Failed to enable IPv6 support
1069test.vpn | sysctl: error setting key 'net.ipv6.conf.default.forwarding': Read-only file system
1070test.vpn | Failed to enable IPv6 Forwarding default
1071test.vpn | sysctl: error setting key 'net.ipv6.conf.all.forwarding': Read-only file system
1072test.vpn | Failed to enable IPv6 Forwarding
1073test.vpn | Running 'openvpn --config /etc/openvpn/openvpn.conf --client-config-dir /etc/openvpn/ccd '
1074test.vpn | Options error: --dh fails with '/etc/openvpn/pki/dh.pem': No such file or directory (errno=2)
1075test.vpn | Options error: --ca fails with '/etc/openvpn/pki/ca.crt': No such file or directory (errno=2)
1076test.vpn | Options error: --cert fails with '/etc/openvpn/pki/issued/test.askjack.ru.crt': No such file or directory (errno=2)
1077test.vpn | Fri Jan 25 15:26:11 2019 WARNING: cannot stat file '/etc/openvpn/pki/private/test.askjack.ru.key': No such file or directory (errno=2)
1078test.vpn | Options error: --key fails with '/etc/openvpn/pki/private/test.askjack.ru.key': No such file or directory (errno=2)
1079test.vpn | Fri Jan 25 15:26:11 2019 WARNING: cannot stat file '/etc/openvpn/pki/ta.key': No such file or directory (errno=2)
1080test.vpn | Options error: --tls-auth fails with '/etc/openvpn/pki/ta.key': No such file or directory (errno=2)
1081test.vpn | Options error: Please correct these errors.
1082test.vpn | Use --help for more information.
1083test.vpn exited with code 1
1084beat_1 | Ðет кÑша "efcache", задайте, еÑли Ñто не теÑÑ‚Ð¾Ð²Ð°Ñ Ñреда
1085pg_1 | 2019-01-25 15:26:12.519 GMT [84] ERROR: function postgis_lib_version() does not exist at character 8
1086pg_1 | 2019-01-25 15:26:12.519 GMT [84] HINT: No function matches the given name and argument types. You might need to add explicit type casts.
1087pg_1 | 2019-01-25 15:26:12.519 GMT [84] STATEMENT: SELECT postgis_lib_version()
1088cel_1 | Traceback (most recent call last):
1089cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
1090cel_1 | return self.cursor.execute(sql)
1091cel_1 | psycopg2.ProgrammingError: function postgis_lib_version() does not exist
1092cel_1 | LINE 1: SELECT postgis_lib_version()
1093cel_1 | ^
1094cel_1 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
1095cel_1 |
1096cel_1 |
1097cel_1 | The above exception was the direct cause of the following exception:
1098cel_1 |
1099cel_1 | Traceback (most recent call last):
1100cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 260, in spatial_version
1101cel_1 | vtup = self.postgis_version_tuple()
1102cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 434, in postgis_version_tuple
1103cel_1 | version = self.postgis_lib_version()
1104cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 414, in postgis_lib_version
1105cel_1 | return self._get_postgis_func('postgis_lib_version')
1106cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 405, in _get_postgis_func
1107cel_1 | cursor.execute('SELECT %s()' % func)
1108cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
1109cel_1 | return self.cursor.execute(sql, params)
1110cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 94, in __exit__
1111cel_1 | six.reraise(dj_exc_type, dj_exc_value, traceback)
1112cel_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/six.py", line 658, in reraise
1113cel_1 | raise value.with_traceback(tb)
1114cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
1115cel_1 | return self.cursor.execute(sql)
1116cel_1 | django.db.utils.ProgrammingError: function postgis_lib_version() does not exist
1117cel_1 | LINE 1: SELECT postgis_lib_version()
1118cel_1 | ^
1119cel_1 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
1120cel_1 |
1121cel_1 |
1122cel_1 | During handling of the above exception, another exception occurred:
1123cel_1 |
1124cel_1 | Traceback (most recent call last):
1125cel_1 | File "/app/manage_celery.py", line 8, in <module>
1126cel_1 | execute_from_command_line(sys.argv)
1127cel_1 | File "/usr/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
1128cel_1 | utility.execute()
1129cel_1 | File "/usr/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 354, in execute
1130cel_1 | django.setup()
1131cel_1 | File "/usr/local/lib/python3.4/site-packages/django/__init__.py", line 21, in setup
1132cel_1 | apps.populate(settings.INSTALLED_APPS)
1133cel_1 | File "/usr/local/lib/python3.4/site-packages/django/apps/registry.py", line 85, in populate
1134cel_1 | app_config = AppConfig.create(entry)
1135cel_1 | File "/usr/local/lib/python3.4/site-packages/django/apps/config.py", line 87, in create
1136cel_1 | module = import_module(entry)
1137cel_1 | File "/usr/local/lib/python3.4/importlib/__init__.py", line 109, in import_module
1138cel_1 | return _bootstrap._gcd_import(name[level:], package, level)
1139cel_1 | File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1140cel_1 | File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1141cel_1 | File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1142cel_1 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1143cel_1 | File "<frozen importlib._bootstrap>", line 1129, in _exec
1144cel_1 | File "<frozen importlib._bootstrap>", line 1471, in exec_module
1145cel_1 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1146cel_1 | File "/app/main/__init__.py", line 1, in <module>
1147cel_1 | from .monkeypatch import *
1148cel_1 | File "/app/main/monkeypatch/__init__.py", line 1, in <module>
1149cel_1 | from .guardian_monkeypatch import *
1150cel_1 | File "/app/main/monkeypatch/guardian_monkeypatch.py", line 6, in <module>
1151cel_1 | from guardian.admin import GuardedModelAdminMixin
1152cel_1 | File "/usr/local/lib/python3.4/site-packages/guardian/admin.py", line 11, in <module>
1153cel_1 | from guardian.compat import get_model_name, get_user_model, OrderedDict, url
1154cel_1 | File "/usr/local/lib/python3.4/site-packages/guardian/compat.py", line 8, in <module>
1155cel_1 | from django.contrib.auth.models import AnonymousUser, Group, Permission
1156cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/auth/models.py", line 40, in <module>
1157cel_1 | class Permission(models.Model):
1158cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/base.py", line 122, in __new__
1159cel_1 | new_class.add_to_class('_meta', Options(meta, **kwargs))
1160cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/base.py", line 297, in add_to_class
1161cel_1 | value.contribute_to_class(cls, name)
1162cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/options.py", line 166, in contribute_to_class
1163cel_1 | self.db_table = truncate_name(self.db_table, connection.ops.max_name_length())
1164cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/__init__.py", line 40, in __getattr__
1165cel_1 | return getattr(connections[DEFAULT_DB_ALIAS], item)
1166cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 243, in __getitem__
1167cel_1 | conn = backend.DatabaseWrapper(db, alias)
1168cel_1 | File "/usr/local/lib/python3.4/site-packages/transaction_hooks/mixin.py", line 23, in __init__
1169cel_1 | super(TransactionHooksDatabaseWrapperMixin, self).__init__(*a, **kw)
1170cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/base.py", line 14, in __init__
1171cel_1 | self.ops = PostGISOperations(self)
1172cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 166, in __init__
1173cel_1 | if self.spatial_version < (1, 3, 4):
1174cel_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/functional.py", line 55, in __get__
1175cel_1 | res = instance.__dict__[self.func.__name__] = self.func(instance)
1176cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 266, in spatial_version
1177cel_1 | 'template?' % self.connection.settings_dict['NAME']
1178cel_1 | django.core.exceptions.ImproperlyConfigured: Cannot determine PostGIS version for database "test_askjack". GeoDjango requires at least PostGIS version 1.3. Was the database created from a spatial database template?
1179d_cel_1 exited with code 1
1180beat_1 | __ - ... __ - _
1181beat_1 | Configuration ->
1182beat_1 | . broker -> amqp://mq:**@mq:5672//
1183beat_1 | . loader -> celery.loaders.app.AppLoader
1184beat_1 | . scheduler -> djcelery.schedulers.DatabaseScheduler
1185beat_1 |
1186beat_1 | . logfile -> [stderr]@%INFO
1187beat_1 | . maxinterval -> now (0s)
1188beat_1 | [2019-01-25 18:26:13,313: INFO/MainProcess] beat: Starting...
1189beat_1 | [2019-01-25 18:26:13,313: INFO/MainProcess] Writing entries (0)...
1190pg_1 | 2019-01-25 15:26:13.335 GMT [85] ERROR: relation "djcelery_periodictask" does not exist at character 588
1191pg_1 | 2019-01-25 15:26:13.335 GMT [85] STATEMENT: SELECT "djcelery_periodictask"."id", "djcelery_periodictask"."name", "djcelery_periodictask"."task", "djcelery_periodictask"."interval_id", "djcelery_periodictask"."crontab_id", "djcelery_periodictask"."args", "djcelery_periodictask"."kwargs", "djcelery_periodictask"."queue", "djcelery_periodictask"."exchange", "djcelery_periodictask"."routing_key", "djcelery_periodictask"."expires", "djcelery_periodictask"."enabled", "djcelery_periodictask"."last_run_at", "djcelery_periodictask"."total_run_count", "djcelery_periodictask"."date_changed", "djcelery_periodictask"."description" FROM "djcelery_periodictask" WHERE "djcelery_periodictask"."enabled" = true
1192beat_1 | [2019-01-25 18:26:13,336: CRITICAL/MainProcess] beat raised exception <class 'django.db.utils.ProgrammingError'>: ProgrammingError('relation "djcelery_periodictask" does not exist\nLINE 1: ...nged", "djcelery_periodictask"."description" FROM "djcelery_...\n ^\n',)
1193beat_1 | Traceback (most recent call last):
1194beat_1 | File "/usr/local/lib/python3.4/site-packages/kombu/utils/__init__.py", line 323, in __get__
1195beat_1 | return obj.__dict__[self.__name__]
1196beat_1 | KeyError: 'scheduler'
1197beat_1 |
1198beat_1 | During handling of the above exception, another exception occurred:
1199beat_1 |
1200beat_1 | Traceback (most recent call last):
1201beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
1202beat_1 | return self.cursor.execute(sql, params)
1203beat_1 | psycopg2.ProgrammingError: relation "djcelery_periodictask" does not exist
1204beat_1 | LINE 1: ...nged", "djcelery_periodictask"."description" FROM "djcelery_...
1205beat_1 | ^
1206beat_1 |
1207beat_1 |
1208beat_1 | The above exception was the direct cause of the following exception:
1209beat_1 |
1210beat_1 | Traceback (most recent call last):
1211beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/apps/beat.py", line 112, in start_scheduler
1212beat_1 | beat.start()
1213beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 470, in start
1214beat_1 | humanize_seconds(self.scheduler.max_interval))
1215beat_1 | File "/usr/local/lib/python3.4/site-packages/kombu/utils/__init__.py", line 325, in __get__
1216beat_1 | value = obj.__dict__[self.__name__] = self.__get(obj)
1217beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 512, in scheduler
1218beat_1 | return self.get_scheduler()
1219beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 507, in get_scheduler
1220beat_1 | lazy=lazy)
1221beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/utils/imports.py", line 53, in instantiate
1222beat_1 | return symbol_by_name(name)(*args, **kwargs)
1223beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 152, in __init__
1224beat_1 | Scheduler.__init__(self, *args, **kwargs)
1225beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 185, in __init__
1226beat_1 | self.setup_schedule()
1227beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 159, in setup_schedule
1228beat_1 | self.install_default_entries(self.schedule)
1229beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 254, in schedule
1230beat_1 | self._schedule = self.all_as_schedule()
1231beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 165, in all_as_schedule
1232beat_1 | for model in self.Model.objects.enabled():
1233beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/query.py", line 141, in __iter__
1234beat_1 | self._fetch_all()
1235beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/query.py", line 966, in _fetch_all
1236beat_1 | self._result_cache = list(self.iterator())
1237beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/query.py", line 265, in iterator
1238beat_1 | for row in compiler.results_iter():
1239beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/sql/compiler.py", line 700, in results_iter
1240beat_1 | for rows in self.execute_sql(MULTI):
1241beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/sql/compiler.py", line 786, in execute_sql
1242beat_1 | cursor.execute(sql, params)
1243beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
1244beat_1 | return self.cursor.execute(sql, params)
1245beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 94, in __exit__
1246beat_1 | six.reraise(dj_exc_type, dj_exc_value, traceback)
1247beat_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/six.py", line 658, in reraise
1248beat_1 | raise value.with_traceback(tb)
1249beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
1250beat_1 | return self.cursor.execute(sql, params)
1251beat_1 | django.db.utils.ProgrammingError: relation "djcelery_periodictask" does not exist
1252beat_1 | LINE 1: ...nged", "djcelery_periodictask"."description" FROM "djcelery_...
1253beat_1 | ^
1254beat_1 |
1255beat_1 | [2019-01-25 18:26:13,349: INFO/MainProcess] Writing entries (0)...
1256beat_1 | [2019-01-25 18:26:13,350: INFO/MainProcess] Writing entries (0)...
1257pg_1 | 2019-01-25 15:26:14.634 GMT [86] LOG: incomplete startup packet
1258mq_1 | 2019-01-25 15:26:14.661 [info] <0.520.0> accepting AMQP connection <0.520.0> (172.18.0.5:51420 -> 172.18.0.3:5672)
1259mq_1 | 2019-01-25 15:26:14.661 [warning] <0.520.0> closing AMQP connection <0.520.0> (172.18.0.5:51420 -> 172.18.0.3:5672):
1260mq_1 | client unexpectedly closed TCP connection
1261pg_1 | 2019-01-25 15:26:15.699 GMT [87] LOG: incomplete startup packet
1262beat_1 | wait-for-it.sh: waiting 15 seconds for mq:5672
1263mq_1 | 2019-01-25 15:26:15.728 [info] <0.524.0> accepting AMQP connection <0.524.0> (172.18.0.6:42426 -> 172.18.0.3:5672)
1264mq_1 | 2019-01-25 15:26:15.731 [warning] <0.524.0> closing AMQP connection <0.524.0> (172.18.0.6:42426 -> 172.18.0.3:5672):
1265mq_1 | client unexpectedly closed TCP connection
1266beat_1 | wait-for-it.sh: mq:5672 is available after 0 seconds
1267pg_1 | 2019-01-25 15:26:16.736 GMT [88] ERROR: function postgis_lib_version() does not exist at character 8
1268pg_1 | 2019-01-25 15:26:16.736 GMT [88] HINT: No function matches the given name and argument types. You might need to add explicit type casts.
1269pg_1 | 2019-01-25 15:26:16.736 GMT [88] STATEMENT: SELECT postgis_lib_version()
1270cel_1 | Traceback (most recent call last):
1271cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
1272cel_1 | return self.cursor.execute(sql)
1273cel_1 | psycopg2.ProgrammingError: function postgis_lib_version() does not exist
1274cel_1 | LINE 1: SELECT postgis_lib_version()
1275cel_1 | ^
1276cel_1 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
1277cel_1 |
1278cel_1 |
1279cel_1 | The above exception was the direct cause of the following exception:
1280cel_1 |
1281cel_1 | Traceback (most recent call last):
1282cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 260, in spatial_version
1283cel_1 | vtup = self.postgis_version_tuple()
1284cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 434, in postgis_version_tuple
1285cel_1 | version = self.postgis_lib_version()
1286cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 414, in postgis_lib_version
1287cel_1 | return self._get_postgis_func('postgis_lib_version')
1288cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 405, in _get_postgis_func
1289cel_1 | cursor.execute('SELECT %s()' % func)
1290cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
1291cel_1 | return self.cursor.execute(sql, params)
1292cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 94, in __exit__
1293cel_1 | six.reraise(dj_exc_type, dj_exc_value, traceback)
1294cel_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/six.py", line 658, in reraise
1295cel_1 | raise value.with_traceback(tb)
1296cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
1297cel_1 | return self.cursor.execute(sql)
1298cel_1 | django.db.utils.ProgrammingError: function postgis_lib_version() does not exist
1299cel_1 | LINE 1: SELECT postgis_lib_version()
1300cel_1 | ^
1301cel_1 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
1302cel_1 |
1303cel_1 |
1304cel_1 | During handling of the above exception, another exception occurred:
1305cel_1 |
1306cel_1 | Traceback (most recent call last):
1307cel_1 | File "/app/manage_celery.py", line 8, in <module>
1308cel_1 | execute_from_command_line(sys.argv)
1309cel_1 | File "/usr/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
1310cel_1 | utility.execute()
1311cel_1 | File "/usr/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 354, in execute
1312cel_1 | django.setup()
1313cel_1 | File "/usr/local/lib/python3.4/site-packages/django/__init__.py", line 21, in setup
1314cel_1 | apps.populate(settings.INSTALLED_APPS)
1315cel_1 | File "/usr/local/lib/python3.4/site-packages/django/apps/registry.py", line 85, in populate
1316cel_1 | app_config = AppConfig.create(entry)
1317cel_1 | File "/usr/local/lib/python3.4/site-packages/django/apps/config.py", line 87, in create
1318cel_1 | module = import_module(entry)
1319cel_1 | File "/usr/local/lib/python3.4/importlib/__init__.py", line 109, in import_module
1320cel_1 | return _bootstrap._gcd_import(name[level:], package, level)
1321cel_1 | File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1322cel_1 | File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1323cel_1 | File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1324cel_1 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1325cel_1 | File "<frozen importlib._bootstrap>", line 1129, in _exec
1326cel_1 | File "<frozen importlib._bootstrap>", line 1471, in exec_module
1327cel_1 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1328cel_1 | File "/app/main/__init__.py", line 1, in <module>
1329cel_1 | from .monkeypatch import *
1330cel_1 | File "/app/main/monkeypatch/__init__.py", line 1, in <module>
1331cel_1 | from .guardian_monkeypatch import *
1332cel_1 | File "/app/main/monkeypatch/guardian_monkeypatch.py", line 6, in <module>
1333cel_1 | from guardian.admin import GuardedModelAdminMixin
1334cel_1 | File "/usr/local/lib/python3.4/site-packages/guardian/admin.py", line 11, in <module>
1335cel_1 | from guardian.compat import get_model_name, get_user_model, OrderedDict, url
1336cel_1 | File "/usr/local/lib/python3.4/site-packages/guardian/compat.py", line 8, in <module>
1337cel_1 | from django.contrib.auth.models import AnonymousUser, Group, Permission
1338cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/auth/models.py", line 40, in <module>
1339cel_1 | class Permission(models.Model):
1340cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/base.py", line 122, in __new__
1341cel_1 | new_class.add_to_class('_meta', Options(meta, **kwargs))
1342cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/base.py", line 297, in add_to_class
1343cel_1 | value.contribute_to_class(cls, name)
1344cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/options.py", line 166, in contribute_to_class
1345cel_1 | self.db_table = truncate_name(self.db_table, connection.ops.max_name_length())
1346cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/__init__.py", line 40, in __getattr__
1347cel_1 | return getattr(connections[DEFAULT_DB_ALIAS], item)
1348cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 243, in __getitem__
1349cel_1 | conn = backend.DatabaseWrapper(db, alias)
1350cel_1 | File "/usr/local/lib/python3.4/site-packages/transaction_hooks/mixin.py", line 23, in __init__
1351cel_1 | super(TransactionHooksDatabaseWrapperMixin, self).__init__(*a, **kw)
1352cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/base.py", line 14, in __init__
1353cel_1 | self.ops = PostGISOperations(self)
1354cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 166, in __init__
1355cel_1 | if self.spatial_version < (1, 3, 4):
1356cel_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/functional.py", line 55, in __get__
1357cel_1 | res = instance.__dict__[self.func.__name__] = self.func(instance)
1358cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 266, in spatial_version
1359cel_1 | 'template?' % self.connection.settings_dict['NAME']
1360cel_1 | django.core.exceptions.ImproperlyConfigured: Cannot determine PostGIS version for database "test_askjack". GeoDjango requires at least PostGIS version 1.3. Was the database created from a spatial database template?
1361beat_1 | celery beat v3.1.25 (Cipater) is starting.
1362d_cel_1 exited with code 1
1363pg_1 | 2019-01-25 15:26:18.833 GMT [89] LOG: incomplete startup packet
1364cel_1 | wait-for-it.sh: waiting 15 seconds for mq:5672
1365mq_1 | 2019-01-25 15:26:18.874 [info] <0.528.0> accepting AMQP connection <0.528.0> (172.18.0.5:51430 -> 172.18.0.3:5672)
1366mq_1 | 2019-01-25 15:26:18.875 [warning] <0.528.0> closing AMQP connection <0.528.0> (172.18.0.5:51430 -> 172.18.0.3:5672):
1367mq_1 | client unexpectedly closed TCP connection
1368cel_1 | wait-for-it.sh: mq:5672 is available after 0 seconds
1369pg_1 | 2019-01-25 15:26:20.644 GMT [90] ERROR: function postgis_lib_version() does not exist at character 8
1370pg_1 | 2019-01-25 15:26:20.644 GMT [90] HINT: No function matches the given name and argument types. You might need to add explicit type casts.
1371pg_1 | 2019-01-25 15:26:20.644 GMT [90] STATEMENT: SELECT postgis_lib_version()
1372cel_1 | Traceback (most recent call last):
1373cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
1374cel_1 | return self.cursor.execute(sql)
1375cel_1 | psycopg2.ProgrammingError: function postgis_lib_version() does not exist
1376cel_1 | LINE 1: SELECT postgis_lib_version()
1377cel_1 | ^
1378cel_1 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
1379cel_1 |
1380cel_1 |
1381cel_1 | The above exception was the direct cause of the following exception:
1382cel_1 |
1383cel_1 | Traceback (most recent call last):
1384cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 260, in spatial_version
1385cel_1 | vtup = self.postgis_version_tuple()
1386cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 434, in postgis_version_tuple
1387cel_1 | version = self.postgis_lib_version()
1388cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 414, in postgis_lib_version
1389cel_1 | return self._get_postgis_func('postgis_lib_version')
1390cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 405, in _get_postgis_func
1391cel_1 | cursor.execute('SELECT %s()' % func)
1392cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
1393cel_1 | return self.cursor.execute(sql, params)
1394cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 94, in __exit__
1395cel_1 | six.reraise(dj_exc_type, dj_exc_value, traceback)
1396cel_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/six.py", line 658, in reraise
1397cel_1 | raise value.with_traceback(tb)
1398cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
1399cel_1 | return self.cursor.execute(sql)
1400cel_1 | django.db.utils.ProgrammingError: function postgis_lib_version() does not exist
1401cel_1 | LINE 1: SELECT postgis_lib_version()
1402cel_1 | ^
1403cel_1 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
1404cel_1 |
1405cel_1 |
1406cel_1 | During handling of the above exception, another exception occurred:
1407cel_1 |
1408cel_1 | Traceback (most recent call last):
1409cel_1 | File "/app/manage_celery.py", line 8, in <module>
1410cel_1 | execute_from_command_line(sys.argv)
1411cel_1 | File "/usr/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
1412cel_1 | utility.execute()
1413cel_1 | File "/usr/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 354, in execute
1414cel_1 | django.setup()
1415cel_1 | File "/usr/local/lib/python3.4/site-packages/django/__init__.py", line 21, in setup
1416cel_1 | apps.populate(settings.INSTALLED_APPS)
1417cel_1 | File "/usr/local/lib/python3.4/site-packages/django/apps/registry.py", line 85, in populate
1418cel_1 | app_config = AppConfig.create(entry)
1419cel_1 | File "/usr/local/lib/python3.4/site-packages/django/apps/config.py", line 87, in create
1420cel_1 | module = import_module(entry)
1421cel_1 | File "/usr/local/lib/python3.4/importlib/__init__.py", line 109, in import_module
1422cel_1 | return _bootstrap._gcd_import(name[level:], package, level)
1423cel_1 | File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1424cel_1 | File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1425cel_1 | File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1426cel_1 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1427cel_1 | File "<frozen importlib._bootstrap>", line 1129, in _exec
1428cel_1 | File "<frozen importlib._bootstrap>", line 1471, in exec_module
1429cel_1 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1430cel_1 | File "/app/main/__init__.py", line 1, in <module>
1431cel_1 | from .monkeypatch import *
1432cel_1 | File "/app/main/monkeypatch/__init__.py", line 1, in <module>
1433cel_1 | from .guardian_monkeypatch import *
1434cel_1 | File "/app/main/monkeypatch/guardian_monkeypatch.py", line 6, in <module>
1435cel_1 | from guardian.admin import GuardedModelAdminMixin
1436cel_1 | File "/usr/local/lib/python3.4/site-packages/guardian/admin.py", line 11, in <module>
1437cel_1 | from guardian.compat import get_model_name, get_user_model, OrderedDict, url
1438cel_1 | File "/usr/local/lib/python3.4/site-packages/guardian/compat.py", line 8, in <module>
1439cel_1 | from django.contrib.auth.models import AnonymousUser, Group, Permission
1440cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/auth/models.py", line 40, in <module>
1441cel_1 | class Permission(models.Model):
1442cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/base.py", line 122, in __new__
1443cel_1 | new_class.add_to_class('_meta', Options(meta, **kwargs))
1444cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/base.py", line 297, in add_to_class
1445cel_1 | value.contribute_to_class(cls, name)
1446cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/options.py", line 166, in contribute_to_class
1447cel_1 | self.db_table = truncate_name(self.db_table, connection.ops.max_name_length())
1448cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/__init__.py", line 40, in __getattr__
1449cel_1 | return getattr(connections[DEFAULT_DB_ALIAS], item)
1450cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 243, in __getitem__
1451cel_1 | conn = backend.DatabaseWrapper(db, alias)
1452cel_1 | File "/usr/local/lib/python3.4/site-packages/transaction_hooks/mixin.py", line 23, in __init__
1453cel_1 | super(TransactionHooksDatabaseWrapperMixin, self).__init__(*a, **kw)
1454cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/base.py", line 14, in __init__
1455cel_1 | self.ops = PostGISOperations(self)
1456cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 166, in __init__
1457cel_1 | if self.spatial_version < (1, 3, 4):
1458cel_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/functional.py", line 55, in __get__
1459cel_1 | res = instance.__dict__[self.func.__name__] = self.func(instance)
1460cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 266, in spatial_version
1461cel_1 | 'template?' % self.connection.settings_dict['NAME']
1462cel_1 | django.core.exceptions.ImproperlyConfigured: Cannot determine PostGIS version for database "test_askjack". GeoDjango requires at least PostGIS version 1.3. Was the database created from a spatial database template?
1463d_cel_1 exited with code 1
1464beat_1 | Ðет кÑша "efcache", задайте, еÑли Ñто не теÑÑ‚Ð¾Ð²Ð°Ñ Ñреда
1465beat_1 | __ - ... __ - _
1466beat_1 | Configuration ->
1467beat_1 | . broker -> amqp://mq:**@mq:5672//
1468beat_1 | . loader -> celery.loaders.app.AppLoader
1469beat_1 | . scheduler -> djcelery.schedulers.DatabaseScheduler
1470beat_1 |
1471beat_1 | . logfile -> [stderr]@%INFO
1472beat_1 | . maxinterval -> now (0s)
1473beat_1 | [2019-01-25 18:26:23,219: INFO/MainProcess] beat: Starting...
1474beat_1 | [2019-01-25 18:26:23,219: INFO/MainProcess] Writing entries (0)...
1475pg_1 | 2019-01-25 15:26:23.290 GMT [91] ERROR: relation "djcelery_periodictask" does not exist at character 588
1476pg_1 | 2019-01-25 15:26:23.290 GMT [91] STATEMENT: SELECT "djcelery_periodictask"."id", "djcelery_periodictask"."name", "djcelery_periodictask"."task", "djcelery_periodictask"."interval_id", "djcelery_periodictask"."crontab_id", "djcelery_periodictask"."args", "djcelery_periodictask"."kwargs", "djcelery_periodictask"."queue", "djcelery_periodictask"."exchange", "djcelery_periodictask"."routing_key", "djcelery_periodictask"."expires", "djcelery_periodictask"."enabled", "djcelery_periodictask"."last_run_at", "djcelery_periodictask"."total_run_count", "djcelery_periodictask"."date_changed", "djcelery_periodictask"."description" FROM "djcelery_periodictask" WHERE "djcelery_periodictask"."enabled" = true
1477beat_1 | [2019-01-25 18:26:23,291: CRITICAL/MainProcess] beat raised exception <class 'django.db.utils.ProgrammingError'>: ProgrammingError('relation "djcelery_periodictask" does not exist\nLINE 1: ...nged", "djcelery_periodictask"."description" FROM "djcelery_...\n ^\n',)
1478beat_1 | Traceback (most recent call last):
1479beat_1 | File "/usr/local/lib/python3.4/site-packages/kombu/utils/__init__.py", line 323, in __get__
1480beat_1 | return obj.__dict__[self.__name__]
1481beat_1 | KeyError: 'scheduler'
1482beat_1 |
1483beat_1 | During handling of the above exception, another exception occurred:
1484beat_1 |
1485beat_1 | Traceback (most recent call last):
1486beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
1487beat_1 | return self.cursor.execute(sql, params)
1488beat_1 | psycopg2.ProgrammingError: relation "djcelery_periodictask" does not exist
1489beat_1 | LINE 1: ...nged", "djcelery_periodictask"."description" FROM "djcelery_...
1490beat_1 | ^
1491beat_1 |
1492beat_1 |
1493beat_1 | The above exception was the direct cause of the following exception:
1494beat_1 |
1495beat_1 | Traceback (most recent call last):
1496beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/apps/beat.py", line 112, in start_scheduler
1497beat_1 | beat.start()
1498beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 470, in start
1499beat_1 | humanize_seconds(self.scheduler.max_interval))
1500beat_1 | File "/usr/local/lib/python3.4/site-packages/kombu/utils/__init__.py", line 325, in __get__
1501beat_1 | value = obj.__dict__[self.__name__] = self.__get(obj)
1502beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 512, in scheduler
1503beat_1 | return self.get_scheduler()
1504beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 507, in get_scheduler
1505beat_1 | lazy=lazy)
1506beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/utils/imports.py", line 53, in instantiate
1507beat_1 | return symbol_by_name(name)(*args, **kwargs)
1508beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 152, in __init__
1509beat_1 | Scheduler.__init__(self, *args, **kwargs)
1510beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 185, in __init__
1511beat_1 | self.setup_schedule()
1512beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 159, in setup_schedule
1513beat_1 | self.install_default_entries(self.schedule)
1514beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 254, in schedule
1515beat_1 | self._schedule = self.all_as_schedule()
1516beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 165, in all_as_schedule
1517beat_1 | for model in self.Model.objects.enabled():
1518beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/query.py", line 141, in __iter__
1519beat_1 | self._fetch_all()
1520beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/query.py", line 966, in _fetch_all
1521beat_1 | self._result_cache = list(self.iterator())
1522beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/query.py", line 265, in iterator
1523beat_1 | for row in compiler.results_iter():
1524beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/sql/compiler.py", line 700, in results_iter
1525beat_1 | for rows in self.execute_sql(MULTI):
1526beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/sql/compiler.py", line 786, in execute_sql
1527beat_1 | cursor.execute(sql, params)
1528beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
1529beat_1 | return self.cursor.execute(sql, params)
1530beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 94, in __exit__
1531beat_1 | six.reraise(dj_exc_type, dj_exc_value, traceback)
1532beat_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/six.py", line 658, in reraise
1533beat_1 | raise value.with_traceback(tb)
1534beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
1535beat_1 | return self.cursor.execute(sql, params)
1536beat_1 | django.db.utils.ProgrammingError: relation "djcelery_periodictask" does not exist
1537beat_1 | LINE 1: ...nged", "djcelery_periodictask"."description" FROM "djcelery_...
1538beat_1 | ^
1539beat_1 |
1540beat_1 | [2019-01-25 18:26:23,315: INFO/MainProcess] Writing entries (0)...
1541beat_1 | [2019-01-25 18:26:23,316: INFO/MainProcess] Writing entries (0)...
1542cel_1 | rm: cannot remove ‘/app/*.pid’: No such file or directory
1543cel_1 | wait-for-it.sh: waiting 15 seconds for pg:5432
1544pg_1 | 2019-01-25 15:26:24.060 GMT [92] LOG: incomplete startup packet
1545cel_1 | wait-for-it.sh: pg:5432 is available after 0 seconds
1546cel_1 | wait-for-it.sh: waiting 15 seconds for mq:5672
1547cel_1 | wait-for-it.sh: mq:5672 is available after 0 seconds
1548mq_1 | 2019-01-25 15:26:24.088 [info] <0.532.0> accepting AMQP connection <0.532.0> (172.18.0.5:51438 -> 172.18.0.3:5672)
1549mq_1 | 2019-01-25 15:26:24.090 [warning] <0.532.0> closing AMQP connection <0.532.0> (172.18.0.5:51438 -> 172.18.0.3:5672):
1550mq_1 | client unexpectedly closed TCP connection
1551d_beat_1 exited with code 0
1552pg_1 | 2019-01-25 15:26:26.639 GMT [93] LOG: incomplete startup packet
1553beat_1 | wait-for-it.sh: pg:5432 is available after 0 seconds
1554beat_1 | wait-for-it.sh: waiting 15 seconds for mq:5672
1555mq_1 | 2019-01-25 15:26:26.671 [info] <0.536.0> accepting AMQP connection <0.536.0> (172.18.0.6:42444 -> 172.18.0.3:5672)
1556mq_1 | 2019-01-25 15:26:26.672 [warning] <0.536.0> closing AMQP connection <0.536.0> (172.18.0.6:42444 -> 172.18.0.3:5672):
1557mq_1 | client unexpectedly closed TCP connection
1558beat_1 | wait-for-it.sh: mq:5672 is available after 0 seconds
1559pg_1 | 2019-01-25 15:26:27.036 GMT [94] ERROR: function postgis_lib_version() does not exist at character 8
1560pg_1 | 2019-01-25 15:26:27.036 GMT [94] HINT: No function matches the given name and argument types. You might need to add explicit type casts.
1561pg_1 | 2019-01-25 15:26:27.036 GMT [94] STATEMENT: SELECT postgis_lib_version()
1562cel_1 | Traceback (most recent call last):
1563cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
1564cel_1 | return self.cursor.execute(sql)
1565cel_1 | psycopg2.ProgrammingError: function postgis_lib_version() does not exist
1566cel_1 | LINE 1: SELECT postgis_lib_version()
1567cel_1 | ^
1568cel_1 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
1569cel_1 |
1570cel_1 |
1571cel_1 | The above exception was the direct cause of the following exception:
1572cel_1 |
1573cel_1 | Traceback (most recent call last):
1574cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 260, in spatial_version
1575cel_1 | vtup = self.postgis_version_tuple()
1576cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 434, in postgis_version_tuple
1577cel_1 | version = self.postgis_lib_version()
1578cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 414, in postgis_lib_version
1579cel_1 | return self._get_postgis_func('postgis_lib_version')
1580cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 405, in _get_postgis_func
1581cel_1 | cursor.execute('SELECT %s()' % func)
1582cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
1583cel_1 | return self.cursor.execute(sql, params)
1584cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 94, in __exit__
1585cel_1 | six.reraise(dj_exc_type, dj_exc_value, traceback)
1586cel_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/six.py", line 658, in reraise
1587cel_1 | raise value.with_traceback(tb)
1588cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
1589cel_1 | return self.cursor.execute(sql)
1590cel_1 | django.db.utils.ProgrammingError: function postgis_lib_version() does not exist
1591cel_1 | LINE 1: SELECT postgis_lib_version()
1592cel_1 | ^
1593cel_1 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
1594cel_1 |
1595cel_1 |
1596cel_1 | During handling of the above exception, another exception occurred:
1597cel_1 |
1598cel_1 | Traceback (most recent call last):
1599cel_1 | File "/app/manage_celery.py", line 8, in <module>
1600cel_1 | execute_from_command_line(sys.argv)
1601cel_1 | File "/usr/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
1602cel_1 | utility.execute()
1603cel_1 | File "/usr/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 354, in execute
1604cel_1 | django.setup()
1605cel_1 | File "/usr/local/lib/python3.4/site-packages/django/__init__.py", line 21, in setup
1606cel_1 | apps.populate(settings.INSTALLED_APPS)
1607cel_1 | File "/usr/local/lib/python3.4/site-packages/django/apps/registry.py", line 85, in populate
1608cel_1 | app_config = AppConfig.create(entry)
1609cel_1 | File "/usr/local/lib/python3.4/site-packages/django/apps/config.py", line 87, in create
1610cel_1 | module = import_module(entry)
1611cel_1 | File "/usr/local/lib/python3.4/importlib/__init__.py", line 109, in import_module
1612cel_1 | return _bootstrap._gcd_import(name[level:], package, level)
1613cel_1 | File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1614cel_1 | File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1615cel_1 | File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1616cel_1 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1617cel_1 | File "<frozen importlib._bootstrap>", line 1129, in _exec
1618cel_1 | File "<frozen importlib._bootstrap>", line 1471, in exec_module
1619cel_1 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1620cel_1 | File "/app/main/__init__.py", line 1, in <module>
1621cel_1 | from .monkeypatch import *
1622cel_1 | File "/app/main/monkeypatch/__init__.py", line 1, in <module>
1623cel_1 | from .guardian_monkeypatch import *
1624cel_1 | File "/app/main/monkeypatch/guardian_monkeypatch.py", line 6, in <module>
1625cel_1 | from guardian.admin import GuardedModelAdminMixin
1626cel_1 | File "/usr/local/lib/python3.4/site-packages/guardian/admin.py", line 11, in <module>
1627cel_1 | from guardian.compat import get_model_name, get_user_model, OrderedDict, url
1628cel_1 | File "/usr/local/lib/python3.4/site-packages/guardian/compat.py", line 8, in <module>
1629cel_1 | from django.contrib.auth.models import AnonymousUser, Group, Permission
1630cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/auth/models.py", line 40, in <module>
1631cel_1 | class Permission(models.Model):
1632cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/base.py", line 122, in __new__
1633cel_1 | new_class.add_to_class('_meta', Options(meta, **kwargs))
1634cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/base.py", line 297, in add_to_class
1635cel_1 | value.contribute_to_class(cls, name)
1636cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/options.py", line 166, in contribute_to_class
1637cel_1 | self.db_table = truncate_name(self.db_table, connection.ops.max_name_length())
1638cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/__init__.py", line 40, in __getattr__
1639cel_1 | return getattr(connections[DEFAULT_DB_ALIAS], item)
1640cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 243, in __getitem__
1641cel_1 | conn = backend.DatabaseWrapper(db, alias)
1642cel_1 | File "/usr/local/lib/python3.4/site-packages/transaction_hooks/mixin.py", line 23, in __init__
1643cel_1 | super(TransactionHooksDatabaseWrapperMixin, self).__init__(*a, **kw)
1644cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/base.py", line 14, in __init__
1645cel_1 | self.ops = PostGISOperations(self)
1646cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 166, in __init__
1647cel_1 | if self.spatial_version < (1, 3, 4):
1648cel_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/functional.py", line 55, in __get__
1649cel_1 | res = instance.__dict__[self.func.__name__] = self.func(instance)
1650cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 266, in spatial_version
1651cel_1 | 'template?' % self.connection.settings_dict['NAME']
1652cel_1 | django.core.exceptions.ImproperlyConfigured: Cannot determine PostGIS version for database "test_askjack". GeoDjango requires at least PostGIS version 1.3. Was the database created from a spatial database template?
1653test.vpn | Backing up /etc/openvpn/ovpn_env.sh -> /etc/openvpn/ovpn_env.sh.1548429987.bak
1654test.vpn | Backing up /etc/openvpn/openvpn.conf -> /etc/openvpn/openvpn.conf.1548429987.bak
1655test.vpn | Disable default push of 'block-outside-dns'
1656test.vpn | Processing PUSH Config: 'dhcp-option DNS 172.66.0.1'
1657test.vpn | Processing PUSH Config: 'comp-lzo no'
1658test.vpn | Processing PUSH Config: 'route 172.16.0.0 255.240.0.0'
1659test.vpn | Files /etc/openvpn/ovpn_env.sh.1548429987.bak and /etc/openvpn/ovpn_env.sh differ
1660test.vpn | Removing duplicate back-up: /etc/openvpn/openvpn.conf.1548429987.bak
1661test.vpn | removed '/etc/openvpn/openvpn.conf.1548429987.bak'
1662test.vpn | Successfully generated config
1663test.vpn | Cleaning up before Exit ...
1664test.vpn | iptables: No chain/target/match by that name.
1665test.vpn | Enabling IPv6 Forwarding
1666test.vpn | sysctl: error setting key 'net.ipv6.conf.all.disable_ipv6': Read-only file system
1667test.vpn | Failed to enable IPv6 support
1668test.vpn | sysctl: error setting key 'net.ipv6.conf.default.forwarding': Read-only file system
1669test.vpn | Failed to enable IPv6 Forwarding default
1670test.vpn | sysctl: error setting key 'net.ipv6.conf.all.forwarding': Read-only file system
1671test.vpn | Failed to enable IPv6 Forwarding
1672test.vpn | Running 'openvpn --config /etc/openvpn/openvpn.conf --client-config-dir /etc/openvpn/ccd '
1673test.vpn | Options error: --dh fails with '/etc/openvpn/pki/dh.pem': No such file or directory (errno=2)
1674test.vpn | Options error: --ca fails with '/etc/openvpn/pki/ca.crt': No such file or directory (errno=2)
1675test.vpn | Options error: --cert fails with '/etc/openvpn/pki/issued/test.askjack.ru.crt': No such file or directory (errno=2)
1676test.vpn | Fri Jan 25 15:26:27 2019 WARNING: cannot stat file '/etc/openvpn/pki/private/test.askjack.ru.key': No such file or directory (errno=2)
1677test.vpn | Options error: --key fails with '/etc/openvpn/pki/private/test.askjack.ru.key': No such file or directory (errno=2)
1678test.vpn | Fri Jan 25 15:26:27 2019 WARNING: cannot stat file '/etc/openvpn/pki/ta.key': No such file or directory (errno=2)
1679test.vpn | Options error: --tls-auth fails with '/etc/openvpn/pki/ta.key': No such file or directory (errno=2)
1680test.vpn | Options error: Please correct these errors.
1681test.vpn | Use --help for more information.
1682test.vpn exited with code 1
1683d_cel_1 exited with code 1
1684beat_1 | celery beat v3.1.25 (Cipater) is starting.
1685cel_1 | rm: cannot remove ‘/app/*.pid’: No such file or directory
1686cel_1 | wait-for-it.sh: waiting 15 seconds for pg:5432
1687cel_1 | wait-for-it.sh: pg:5432 is available after 0 seconds
1688pg_1 | 2019-01-25 15:26:32.196 GMT [95] LOG: incomplete startup packet
1689cel_1 | wait-for-it.sh: waiting 15 seconds for mq:5672
1690mq_1 | 2019-01-25 15:26:32.216 [info] <0.540.0> accepting AMQP connection <0.540.0> (172.18.0.5:51448 -> 172.18.0.3:5672)
1691mq_1 | 2019-01-25 15:26:32.216 [warning] <0.540.0> closing AMQP connection <0.540.0> (172.18.0.5:51448 -> 172.18.0.3:5672):
1692mq_1 | client unexpectedly closed TCP connection
1693cel_1 | wait-for-it.sh: mq:5672 is available after 0 seconds
1694beat_1 | Ðет кÑша "efcache", задайте, еÑли Ñто не теÑÑ‚Ð¾Ð²Ð°Ñ Ñреда
1695beat_1 | __ - ... __ - _
1696beat_1 | Configuration ->
1697beat_1 | . broker -> amqp://mq:**@mq:5672//
1698beat_1 | . loader -> celery.loaders.app.AppLoader
1699beat_1 | . scheduler -> djcelery.schedulers.DatabaseScheduler
1700beat_1 |
1701beat_1 | . logfile -> [stderr]@%INFO
1702beat_1 | . maxinterval -> now (0s)
1703beat_1 | [2019-01-25 18:26:33,562: INFO/MainProcess] beat: Starting...
1704beat_1 | [2019-01-25 18:26:33,562: INFO/MainProcess] Writing entries (0)...
1705pg_1 | 2019-01-25 15:26:33.642 GMT [96] ERROR: relation "djcelery_periodictask" does not exist at character 588
1706pg_1 | 2019-01-25 15:26:33.642 GMT [96] STATEMENT: SELECT "djcelery_periodictask"."id", "djcelery_periodictask"."name", "djcelery_periodictask"."task", "djcelery_periodictask"."interval_id", "djcelery_periodictask"."crontab_id", "djcelery_periodictask"."args", "djcelery_periodictask"."kwargs", "djcelery_periodictask"."queue", "djcelery_periodictask"."exchange", "djcelery_periodictask"."routing_key", "djcelery_periodictask"."expires", "djcelery_periodictask"."enabled", "djcelery_periodictask"."last_run_at", "djcelery_periodictask"."total_run_count", "djcelery_periodictask"."date_changed", "djcelery_periodictask"."description" FROM "djcelery_periodictask" WHERE "djcelery_periodictask"."enabled" = true
1707beat_1 | [2019-01-25 18:26:33,643: CRITICAL/MainProcess] beat raised exception <class 'django.db.utils.ProgrammingError'>: ProgrammingError('relation "djcelery_periodictask" does not exist\nLINE 1: ...nged", "djcelery_periodictask"."description" FROM "djcelery_...\n ^\n',)
1708beat_1 | Traceback (most recent call last):
1709beat_1 | File "/usr/local/lib/python3.4/site-packages/kombu/utils/__init__.py", line 323, in __get__
1710beat_1 | return obj.__dict__[self.__name__]
1711beat_1 | KeyError: 'scheduler'
1712beat_1 |
1713beat_1 | During handling of the above exception, another exception occurred:
1714beat_1 |
1715beat_1 | Traceback (most recent call last):
1716beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
1717beat_1 | return self.cursor.execute(sql, params)
1718beat_1 | psycopg2.ProgrammingError: relation "djcelery_periodictask" does not exist
1719beat_1 | LINE 1: ...nged", "djcelery_periodictask"."description" FROM "djcelery_...
1720beat_1 | ^
1721beat_1 |
1722beat_1 |
1723beat_1 | The above exception was the direct cause of the following exception:
1724beat_1 |
1725beat_1 | Traceback (most recent call last):
1726beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/apps/beat.py", line 112, in start_scheduler
1727beat_1 | beat.start()
1728beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 470, in start
1729beat_1 | humanize_seconds(self.scheduler.max_interval))
1730beat_1 | File "/usr/local/lib/python3.4/site-packages/kombu/utils/__init__.py", line 325, in __get__
1731beat_1 | value = obj.__dict__[self.__name__] = self.__get(obj)
1732beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 512, in scheduler
1733beat_1 | return self.get_scheduler()
1734beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 507, in get_scheduler
1735beat_1 | lazy=lazy)
1736beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/utils/imports.py", line 53, in instantiate
1737beat_1 | return symbol_by_name(name)(*args, **kwargs)
1738beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 152, in __init__
1739beat_1 | Scheduler.__init__(self, *args, **kwargs)
1740beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 185, in __init__
1741beat_1 | self.setup_schedule()
1742beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 159, in setup_schedule
1743beat_1 | self.install_default_entries(self.schedule)
1744beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 254, in schedule
1745beat_1 | self._schedule = self.all_as_schedule()
1746beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 165, in all_as_schedule
1747beat_1 | for model in self.Model.objects.enabled():
1748beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/query.py", line 141, in __iter__
1749beat_1 | self._fetch_all()
1750beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/query.py", line 966, in _fetch_all
1751beat_1 | self._result_cache = list(self.iterator())
1752beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/query.py", line 265, in iterator
1753beat_1 | for row in compiler.results_iter():
1754beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/sql/compiler.py", line 700, in results_iter
1755beat_1 | for rows in self.execute_sql(MULTI):
1756beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/sql/compiler.py", line 786, in execute_sql
1757beat_1 | cursor.execute(sql, params)
1758beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
1759beat_1 | return self.cursor.execute(sql, params)
1760beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 94, in __exit__
1761beat_1 | six.reraise(dj_exc_type, dj_exc_value, traceback)
1762beat_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/six.py", line 658, in reraise
1763beat_1 | raise value.with_traceback(tb)
1764beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
1765beat_1 | return self.cursor.execute(sql, params)
1766beat_1 | django.db.utils.ProgrammingError: relation "djcelery_periodictask" does not exist
1767beat_1 | LINE 1: ...nged", "djcelery_periodictask"."description" FROM "djcelery_...
1768beat_1 | ^
1769beat_1 |
1770beat_1 | [2019-01-25 18:26:33,657: INFO/MainProcess] Writing entries (0)...
1771beat_1 | [2019-01-25 18:26:33,657: INFO/MainProcess] Writing entries (0)...
1772pg_1 | 2019-01-25 15:26:34.407 GMT [97] ERROR: function postgis_lib_version() does not exist at character 8
1773pg_1 | 2019-01-25 15:26:34.407 GMT [97] HINT: No function matches the given name and argument types. You might need to add explicit type casts.
1774pg_1 | 2019-01-25 15:26:34.407 GMT [97] STATEMENT: SELECT postgis_lib_version()
1775cel_1 | Traceback (most recent call last):
1776cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
1777cel_1 | return self.cursor.execute(sql)
1778cel_1 | psycopg2.ProgrammingError: function postgis_lib_version() does not exist
1779cel_1 | LINE 1: SELECT postgis_lib_version()
1780cel_1 | ^
1781cel_1 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
1782cel_1 |
1783cel_1 |
1784cel_1 | The above exception was the direct cause of the following exception:
1785cel_1 |
1786cel_1 | Traceback (most recent call last):
1787cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 260, in spatial_version
1788cel_1 | vtup = self.postgis_version_tuple()
1789cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 434, in postgis_version_tuple
1790cel_1 | version = self.postgis_lib_version()
1791cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 414, in postgis_lib_version
1792cel_1 | return self._get_postgis_func('postgis_lib_version')
1793cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 405, in _get_postgis_func
1794cel_1 | cursor.execute('SELECT %s()' % func)
1795cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
1796cel_1 | return self.cursor.execute(sql, params)
1797cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 94, in __exit__
1798cel_1 | six.reraise(dj_exc_type, dj_exc_value, traceback)
1799cel_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/six.py", line 658, in reraise
1800cel_1 | raise value.with_traceback(tb)
1801cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
1802cel_1 | return self.cursor.execute(sql)
1803cel_1 | django.db.utils.ProgrammingError: function postgis_lib_version() does not exist
1804cel_1 | LINE 1: SELECT postgis_lib_version()
1805cel_1 | ^
1806cel_1 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
1807cel_1 |
1808cel_1 |
1809cel_1 | During handling of the above exception, another exception occurred:
1810cel_1 |
1811cel_1 | Traceback (most recent call last):
1812cel_1 | File "/app/manage_celery.py", line 8, in <module>
1813cel_1 | execute_from_command_line(sys.argv)
1814cel_1 | File "/usr/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
1815cel_1 | utility.execute()
1816cel_1 | File "/usr/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 354, in execute
1817cel_1 | django.setup()
1818cel_1 | File "/usr/local/lib/python3.4/site-packages/django/__init__.py", line 21, in setup
1819cel_1 | apps.populate(settings.INSTALLED_APPS)
1820cel_1 | File "/usr/local/lib/python3.4/site-packages/django/apps/registry.py", line 85, in populate
1821cel_1 | app_config = AppConfig.create(entry)
1822cel_1 | File "/usr/local/lib/python3.4/site-packages/django/apps/config.py", line 87, in create
1823cel_1 | module = import_module(entry)
1824cel_1 | File "/usr/local/lib/python3.4/importlib/__init__.py", line 109, in import_module
1825cel_1 | return _bootstrap._gcd_import(name[level:], package, level)
1826cel_1 | File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1827cel_1 | File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1828cel_1 | File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1829cel_1 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1830cel_1 | File "<frozen importlib._bootstrap>", line 1129, in _exec
1831cel_1 | File "<frozen importlib._bootstrap>", line 1471, in exec_module
1832cel_1 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1833cel_1 | File "/app/main/__init__.py", line 1, in <module>
1834cel_1 | from .monkeypatch import *
1835cel_1 | File "/app/main/monkeypatch/__init__.py", line 1, in <module>
1836cel_1 | from .guardian_monkeypatch import *
1837cel_1 | File "/app/main/monkeypatch/guardian_monkeypatch.py", line 6, in <module>
1838cel_1 | from guardian.admin import GuardedModelAdminMixin
1839cel_1 | File "/usr/local/lib/python3.4/site-packages/guardian/admin.py", line 11, in <module>
1840cel_1 | from guardian.compat import get_model_name, get_user_model, OrderedDict, url
1841cel_1 | File "/usr/local/lib/python3.4/site-packages/guardian/compat.py", line 8, in <module>
1842cel_1 | from django.contrib.auth.models import AnonymousUser, Group, Permission
1843cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/auth/models.py", line 40, in <module>
1844cel_1 | class Permission(models.Model):
1845cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/base.py", line 122, in __new__
1846cel_1 | new_class.add_to_class('_meta', Options(meta, **kwargs))
1847cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/base.py", line 297, in add_to_class
1848cel_1 | value.contribute_to_class(cls, name)
1849cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/options.py", line 166, in contribute_to_class
1850cel_1 | self.db_table = truncate_name(self.db_table, connection.ops.max_name_length())
1851cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/__init__.py", line 40, in __getattr__
1852cel_1 | return getattr(connections[DEFAULT_DB_ALIAS], item)
1853cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 243, in __getitem__
1854cel_1 | conn = backend.DatabaseWrapper(db, alias)
1855cel_1 | File "/usr/local/lib/python3.4/site-packages/transaction_hooks/mixin.py", line 23, in __init__
1856cel_1 | super(TransactionHooksDatabaseWrapperMixin, self).__init__(*a, **kw)
1857cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/base.py", line 14, in __init__
1858cel_1 | self.ops = PostGISOperations(self)
1859cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 166, in __init__
1860cel_1 | if self.spatial_version < (1, 3, 4):
1861cel_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/functional.py", line 55, in __get__
1862cel_1 | res = instance.__dict__[self.func.__name__] = self.func(instance)
1863cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 266, in spatial_version
1864cel_1 | 'template?' % self.connection.settings_dict['NAME']
1865cel_1 | django.core.exceptions.ImproperlyConfigured: Cannot determine PostGIS version for database "test_askjack". GeoDjango requires at least PostGIS version 1.3. Was the database created from a spatial database template?
1866d_cel_1 exited with code 1
1867d_beat_1 exited with code 0
1868pg_1 | 2019-01-25 15:26:35.961 GMT [98] LOG: incomplete startup packet
1869mq_1 | 2019-01-25 15:26:35.983 [info] <0.544.0> accepting AMQP connection <0.544.0> (172.18.0.5:51456 -> 172.18.0.3:5672)
1870mq_1 | 2019-01-25 15:26:35.984 [warning] <0.544.0> closing AMQP connection <0.544.0> (172.18.0.5:51456 -> 172.18.0.3:5672):
1871mq_1 | client unexpectedly closed TCP connection
1872beat_1 | celery beat v3.1.25 (Cipater) is starting.
1873beat_1 | Ðет кÑша "efcache", задайте, еÑли Ñто не теÑÑ‚Ð¾Ð²Ð°Ñ Ñреда
1874beat_1 | __ - ... __ - _
1875beat_1 | Configuration ->
1876beat_1 | . broker -> amqp://mq:**@mq:5672//
1877beat_1 | . loader -> celery.loaders.app.AppLoader
1878beat_1 | . scheduler -> djcelery.schedulers.DatabaseScheduler
1879beat_1 |
1880beat_1 | . logfile -> [stderr]@%INFO
1881beat_1 | . maxinterval -> now (0s)
1882beat_1 | [2019-01-25 18:26:41,002: INFO/MainProcess] beat: Starting...
1883beat_1 | [2019-01-25 18:26:41,002: INFO/MainProcess] Writing entries (0)...
1884pg_1 | 2019-01-25 15:26:41.036 GMT [99] ERROR: relation "djcelery_periodictask" does not exist at character 588
1885pg_1 | 2019-01-25 15:26:41.036 GMT [99] STATEMENT: SELECT "djcelery_periodictask"."id", "djcelery_periodictask"."name", "djcelery_periodictask"."task", "djcelery_periodictask"."interval_id", "djcelery_periodictask"."crontab_id", "djcelery_periodictask"."args", "djcelery_periodictask"."kwargs", "djcelery_periodictask"."queue", "djcelery_periodictask"."exchange", "djcelery_periodictask"."routing_key", "djcelery_periodictask"."expires", "djcelery_periodictask"."enabled", "djcelery_periodictask"."last_run_at", "djcelery_periodictask"."total_run_count", "djcelery_periodictask"."date_changed", "djcelery_periodictask"."description" FROM "djcelery_periodictask" WHERE "djcelery_periodictask"."enabled" = true
1886beat_1 | [2019-01-25 18:26:41,037: CRITICAL/MainProcess] beat raised exception <class 'django.db.utils.ProgrammingError'>: ProgrammingError('relation "djcelery_periodictask" does not exist\nLINE 1: ...nged", "djcelery_periodictask"."description" FROM "djcelery_...\n ^\n',)
1887beat_1 | Traceback (most recent call last):
1888beat_1 | File "/usr/local/lib/python3.4/site-packages/kombu/utils/__init__.py", line 323, in __get__
1889beat_1 | return obj.__dict__[self.__name__]
1890beat_1 | KeyError: 'scheduler'
1891beat_1 |
1892beat_1 | During handling of the above exception, another exception occurred:
1893beat_1 |
1894beat_1 | Traceback (most recent call last):
1895beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
1896beat_1 | return self.cursor.execute(sql, params)
1897beat_1 | psycopg2.ProgrammingError: relation "djcelery_periodictask" does not exist
1898beat_1 | LINE 1: ...nged", "djcelery_periodictask"."description" FROM "djcelery_...
1899beat_1 | ^
1900beat_1 |
1901beat_1 |
1902beat_1 | The above exception was the direct cause of the following exception:
1903beat_1 |
1904beat_1 | Traceback (most recent call last):
1905beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/apps/beat.py", line 112, in start_scheduler
1906beat_1 | beat.start()
1907beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 470, in start
1908beat_1 | humanize_seconds(self.scheduler.max_interval))
1909beat_1 | File "/usr/local/lib/python3.4/site-packages/kombu/utils/__init__.py", line 325, in __get__
1910beat_1 | value = obj.__dict__[self.__name__] = self.__get(obj)
1911beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 512, in scheduler
1912beat_1 | return self.get_scheduler()
1913beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 507, in get_scheduler
1914beat_1 | lazy=lazy)
1915beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/utils/imports.py", line 53, in instantiate
1916beat_1 | return symbol_by_name(name)(*args, **kwargs)
1917beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 152, in __init__
1918beat_1 | Scheduler.__init__(self, *args, **kwargs)
1919beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 185, in __init__
1920beat_1 | self.setup_schedule()
1921beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 159, in setup_schedule
1922beat_1 | self.install_default_entries(self.schedule)
1923beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 254, in schedule
1924beat_1 | self._schedule = self.all_as_schedule()
1925beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 165, in all_as_schedule
1926beat_1 | for model in self.Model.objects.enabled():
1927beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/query.py", line 141, in __iter__
1928beat_1 | self._fetch_all()
1929beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/query.py", line 966, in _fetch_all
1930beat_1 | self._result_cache = list(self.iterator())
1931beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/query.py", line 265, in iterator
1932beat_1 | for row in compiler.results_iter():
1933beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/sql/compiler.py", line 700, in results_iter
1934beat_1 | for rows in self.execute_sql(MULTI):
1935beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/sql/compiler.py", line 786, in execute_sql
1936beat_1 | cursor.execute(sql, params)
1937beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
1938beat_1 | return self.cursor.execute(sql, params)
1939beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 94, in __exit__
1940beat_1 | six.reraise(dj_exc_type, dj_exc_value, traceback)
1941beat_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/six.py", line 658, in reraise
1942beat_1 | raise value.with_traceback(tb)
1943beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
1944beat_1 | return self.cursor.execute(sql, params)
1945beat_1 | django.db.utils.ProgrammingError: relation "djcelery_periodictask" does not exist
1946beat_1 | LINE 1: ...nged", "djcelery_periodictask"."description" FROM "djcelery_...
1947beat_1 | ^
1948beat_1 |
1949beat_1 | [2019-01-25 18:26:41,047: INFO/MainProcess] Writing entries (0)...
1950beat_1 | [2019-01-25 18:26:41,048: INFO/MainProcess] Writing entries (0)...
1951d_beat_1 exited with code 0
1952pg_1 | 2019-01-25 15:26:42.354 GMT [100] LOG: incomplete startup packet
1953mq_1 | 2019-01-25 15:26:42.374 [info] <0.548.0> accepting AMQP connection <0.548.0> (172.18.0.6:42464 -> 172.18.0.3:5672)
1954mq_1 | 2019-01-25 15:26:42.374 [warning] <0.548.0> closing AMQP connection <0.548.0> (172.18.0.6:42464 -> 172.18.0.3:5672):
1955mq_1 | client unexpectedly closed TCP connection
1956pg_1 | 2019-01-25 15:26:43.785 GMT [101] LOG: incomplete startup packet
1957beat_1 | wait-for-it.sh: waiting 15 seconds for mq:5672
1958mq_1 | 2019-01-25 15:26:43.824 [info] <0.552.0> accepting AMQP connection <0.552.0> (172.18.0.5:51466 -> 172.18.0.3:5672)
1959mq_1 | 2019-01-25 15:26:43.825 [warning] <0.552.0> closing AMQP connection <0.552.0> (172.18.0.5:51466 -> 172.18.0.3:5672):
1960mq_1 | client unexpectedly closed TCP connection
1961beat_1 | wait-for-it.sh: mq:5672 is available after 0 seconds
1962pg_1 | 2019-01-25 15:26:44.059 GMT [102] ERROR: function postgis_lib_version() does not exist at character 8
1963pg_1 | 2019-01-25 15:26:44.059 GMT [102] HINT: No function matches the given name and argument types. You might need to add explicit type casts.
1964pg_1 | 2019-01-25 15:26:44.059 GMT [102] STATEMENT: SELECT postgis_lib_version()
1965cel_1 | Traceback (most recent call last):
1966cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
1967cel_1 | return self.cursor.execute(sql)
1968cel_1 | psycopg2.ProgrammingError: function postgis_lib_version() does not exist
1969cel_1 | LINE 1: SELECT postgis_lib_version()
1970cel_1 | ^
1971cel_1 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
1972cel_1 |
1973cel_1 |
1974cel_1 | The above exception was the direct cause of the following exception:
1975cel_1 |
1976cel_1 | Traceback (most recent call last):
1977cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 260, in spatial_version
1978cel_1 | vtup = self.postgis_version_tuple()
1979cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 434, in postgis_version_tuple
1980cel_1 | version = self.postgis_lib_version()
1981cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 414, in postgis_lib_version
1982cel_1 | return self._get_postgis_func('postgis_lib_version')
1983cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 405, in _get_postgis_func
1984cel_1 | cursor.execute('SELECT %s()' % func)
1985cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
1986cel_1 | return self.cursor.execute(sql, params)
1987cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 94, in __exit__
1988cel_1 | six.reraise(dj_exc_type, dj_exc_value, traceback)
1989cel_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/six.py", line 658, in reraise
1990cel_1 | raise value.with_traceback(tb)
1991cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
1992cel_1 | return self.cursor.execute(sql)
1993cel_1 | django.db.utils.ProgrammingError: function postgis_lib_version() does not exist
1994cel_1 | LINE 1: SELECT postgis_lib_version()
1995cel_1 | ^
1996cel_1 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
1997cel_1 |
1998cel_1 |
1999cel_1 | During handling of the above exception, another exception occurred:
2000cel_1 |
2001cel_1 | Traceback (most recent call last):
2002cel_1 | File "/app/manage_celery.py", line 8, in <module>
2003cel_1 | execute_from_command_line(sys.argv)
2004cel_1 | File "/usr/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
2005cel_1 | utility.execute()
2006cel_1 | File "/usr/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 354, in execute
2007cel_1 | django.setup()
2008cel_1 | File "/usr/local/lib/python3.4/site-packages/django/__init__.py", line 21, in setup
2009cel_1 | apps.populate(settings.INSTALLED_APPS)
2010cel_1 | File "/usr/local/lib/python3.4/site-packages/django/apps/registry.py", line 85, in populate
2011cel_1 | app_config = AppConfig.create(entry)
2012cel_1 | File "/usr/local/lib/python3.4/site-packages/django/apps/config.py", line 87, in create
2013cel_1 | module = import_module(entry)
2014cel_1 | File "/usr/local/lib/python3.4/importlib/__init__.py", line 109, in import_module
2015cel_1 | return _bootstrap._gcd_import(name[level:], package, level)
2016cel_1 | File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2017cel_1 | File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2018cel_1 | File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2019cel_1 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2020cel_1 | File "<frozen importlib._bootstrap>", line 1129, in _exec
2021cel_1 | File "<frozen importlib._bootstrap>", line 1471, in exec_module
2022cel_1 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2023cel_1 | File "/app/main/__init__.py", line 1, in <module>
2024cel_1 | from .monkeypatch import *
2025cel_1 | File "/app/main/monkeypatch/__init__.py", line 1, in <module>
2026cel_1 | from .guardian_monkeypatch import *
2027cel_1 | File "/app/main/monkeypatch/guardian_monkeypatch.py", line 6, in <module>
2028cel_1 | from guardian.admin import GuardedModelAdminMixin
2029cel_1 | File "/usr/local/lib/python3.4/site-packages/guardian/admin.py", line 11, in <module>
2030cel_1 | from guardian.compat import get_model_name, get_user_model, OrderedDict, url
2031cel_1 | File "/usr/local/lib/python3.4/site-packages/guardian/compat.py", line 8, in <module>
2032cel_1 | from django.contrib.auth.models import AnonymousUser, Group, Permission
2033cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/auth/models.py", line 40, in <module>
2034cel_1 | class Permission(models.Model):
2035cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/base.py", line 122, in __new__
2036cel_1 | new_class.add_to_class('_meta', Options(meta, **kwargs))
2037cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/base.py", line 297, in add_to_class
2038cel_1 | value.contribute_to_class(cls, name)
2039cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/options.py", line 166, in contribute_to_class
2040cel_1 | self.db_table = truncate_name(self.db_table, connection.ops.max_name_length())
2041cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/__init__.py", line 40, in __getattr__
2042cel_1 | return getattr(connections[DEFAULT_DB_ALIAS], item)
2043cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 243, in __getitem__
2044cel_1 | conn = backend.DatabaseWrapper(db, alias)
2045cel_1 | File "/usr/local/lib/python3.4/site-packages/transaction_hooks/mixin.py", line 23, in __init__
2046cel_1 | super(TransactionHooksDatabaseWrapperMixin, self).__init__(*a, **kw)
2047cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/base.py", line 14, in __init__
2048cel_1 | self.ops = PostGISOperations(self)
2049cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 166, in __init__
2050cel_1 | if self.spatial_version < (1, 3, 4):
2051cel_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/functional.py", line 55, in __get__
2052cel_1 | res = instance.__dict__[self.func.__name__] = self.func(instance)
2053cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 266, in spatial_version
2054cel_1 | 'template?' % self.connection.settings_dict['NAME']
2055cel_1 | django.core.exceptions.ImproperlyConfigured: Cannot determine PostGIS version for database "test_askjack". GeoDjango requires at least PostGIS version 1.3. Was the database created from a spatial database template?
2056d_cel_1 exited with code 1
2057beat_1 | celery beat v3.1.25 (Cipater) is starting.
2058beat_1 | Ðет кÑша "efcache", задайте, еÑли Ñто не теÑÑ‚Ð¾Ð²Ð°Ñ Ñреда
2059beat_1 | __ - ... __ - _
2060beat_1 | Configuration ->
2061beat_1 | . broker -> amqp://mq:**@mq:5672//
2062beat_1 | . loader -> celery.loaders.app.AppLoader
2063beat_1 | . scheduler -> djcelery.schedulers.DatabaseScheduler
2064beat_1 |
2065beat_1 | . logfile -> [stderr]@%INFO
2066beat_1 | . maxinterval -> now (0s)
2067beat_1 | [2019-01-25 18:26:49,000: INFO/MainProcess] beat: Starting...
2068beat_1 | [2019-01-25 18:26:49,001: INFO/MainProcess] Writing entries (0)...
2069pg_1 | 2019-01-25 15:26:49.015 GMT [104] ERROR: relation "djcelery_periodictask" does not exist at character 588
2070pg_1 | 2019-01-25 15:26:49.015 GMT [104] STATEMENT: SELECT "djcelery_periodictask"."id", "djcelery_periodictask"."name", "djcelery_periodictask"."task", "djcelery_periodictask"."interval_id", "djcelery_periodictask"."crontab_id", "djcelery_periodictask"."args", "djcelery_periodictask"."kwargs", "djcelery_periodictask"."queue", "djcelery_periodictask"."exchange", "djcelery_periodictask"."routing_key", "djcelery_periodictask"."expires", "djcelery_periodictask"."enabled", "djcelery_periodictask"."last_run_at", "djcelery_periodictask"."total_run_count", "djcelery_periodictask"."date_changed", "djcelery_periodictask"."description" FROM "djcelery_periodictask" WHERE "djcelery_periodictask"."enabled" = true
2071beat_1 | [2019-01-25 18:26:49,015: CRITICAL/MainProcess] beat raised exception <class 'django.db.utils.ProgrammingError'>: ProgrammingError('relation "djcelery_periodictask" does not exist\nLINE 1: ...nged", "djcelery_periodictask"."description" FROM "djcelery_...\n ^\n',)
2072beat_1 | Traceback (most recent call last):
2073beat_1 | File "/usr/local/lib/python3.4/site-packages/kombu/utils/__init__.py", line 323, in __get__
2074beat_1 | return obj.__dict__[self.__name__]
2075beat_1 | KeyError: 'scheduler'
2076beat_1 |
2077beat_1 | During handling of the above exception, another exception occurred:
2078beat_1 |
2079beat_1 | Traceback (most recent call last):
2080beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
2081beat_1 | return self.cursor.execute(sql, params)
2082beat_1 | psycopg2.ProgrammingError: relation "djcelery_periodictask" does not exist
2083beat_1 | LINE 1: ...nged", "djcelery_periodictask"."description" FROM "djcelery_...
2084beat_1 | ^
2085beat_1 |
2086beat_1 |
2087beat_1 | The above exception was the direct cause of the following exception:
2088beat_1 |
2089beat_1 | Traceback (most recent call last):
2090beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/apps/beat.py", line 112, in start_scheduler
2091beat_1 | beat.start()
2092beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 470, in start
2093beat_1 | humanize_seconds(self.scheduler.max_interval))
2094beat_1 | File "/usr/local/lib/python3.4/site-packages/kombu/utils/__init__.py", line 325, in __get__
2095beat_1 | value = obj.__dict__[self.__name__] = self.__get(obj)
2096beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 512, in scheduler
2097beat_1 | return self.get_scheduler()
2098beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 507, in get_scheduler
2099beat_1 | lazy=lazy)
2100beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/utils/imports.py", line 53, in instantiate
2101beat_1 | return symbol_by_name(name)(*args, **kwargs)
2102beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 152, in __init__
2103beat_1 | Scheduler.__init__(self, *args, **kwargs)
2104beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 185, in __init__
2105beat_1 | self.setup_schedule()
2106beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 159, in setup_schedule
2107beat_1 | self.install_default_entries(self.schedule)
2108beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 254, in schedule
2109beat_1 | self._schedule = self.all_as_schedule()
2110beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 165, in all_as_schedule
2111beat_1 | for model in self.Model.objects.enabled():
2112beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/query.py", line 141, in __iter__
2113beat_1 | self._fetch_all()
2114beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/query.py", line 966, in _fetch_all
2115beat_1 | self._result_cache = list(self.iterator())
2116beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/query.py", line 265, in iterator
2117beat_1 | for row in compiler.results_iter():
2118beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/sql/compiler.py", line 700, in results_iter
2119beat_1 | for rows in self.execute_sql(MULTI):
2120beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/sql/compiler.py", line 786, in execute_sql
2121beat_1 | cursor.execute(sql, params)
2122beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
2123beat_1 | return self.cursor.execute(sql, params)
2124beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 94, in __exit__
2125beat_1 | six.reraise(dj_exc_type, dj_exc_value, traceback)
2126beat_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/six.py", line 658, in reraise
2127beat_1 | raise value.with_traceback(tb)
2128beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
2129beat_1 | return self.cursor.execute(sql, params)
2130beat_1 | django.db.utils.ProgrammingError: relation "djcelery_periodictask" does not exist
2131beat_1 | LINE 1: ...nged", "djcelery_periodictask"."description" FROM "djcelery_...
2132beat_1 | ^
2133beat_1 |
2134beat_1 | [2019-01-25 18:26:49,026: INFO/MainProcess] Writing entries (0)...
2135beat_1 | [2019-01-25 18:26:49,026: INFO/MainProcess] Writing entries (0)...
2136d_beat_1 exited with code 0
2137pg_1 | 2019-01-25 15:26:51.860 GMT [105] LOG: incomplete startup packet
2138mq_1 | 2019-01-25 15:26:51.879 [info] <0.556.0> accepting AMQP connection <0.556.0> (172.18.0.5:51474 -> 172.18.0.3:5672)
2139mq_1 | 2019-01-25 15:26:51.880 [warning] <0.556.0> closing AMQP connection <0.556.0> (172.18.0.5:51474 -> 172.18.0.3:5672):
2140mq_1 | client unexpectedly closed TCP connection
2141beat_1 | celery beat v3.1.25 (Cipater) is starting.
2142test.vpn | Backing up /etc/openvpn/ovpn_env.sh -> /etc/openvpn/ovpn_env.sh.1548430014.bak
2143test.vpn | Backing up /etc/openvpn/openvpn.conf -> /etc/openvpn/openvpn.conf.1548430014.bak
2144test.vpn | Disable default push of 'block-outside-dns'
2145test.vpn | Processing PUSH Config: 'dhcp-option DNS 172.66.0.1'
2146test.vpn | Processing PUSH Config: 'comp-lzo no'
2147test.vpn | Processing PUSH Config: 'route 172.16.0.0 255.240.0.0'
2148test.vpn | Files /etc/openvpn/ovpn_env.sh.1548430014.bak and /etc/openvpn/ovpn_env.sh differ
2149test.vpn | Removing duplicate back-up: /etc/openvpn/openvpn.conf.1548430014.bak
2150test.vpn | removed '/etc/openvpn/openvpn.conf.1548430014.bak'
2151test.vpn | Successfully generated config
2152test.vpn | Cleaning up before Exit ...
2153test.vpn | iptables: No chain/target/match by that name.
2154test.vpn | Enabling IPv6 Forwarding
2155test.vpn | sysctl: error setting key 'net.ipv6.conf.all.disable_ipv6': Read-only file system
2156test.vpn | Failed to enable IPv6 support
2157test.vpn | sysctl: error setting key 'net.ipv6.conf.default.forwarding': Read-only file system
2158test.vpn | Failed to enable IPv6 Forwarding default
2159test.vpn | sysctl: error setting key 'net.ipv6.conf.all.forwarding': Read-only file system
2160test.vpn | Failed to enable IPv6 Forwarding
2161test.vpn | Running 'openvpn --config /etc/openvpn/openvpn.conf --client-config-dir /etc/openvpn/ccd '
2162test.vpn | Options error: --dh fails with '/etc/openvpn/pki/dh.pem': No such file or directory (errno=2)
2163test.vpn | Options error: --ca fails with '/etc/openvpn/pki/ca.crt': No such file or directory (errno=2)
2164test.vpn | Options error: --cert fails with '/etc/openvpn/pki/issued/test.askjack.ru.crt': No such file or directory (errno=2)
2165test.vpn | Fri Jan 25 15:26:54 2019 WARNING: cannot stat file '/etc/openvpn/pki/private/test.askjack.ru.key': No such file or directory (errno=2)
2166test.vpn | Options error: --key fails with '/etc/openvpn/pki/private/test.askjack.ru.key': No such file or directory (errno=2)
2167test.vpn | Fri Jan 25 15:26:54 2019 WARNING: cannot stat file '/etc/openvpn/pki/ta.key': No such file or directory (errno=2)
2168test.vpn | Options error: --tls-auth fails with '/etc/openvpn/pki/ta.key': No such file or directory (errno=2)
2169test.vpn | Options error: Please correct these errors.
2170test.vpn | Use --help for more information.
2171test.vpn exited with code 1
2172beat_1 | Ðет кÑша "efcache", задайте, еÑли Ñто не теÑÑ‚Ð¾Ð²Ð°Ñ Ñреда
2173cel_1 | rm: cannot remove ‘/app/*.pid’: No such file or directory
2174cel_1 | wait-for-it.sh: waiting 15 seconds for pg:5432
2175cel_1 | wait-for-it.sh: pg:5432 is available after 0 seconds
2176pg_1 | 2019-01-25 15:26:58.515 GMT [106] LOG: incomplete startup packet
2177cel_1 | wait-for-it.sh: waiting 15 seconds for mq:5672
2178cel_1 | wait-for-it.sh: mq:5672 is available after 0 seconds
2179mq_1 | 2019-01-25 15:26:58.549 [info] <0.560.0> accepting AMQP connection <0.560.0> (172.18.0.6:42480 -> 172.18.0.3:5672)
2180mq_1 | 2019-01-25 15:26:58.549 [warning] <0.560.0> closing AMQP connection <0.560.0> (172.18.0.6:42480 -> 172.18.0.3:5672):
2181mq_1 | client unexpectedly closed TCP connection
2182beat_1 | __ - ... __ - _
2183beat_1 | Configuration ->
2184beat_1 | . broker -> amqp://mq:**@mq:5672//
2185beat_1 | . loader -> celery.loaders.app.AppLoader
2186beat_1 | . scheduler -> djcelery.schedulers.DatabaseScheduler
2187beat_1 |
2188beat_1 | . logfile -> [stderr]@%INFO
2189beat_1 | . maxinterval -> now (0s)
2190beat_1 | [2019-01-25 18:26:59,127: INFO/MainProcess] beat: Starting...
2191beat_1 | [2019-01-25 18:26:59,128: INFO/MainProcess] Writing entries (0)...
2192pg_1 | 2019-01-25 15:26:59.223 GMT [107] ERROR: relation "djcelery_periodictask" does not exist at character 588
2193pg_1 | 2019-01-25 15:26:59.223 GMT [107] STATEMENT: SELECT "djcelery_periodictask"."id", "djcelery_periodictask"."name", "djcelery_periodictask"."task", "djcelery_periodictask"."interval_id", "djcelery_periodictask"."crontab_id", "djcelery_periodictask"."args", "djcelery_periodictask"."kwargs", "djcelery_periodictask"."queue", "djcelery_periodictask"."exchange", "djcelery_periodictask"."routing_key", "djcelery_periodictask"."expires", "djcelery_periodictask"."enabled", "djcelery_periodictask"."last_run_at", "djcelery_periodictask"."total_run_count", "djcelery_periodictask"."date_changed", "djcelery_periodictask"."description" FROM "djcelery_periodictask" WHERE "djcelery_periodictask"."enabled" = true
2194beat_1 | [2019-01-25 18:26:59,225: CRITICAL/MainProcess] beat raised exception <class 'django.db.utils.ProgrammingError'>: ProgrammingError('relation "djcelery_periodictask" does not exist\nLINE 1: ...nged", "djcelery_periodictask"."description" FROM "djcelery_...\n ^\n',)
2195beat_1 | Traceback (most recent call last):
2196beat_1 | File "/usr/local/lib/python3.4/site-packages/kombu/utils/__init__.py", line 323, in __get__
2197beat_1 | return obj.__dict__[self.__name__]
2198beat_1 | KeyError: 'scheduler'
2199beat_1 |
2200beat_1 | During handling of the above exception, another exception occurred:
2201beat_1 |
2202beat_1 | Traceback (most recent call last):
2203beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
2204beat_1 | return self.cursor.execute(sql, params)
2205beat_1 | psycopg2.ProgrammingError: relation "djcelery_periodictask" does not exist
2206beat_1 | LINE 1: ...nged", "djcelery_periodictask"."description" FROM "djcelery_...
2207beat_1 | ^
2208beat_1 |
2209beat_1 |
2210beat_1 | The above exception was the direct cause of the following exception:
2211beat_1 |
2212beat_1 | Traceback (most recent call last):
2213beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/apps/beat.py", line 112, in start_scheduler
2214beat_1 | beat.start()
2215beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 470, in start
2216beat_1 | humanize_seconds(self.scheduler.max_interval))
2217beat_1 | File "/usr/local/lib/python3.4/site-packages/kombu/utils/__init__.py", line 325, in __get__
2218beat_1 | value = obj.__dict__[self.__name__] = self.__get(obj)
2219beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 512, in scheduler
2220beat_1 | return self.get_scheduler()
2221beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 507, in get_scheduler
2222beat_1 | lazy=lazy)
2223beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/utils/imports.py", line 53, in instantiate
2224beat_1 | return symbol_by_name(name)(*args, **kwargs)
2225beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 152, in __init__
2226beat_1 | Scheduler.__init__(self, *args, **kwargs)
2227beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 185, in __init__
2228beat_1 | self.setup_schedule()
2229beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 159, in setup_schedule
2230beat_1 | self.install_default_entries(self.schedule)
2231beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 254, in schedule
2232beat_1 | self._schedule = self.all_as_schedule()
2233beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 165, in all_as_schedule
2234beat_1 | for model in self.Model.objects.enabled():
2235beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/query.py", line 141, in __iter__
2236beat_1 | self._fetch_all()
2237beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/query.py", line 966, in _fetch_all
2238beat_1 | self._result_cache = list(self.iterator())
2239beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/query.py", line 265, in iterator
2240beat_1 | for row in compiler.results_iter():
2241beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/sql/compiler.py", line 700, in results_iter
2242beat_1 | for rows in self.execute_sql(MULTI):
2243beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/sql/compiler.py", line 786, in execute_sql
2244beat_1 | cursor.execute(sql, params)
2245beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
2246beat_1 | return self.cursor.execute(sql, params)
2247beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 94, in __exit__
2248beat_1 | six.reraise(dj_exc_type, dj_exc_value, traceback)
2249beat_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/six.py", line 658, in reraise
2250beat_1 | raise value.with_traceback(tb)
2251beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
2252beat_1 | return self.cursor.execute(sql, params)
2253beat_1 | django.db.utils.ProgrammingError: relation "djcelery_periodictask" does not exist
2254beat_1 | LINE 1: ...nged", "djcelery_periodictask"."description" FROM "djcelery_...
2255beat_1 | ^
2256beat_1 |
2257beat_1 | [2019-01-25 18:26:59,236: INFO/MainProcess] Writing entries (0)...
2258beat_1 | [2019-01-25 18:26:59,237: INFO/MainProcess] Writing entries (0)...
2259d_beat_1 exited with code 0
2260pg_1 | 2019-01-25 15:27:01.427 GMT [108] ERROR: function postgis_lib_version() does not exist at character 8
2261pg_1 | 2019-01-25 15:27:01.427 GMT [108] HINT: No function matches the given name and argument types. You might need to add explicit type casts.
2262pg_1 | 2019-01-25 15:27:01.427 GMT [108] STATEMENT: SELECT postgis_lib_version()
2263cel_1 | Traceback (most recent call last):
2264cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
2265cel_1 | return self.cursor.execute(sql)
2266cel_1 | psycopg2.ProgrammingError: function postgis_lib_version() does not exist
2267cel_1 | LINE 1: SELECT postgis_lib_version()
2268cel_1 | ^
2269cel_1 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
2270cel_1 |
2271cel_1 |
2272cel_1 | The above exception was the direct cause of the following exception:
2273cel_1 |
2274cel_1 | Traceback (most recent call last):
2275cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 260, in spatial_version
2276cel_1 | vtup = self.postgis_version_tuple()
2277cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 434, in postgis_version_tuple
2278cel_1 | version = self.postgis_lib_version()
2279cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 414, in postgis_lib_version
2280cel_1 | return self._get_postgis_func('postgis_lib_version')
2281cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 405, in _get_postgis_func
2282cel_1 | cursor.execute('SELECT %s()' % func)
2283cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
2284cel_1 | return self.cursor.execute(sql, params)
2285cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 94, in __exit__
2286cel_1 | six.reraise(dj_exc_type, dj_exc_value, traceback)
2287cel_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/six.py", line 658, in reraise
2288cel_1 | raise value.with_traceback(tb)
2289cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 63, in execute
2290cel_1 | return self.cursor.execute(sql)
2291cel_1 | django.db.utils.ProgrammingError: function postgis_lib_version() does not exist
2292cel_1 | LINE 1: SELECT postgis_lib_version()
2293cel_1 | ^
2294cel_1 | HINT: No function matches the given name and argument types. You might need to add explicit type casts.
2295cel_1 |
2296cel_1 |
2297cel_1 | During handling of the above exception, another exception occurred:
2298cel_1 |
2299cel_1 | Traceback (most recent call last):
2300cel_1 | File "/app/manage_celery.py", line 8, in <module>
2301cel_1 | execute_from_command_line(sys.argv)
2302cel_1 | File "/usr/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
2303cel_1 | utility.execute()
2304cel_1 | File "/usr/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 354, in execute
2305cel_1 | django.setup()
2306cel_1 | File "/usr/local/lib/python3.4/site-packages/django/__init__.py", line 21, in setup
2307cel_1 | apps.populate(settings.INSTALLED_APPS)
2308cel_1 | File "/usr/local/lib/python3.4/site-packages/django/apps/registry.py", line 85, in populate
2309cel_1 | app_config = AppConfig.create(entry)
2310cel_1 | File "/usr/local/lib/python3.4/site-packages/django/apps/config.py", line 87, in create
2311cel_1 | module = import_module(entry)
2312cel_1 | File "/usr/local/lib/python3.4/importlib/__init__.py", line 109, in import_module
2313cel_1 | return _bootstrap._gcd_import(name[level:], package, level)
2314cel_1 | File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2315cel_1 | File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2316cel_1 | File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2317cel_1 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2318cel_1 | File "<frozen importlib._bootstrap>", line 1129, in _exec
2319cel_1 | File "<frozen importlib._bootstrap>", line 1471, in exec_module
2320cel_1 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2321cel_1 | File "/app/main/__init__.py", line 1, in <module>
2322cel_1 | from .monkeypatch import *
2323cel_1 | File "/app/main/monkeypatch/__init__.py", line 1, in <module>
2324cel_1 | from .guardian_monkeypatch import *
2325cel_1 | File "/app/main/monkeypatch/guardian_monkeypatch.py", line 6, in <module>
2326cel_1 | from guardian.admin import GuardedModelAdminMixin
2327cel_1 | File "/usr/local/lib/python3.4/site-packages/guardian/admin.py", line 11, in <module>
2328cel_1 | from guardian.compat import get_model_name, get_user_model, OrderedDict, url
2329cel_1 | File "/usr/local/lib/python3.4/site-packages/guardian/compat.py", line 8, in <module>
2330cel_1 | from django.contrib.auth.models import AnonymousUser, Group, Permission
2331cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/auth/models.py", line 40, in <module>
2332cel_1 | class Permission(models.Model):
2333cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/base.py", line 122, in __new__
2334cel_1 | new_class.add_to_class('_meta', Options(meta, **kwargs))
2335cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/base.py", line 297, in add_to_class
2336cel_1 | value.contribute_to_class(cls, name)
2337cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/options.py", line 166, in contribute_to_class
2338cel_1 | self.db_table = truncate_name(self.db_table, connection.ops.max_name_length())
2339cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/__init__.py", line 40, in __getattr__
2340cel_1 | return getattr(connections[DEFAULT_DB_ALIAS], item)
2341cel_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 243, in __getitem__
2342cel_1 | conn = backend.DatabaseWrapper(db, alias)
2343cel_1 | File "/usr/local/lib/python3.4/site-packages/transaction_hooks/mixin.py", line 23, in __init__
2344cel_1 | super(TransactionHooksDatabaseWrapperMixin, self).__init__(*a, **kw)
2345cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/base.py", line 14, in __init__
2346cel_1 | self.ops = PostGISOperations(self)
2347cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 166, in __init__
2348cel_1 | if self.spatial_version < (1, 3, 4):
2349cel_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/functional.py", line 55, in __get__
2350cel_1 | res = instance.__dict__[self.func.__name__] = self.func(instance)
2351cel_1 | File "/usr/local/lib/python3.4/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 266, in spatial_version
2352cel_1 | 'template?' % self.connection.settings_dict['NAME']
2353cel_1 | django.core.exceptions.ImproperlyConfigured: Cannot determine PostGIS version for database "test_askjack". GeoDjango requires at least PostGIS version 1.3. Was the database created from a spatial database template?
2354d_cel_1 exited with code 1
2355pg_1 | 2019-01-25 15:27:04.868 GMT [109] LOG: incomplete startup packet
2356mq_1 | 2019-01-25 15:27:04.889 [info] <0.564.0> accepting AMQP connection <0.564.0> (172.18.0.5:51486 -> 172.18.0.3:5672)
2357mq_1 | 2019-01-25 15:27:04.892 [warning] <0.564.0> closing AMQP connection <0.564.0> (172.18.0.5:51486 -> 172.18.0.3:5672):
2358mq_1 | client unexpectedly closed TCP connection
2359beat_1 | celery beat v3.1.25 (Cipater) is starting.
2360beat_1 | Ðет кÑша "efcache", задайте, еÑли Ñто не теÑÑ‚Ð¾Ð²Ð°Ñ Ñреда
2361beat_1 | __ - ... __ - _
2362beat_1 | Configuration ->
2363beat_1 | . broker -> amqp://mq:**@mq:5672//
2364beat_1 | . loader -> celery.loaders.app.AppLoader
2365beat_1 | . scheduler -> djcelery.schedulers.DatabaseScheduler
2366beat_1 |
2367beat_1 | . logfile -> [stderr]@%INFO
2368beat_1 | . maxinterval -> now (0s)
2369beat_1 | [2019-01-25 18:27:09,827: INFO/MainProcess] beat: Starting...
2370beat_1 | [2019-01-25 18:27:09,828: INFO/MainProcess] Writing entries (0)...
2371pg_1 | 2019-01-25 15:27:09.859 GMT [110] ERROR: relation "djcelery_periodictask" does not exist at character 588
2372pg_1 | 2019-01-25 15:27:09.859 GMT [110] STATEMENT: SELECT "djcelery_periodictask"."id", "djcelery_periodictask"."name", "djcelery_periodictask"."task", "djcelery_periodictask"."interval_id", "djcelery_periodictask"."crontab_id", "djcelery_periodictask"."args", "djcelery_periodictask"."kwargs", "djcelery_periodictask"."queue", "djcelery_periodictask"."exchange", "djcelery_periodictask"."routing_key", "djcelery_periodictask"."expires", "djcelery_periodictask"."enabled", "djcelery_periodictask"."last_run_at", "djcelery_periodictask"."total_run_count", "djcelery_periodictask"."date_changed", "djcelery_periodictask"."description" FROM "djcelery_periodictask" WHERE "djcelery_periodictask"."enabled" = true
2373beat_1 | [2019-01-25 18:27:09,861: CRITICAL/MainProcess] beat raised exception <class 'django.db.utils.ProgrammingError'>: ProgrammingError('relation "djcelery_periodictask" does not exist\nLINE 1: ...nged", "djcelery_periodictask"."description" FROM "djcelery_...\n ^\n',)
2374beat_1 | Traceback (most recent call last):
2375beat_1 | File "/usr/local/lib/python3.4/site-packages/kombu/utils/__init__.py", line 323, in __get__
2376beat_1 | return obj.__dict__[self.__name__]
2377beat_1 | KeyError: 'scheduler'
2378beat_1 |
2379beat_1 | During handling of the above exception, another exception occurred:
2380beat_1 |
2381beat_1 | Traceback (most recent call last):
2382beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
2383beat_1 | return self.cursor.execute(sql, params)
2384beat_1 | psycopg2.ProgrammingError: relation "djcelery_periodictask" does not exist
2385beat_1 | LINE 1: ...nged", "djcelery_periodictask"."description" FROM "djcelery_...
2386beat_1 | ^
2387beat_1 |
2388beat_1 |
2389beat_1 | The above exception was the direct cause of the following exception:
2390beat_1 |
2391beat_1 | Traceback (most recent call last):
2392beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/apps/beat.py", line 112, in start_scheduler
2393beat_1 | beat.start()
2394beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 470, in start
2395beat_1 | humanize_seconds(self.scheduler.max_interval))
2396beat_1 | File "/usr/local/lib/python3.4/site-packages/kombu/utils/__init__.py", line 325, in __get__
2397beat_1 | value = obj.__dict__[self.__name__] = self.__get(obj)
2398beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 512, in scheduler
2399beat_1 | return self.get_scheduler()
2400beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 507, in get_scheduler
2401beat_1 | lazy=lazy)
2402beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/utils/imports.py", line 53, in instantiate
2403beat_1 | return symbol_by_name(name)(*args, **kwargs)
2404beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 152, in __init__
2405beat_1 | Scheduler.__init__(self, *args, **kwargs)
2406beat_1 | File "/usr/local/lib/python3.4/site-packages/celery/beat.py", line 185, in __init__
2407beat_1 | self.setup_schedule()
2408beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 159, in setup_schedule
2409beat_1 | self.install_default_entries(self.schedule)
2410beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 254, in schedule
2411beat_1 | self._schedule = self.all_as_schedule()
2412beat_1 | File "/usr/local/lib/python3.4/site-packages/djcelery/schedulers.py", line 165, in all_as_schedule
2413beat_1 | for model in self.Model.objects.enabled():
2414beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/query.py", line 141, in __iter__
2415beat_1 | self._fetch_all()
2416beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/query.py", line 966, in _fetch_all
2417beat_1 | self._result_cache = list(self.iterator())
2418beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/query.py", line 265, in iterator
2419beat_1 | for row in compiler.results_iter():
2420beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/sql/compiler.py", line 700, in results_iter
2421beat_1 | for rows in self.execute_sql(MULTI):
2422beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/models/sql/compiler.py", line 786, in execute_sql
2423beat_1 | cursor.execute(sql, params)
2424beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
2425beat_1 | return self.cursor.execute(sql, params)
2426beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/utils.py", line 94, in __exit__
2427beat_1 | six.reraise(dj_exc_type, dj_exc_value, traceback)
2428beat_1 | File "/usr/local/lib/python3.4/site-packages/django/utils/six.py", line 658, in reraise
2429beat_1 | raise value.with_traceback(tb)
2430beat_1 | File "/usr/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
2431beat_1 | return self.cursor.execute(sql, params)
2432beat_1 | django.db.utils.ProgrammingError: relation "djcelery_periodictask" does not exist
2433beat_1 | LINE 1: ...nged", "djcelery_periodictask"."description" FROM "djcelery_...
2434beat_1 | ^
2435beat_1 |
2436beat_1 | [2019-01-25 18:27:09,870: INFO/MainProcess] Writing entries (0)...
2437beat_1 | [2019-01-25 18:27:09,871: INFO/MainProcess] Writing entries (0)...
2438d_beat_1 exited with code 0
2439^CGracefully stopping... (press Ctrl+C again to force)
2440Killing d_beat_1 ... done
2441Killing d_ppn_ext_1 ... done
2442Killing d_cam_1 ... done
2443Killing d_dj_1 ... done
2444Killing test.vpn ... done
2445Killing d_pg_1 ... done
2446Killing d_cel_1 ... done
2447Killing d_mq_1 ... done
2448Killing d_redis_1 ... done