· 9 years ago · Jan 23, 2017, 04:26 PM
1(venv) dmb2@opendronemap-gui:~/webodm$ ./webodm.sh start
2Checking for docker... OK
3Checking for git... OK
4Checking for python... OK
5Checking for pip... OK
6Checking for docker-compose... OK
7Starting WebODM...
8docker-compose -f docker-compose.yml -f docker-compose.nodeodm.yml up
9Creating network "webodm_default" with the default driver
10Starting node-odm-1
11Creating db
12Creating webapp
13Attaching to db, node-odm-1, webapp
14db | The files belonging to this database system will be owned by user "postgres".
15db | This user must also own the server process.
16db |
17db | The database cluster will be initialized with locale "en_US.utf8".
18db | The default database encoding has accordingly been set to "UTF8".
19db | The default text search configuration will be set to "english".
20db |
21db | Data page checksums are disabled.
22db |
23db | fixing permissions on existing directory /var/lib/postgresql/data ... ok
24db | creating subdirectories ... ok
25db | selecting default max_connections ... 100
26db | selecting default shared_buffers ... 128MB
27db | selecting dynamic shared memory implementation ... posix
28db | creating configuration files ... ok
29db | creating template1 database in /var/lib/postgresql/data/base/1 ... ok
30db | initializing pg_authid ... ok
31db | initializing dependencies ... ok
32db | creating system views ... ok
33webapp | wait-for-it.sh: waiting 15 seconds for db:5432
34db | loading system objects' descriptions ... ok
35db | creating collations ... ok
36db | creating conversions ... ok
37db | creating dictionaries ... ok
38db | setting privileges on built-in objects ... ok
39db | creating information schema ... ok
40db | loading PL/pgSQL server-side language ... ok
41db | vacuuming database template1 ... ok
42db | copying template1 to template0 ... ok
43db | copying template1 to postgres ... ok
44db | syncing data to disk ... ok
45db |
46db | Success. You can now start the database server using:
47db |
48db | pg_ctl -D /var/lib/postgresql/data -l logfile start
49db |
50db |
51db | WARNING: enabling "trust" authentication for local connections
52db | You can change this by editing pg_hba.conf or using the option -A, or
53db | --auth-local and --auth-host, the next time you run initdb.
54db | ****************************************************
55db | WARNING: No password has been set for the database.
56db | This will allow anyone with access to the
57db | Postgres port to access your database. In
58db | Docker's default configuration, this is
59db | effectively any other container on the same
60db | system.
61db |
62db | Use "-e POSTGRES_PASSWORD=password" to set
63db | it in "docker run".
64db | ****************************************************
65db | waiting for server to start....LOG: database system was shut down at 2017-01-23 16:21:47 UTC
66db | LOG: MultiXact member wraparound protections are now enabled
67db | LOG: autovacuum launcher started
68db | LOG: database system is ready to accept connections
69db | done
70db | server started
71node-odm-1 | info: Initialized 0 tasks
72node-odm-1 | info: Checking for orphaned directories to be removed...
73db | ALTER ROLE
74db |
75db |
76db | /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init-db.sql
77db | ALTER ROLE
78node-odm-1 | info: Server has started on port 3000
79db | CREATE DATABASE
80db | ALTER DATABASE
81db | ALTER DATABASE
82db |
83db |
84db | LOG: received fast shutdown request
85db | waiting for server to shut down....LOG: aborting any active transactions
86db | LOG: autovacuum launcher shutting down
87db | LOG: shutting down
88db | LOG: database system is shut down
89db | done
90db | server stopped
91db |
92db | PostgreSQL init process complete; ready for start up.
93db |
94db | LOG: database system was shut down at 2017-01-23 16:21:49 UTC
95db | LOG: MultiXact member wraparound protections are now enabled
96db | LOG: database system is ready to accept connections
97db | LOG: autovacuum launcher started
98db | LOG: incomplete startup packet
99webapp | wait-for-it.sh: db:5432 is available after 6 seconds
100webapp |
101webapp | _ __ __ ____ ____ __ ___
102webapp | | | / /__ / /_ / __ \/ __ \/ |/ /
103webapp | | | /| / / _ \/ __ \/ / / / / / / /|_/ /
104webapp | | |/ |/ / __/ /_/ / /_/ / /_/ / / / /
105webapp | |__/|__/\___/_.___/\____/_____/_/ /_/
106webapp |
107webapp |
108webapp | Checking python version... 3.x, good!
109webapp | Checking GDAL version... GDAL 2.1.2, released 2016/10/24, excellent!
110webapp | Building asssets...
111webapp | Hash: f6f9dd83f079adff978c
112webapp | Version: webpack 1.14.0
113webapp | Time: 20928ms
114webapp | Asset Size Chunks Chunk Names
115webapp | main-f6f9dd83f079adff978c.js 3.5 MB 0 [emitted] main
116webapp | css/main.css 44.4 kB 0 [emitted] main
117webapp | [0] multi main 28 bytes {0} [built]
118webapp | + 278 hidden modules
119webapp |
120webapp | WARNING in ./~/leaflet-measure/dist/leaflet-measure.js
121webapp | Critical dependencies:
122webapp | 1:113-120 This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results.
123webapp | @ ./~/leaflet-measure/dist/leaflet-measure.js 1:113-120
124webapp | Child extract-text-webpack-plugin:
125webapp | + 2 hidden modules
126webapp | Child extract-text-webpack-plugin:
127webapp | + 2 hidden modules
128webapp | Child extract-text-webpack-plugin:
129webapp | + 2 hidden modules
130webapp | Child extract-text-webpack-plugin:
131webapp | + 2 hidden modules
132webapp | Child extract-text-webpack-plugin:
133webapp | + 2 hidden modules
134webapp | Child extract-text-webpack-plugin:
135webapp | + 2 hidden modules
136webapp | Child extract-text-webpack-plugin:
137webapp | + 2 hidden modules
138webapp | Child extract-text-webpack-plugin:
139webapp | + 2 hidden modules
140webapp | Child extract-text-webpack-plugin:
141webapp | + 2 hidden modules
142webapp | Child extract-text-webpack-plugin:
143webapp | + 2 hidden modules
144webapp | Child extract-text-webpack-plugin:
145webapp | + 2 hidden modules
146webapp | Child extract-text-webpack-plugin:
147webapp | + 2 hidden modules
148webapp | Child extract-text-webpack-plugin:
149webapp | + 2 hidden modules
150webapp | Child extract-text-webpack-plugin:
151webapp | + 2 hidden modules
152webapp | Child extract-text-webpack-plugin:
153webapp | + 5 hidden modules
154webapp | Child extract-text-webpack-plugin:
155webapp | + 6 hidden modules
156webapp | Child extract-text-webpack-plugin:
157webapp | + 14 hidden modules
158webapp | Child extract-text-webpack-plugin:
159webapp | + 2 hidden modules
160webapp | Child extract-text-webpack-plugin:
161webapp | + 2 hidden modules
162webapp | Child extract-text-webpack-plugin:
163webapp | + 2 hidden modules
164webapp | Child extract-text-webpack-plugin:
165webapp | + 2 hidden modules
166webapp | Running migrations
167db | ERROR: relation "auth_group" does not exist at character 52
168db | STATEMENT: SELECT "auth_group"."id", "auth_group"."name" FROM "auth_group" WHERE "auth_group"."name" = 'Default'
169webapp | WARNING Could not touch the database. If running a migration, this is expected.
170webapp | Operations to perform:
171webapp | Apply all migrations: admin, app, auth, contenttypes, guardian, nodeodm, sessions
172webapp | Running migrations:
173webapp | Rendering model states... DONE
174webapp | Applying contenttypes.0001_initial... OK
175webapp | Applying auth.0001_initial... OK
176webapp | Applying admin.0001_initial... OK
177webapp | Applying admin.0002_logentry_remove_auto_add... OK
178webapp | Applying contenttypes.0002_remove_content_type_name... OK
179webapp | Applying auth.0002_alter_permission_name_max_length... OK
180webapp | Applying auth.0003_alter_user_email_max_length... OK
181webapp | Applying auth.0004_alter_user_username_opts... OK
182webapp | Applying auth.0005_alter_user_last_login_null... OK
183webapp | Applying auth.0006_require_contenttypes_0002... OK
184webapp | Applying auth.0007_alter_validators_add_error_messages... OK
185webapp | Applying auth.0008_alter_user_username_max_length... OK
186webapp | Applying nodeodm.0001_initial... OK
187webapp | Applying app.0001_initial... OK
188db | ERROR: column "processing_node_id" of relation "app_task" already exists
189db | STATEMENT: ALTER TABLE "app_task" ADD COLUMN "processing_node_id" integer NULL
190webapp | Applying app.0002_auto_20161201_1804...Traceback (most recent call last):
191webapp | File "/usr/local/lib/python3.5/site-packages/django/db/backends/utils.py", line 64, in execute
192webapp | return self.cursor.execute(sql, params)
193webapp | psycopg2.ProgrammingError: column "processing_node_id" of relation "app_task" already exists
194webapp |
195webapp |
196webapp | The above exception was the direct cause of the following exception:
197webapp |
198webapp | Traceback (most recent call last):
199webapp | File "manage.py", line 22, in <module>
200webapp | execute_from_command_line(sys.argv)
201webapp | File "/usr/local/lib/python3.5/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
202webapp | utility.execute()
203webapp | File "/usr/local/lib/python3.5/site-packages/django/core/management/__init__.py", line 359, in execute
204webapp | self.fetch_command(subcommand).run_from_argv(self.argv)
205webapp | File "/usr/local/lib/python3.5/site-packages/django/core/management/base.py", line 305, in run_from_argv
206webapp | self.execute(*args, **cmd_options)
207webapp | File "/usr/local/lib/python3.5/site-packages/django/core/management/base.py", line 356, in execute
208webapp | output = self.handle(*args, **options)
209webapp | File "/usr/local/lib/python3.5/site-packages/django/core/management/commands/migrate.py", line 202, in handle
210webapp | targets, plan, fake=fake, fake_initial=fake_initial
211webapp | File "/usr/local/lib/python3.5/site-packages/django/db/migrations/executor.py", line 97, in migrate
212webapp | state = self._migrate_all_forwards(plan, full_plan, fake=fake, fake_initial=fake_initial)
213webapp | File "/usr/local/lib/python3.5/site-packages/django/db/migrations/executor.py", line 132, in _migrate_all_forwards
214webapp | state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
215webapp | File "/usr/local/lib/python3.5/site-packages/django/db/migrations/executor.py", line 237, in apply_migration
216webapp | state = migration.apply(state, schema_editor)
217webapp | File "/usr/local/lib/python3.5/site-packages/django/db/migrations/migration.py", line 129, in apply
218webapp | operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
219webapp | File "/usr/local/lib/python3.5/site-packages/django/db/migrations/operations/fields.py", line 84, in database_forwards
220webapp | field,
221webapp | File "/usr/local/lib/python3.5/site-packages/django/contrib/gis/db/backends/postgis/schema.py", line 69, in add_field
222webapp | super(PostGISSchemaEditor, self).add_field(model, field)
223webapp | File "/usr/local/lib/python3.5/site-packages/django/db/backends/postgresql/schema.py", line 21, in add_field
224webapp | super(DatabaseSchemaEditor, self).add_field(model, field)
225webapp | File "/usr/local/lib/python3.5/site-packages/django/db/backends/base/schema.py", line 409, in add_field
226webapp | self.execute(sql, params)
227webapp | File "/usr/local/lib/python3.5/site-packages/django/db/backends/base/schema.py", line 112, in execute
228webapp | cursor.execute(sql, params)
229webapp | File "/usr/local/lib/python3.5/site-packages/django/db/backends/utils.py", line 79, in execute
230webapp | return super(CursorDebugWrapper, self).execute(sql, params)
231webapp | File "/usr/local/lib/python3.5/site-packages/django/db/backends/utils.py", line 64, in execute
232webapp | return self.cursor.execute(sql, params)
233webapp | File "/usr/local/lib/python3.5/site-packages/django/db/utils.py", line 94, in __exit__
234webapp | six.reraise(dj_exc_type, dj_exc_value, traceback)
235webapp | File "/usr/local/lib/python3.5/site-packages/django/utils/six.py", line 685, in reraise
236webapp | raise value.with_traceback(tb)
237webapp | File "/usr/local/lib/python3.5/site-packages/django/db/backends/utils.py", line 64, in execute
238webapp | return self.cursor.execute(sql, params)
239webapp | django.db.utils.ProgrammingError: column "processing_node_id" of relation "app_task" already exists
240webapp |
241webapp | >>> Python 3.5.2 (default, Nov 17 2016, 22:42:56)
242webapp | [GCC 4.9.2] on linux
243webapp | Type "help", "copyright", "credits" or "license" for more information.
244webapp | (InteractiveConsole)
245webapp |
246webapp | (<ProcessingNode: node-odm-1:3000>, True)
247webapp | >>> Performing system checks...
248webapp |
249webapp | INFO Created default group
250webapp | Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x7f6a6b17d8c8>
251webapp | Traceback (most recent call last):
252webapp | File "/usr/local/lib/python3.5/site-packages/django/utils/autoreload.py", line 226, in wrapper
253webapp | fn(*args, **kwargs)
254webapp | File "/usr/local/lib/python3.5/site-packages/django/core/management/commands/runserver.py", line 121, in inner_run
255webapp | self.check(display_num_errors=True)
256webapp | File "/usr/local/lib/python3.5/site-packages/django/core/management/base.py", line 385, in check
257webapp | include_deployment_checks=include_deployment_checks,
258webapp | File "/usr/local/lib/python3.5/site-packages/django/core/management/base.py", line 372, in _run_checks
259webapp | return checks.run_checks(**kwargs)
260webapp | File "/usr/local/lib/python3.5/site-packages/django/core/checks/registry.py", line 81, in run_checks
261webapp | new_errors = check(app_configs=app_configs)
262webapp | File "/usr/local/lib/python3.5/site-packages/django/core/checks/urls.py", line 14, in check_url_config
263webapp | return check_resolver(resolver)
264webapp | File "/usr/local/lib/python3.5/site-packages/django/core/checks/urls.py", line 24, in check_resolver
265webapp | for pattern in resolver.url_patterns:
266webapp | File "/usr/local/lib/python3.5/site-packages/django/utils/functional.py", line 35, in __get__
267webapp | res = instance.__dict__[self.name] = self.func(instance)
268webapp | File "/usr/local/lib/python3.5/site-packages/django/urls/resolvers.py", line 310, in url_patterns
269webapp | patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
270webapp | File "/usr/local/lib/python3.5/site-packages/django/utils/functional.py", line 35, in __get__
271webapp | res = instance.__dict__[self.name] = self.func(instance)
272webapp | File "/usr/local/lib/python3.5/site-packages/django/urls/resolvers.py", line 303, in urlconf_module
273webapp | return import_module(self.urlconf_name)
274webapp | File "/usr/local/lib/python3.5/importlib/__init__.py", line 126, in import_module
275webapp | return _bootstrap._gcd_import(name[level:], package, level)
276webapp | File "<frozen importlib._bootstrap>", line 986, in _gcd_import
277webapp | File "<frozen importlib._bootstrap>", line 969, in _find_and_load
278webapp | File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
279webapp | File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
280webapp | File "<frozen importlib._bootstrap_external>", line 665, in exec_module
281webapp | File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
282webapp | File "/webodm/webodm/urls.py", line 23, in <module>
283webapp | url(r'^', include('app.urls')),
284webapp | File "/usr/local/lib/python3.5/site-packages/django/conf/urls/__init__.py", line 50, in include
285webapp | urlconf_module = import_module(urlconf_module)
286webapp | File "/usr/local/lib/python3.5/importlib/__init__.py", line 126, in import_module
287webapp | return _bootstrap._gcd_import(name[level:], package, level)
288webapp | File "<frozen importlib._bootstrap>", line 986, in _gcd_import
289webapp | File "<frozen importlib._bootstrap>", line 969, in _find_and_load
290webapp | File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
291webapp | File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
292webapp | File "<frozen importlib._bootstrap_external>", line 665, in exec_module
293webapp | File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
294webapp | File "/webodm/app/urls.py", line 23, in <module>
295webapp | boot()
296webapp | File "/webodm/app/boot.py", line 26, in boot
297webapp | default_group.permissions.add(Permission.objects.get(codename="view_processingnode"))
298webapp | File "/usr/local/lib/python3.5/site-packages/django/db/models/manager.py", line 85, in manager_method
299webapp | return getattr(self.get_queryset(), name)(*args, **kwargs)
300webapp | File "/usr/local/lib/python3.5/site-packages/django/db/models/query.py", line 385, in get
301webapp | self.model._meta.object_name
302webapp | django.contrib.auth.models.DoesNotExist: Permission matching query does not exist.
303webapp |
304webapp |
305webapp | Congratulations! â””@(・◡・)@â”
306webapp | ==========================
307webapp |
308webapp | If there are no errors, WebODM should be up and running!
309webapp |
310webapp | Open a web browser and navigate to http://localhost:8000
311webapp |
312webapp | NOTE: Windows users using docker should replace localhost with the IP of their docker machine's IP. To find what that is, run: docker-machine ip