I installed WebODM with Docker Toolbox and Python 3.6.
I am using firefox as browser but firefox give me a error as below without giving me the option to log in
Environment:
Request Method: GET
Request URL: http://192.168.99.100:8000/
Django Version: 1.11.1
Python Version: 3.5.2
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.gis',
'django_filters',
'guardian',
'rest_framework',
'rest_framework_nested',
'webpack_loader',
'corsheaders',
'app',
'nodeodm']
Installed Middleware:
['corsheaders.middleware.CorsMiddleware',
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'django.middleware.locale.LocaleMiddleware']
Traceback:
File "/usr/local/lib/python3.5/site-packages/django/db/backends/utils.py" in execute
The above exception (relation "auth_user" does not exist
LINE 1: SELECT COUNT(*) AS "__count" FROM "auth_user" WHERE "auth_us...
^
) was the direct cause of the following exception:
File "/usr/local/lib/python3.5/site-packages/django/core/handlers/exception.py" in inner
File "/usr/local/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response
File "/usr/local/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response
File "/webodm/app/views.py" in index
File "/usr/local/lib/python3.5/site-packages/django/db/models/query.py" in count
File "/usr/local/lib/python3.5/site-packages/django/db/models/sql/query.py" in get_count
File "/usr/local/lib/python3.5/site-packages/django/db/models/sql/query.py" in get_aggregation
File "/usr/local/lib/python3.5/site-packages/django/db/models/sql/compiler.py" in execute_sql
File "/usr/local/lib/python3.5/site-packages/django/db/models/sql/compiler.py" in execute_sql
File "/usr/local/lib/python3.5/site-packages/django/db/backends/utils.py" in execute
File "/usr/local/lib/python3.5/site-packages/django/db/backends/utils.py" in execute
File "/usr/local/lib/python3.5/site-packages/django/db/utils.py" in __exit__
File "/usr/local/lib/python3.5/site-packages/django/utils/six.py" in reraise
File "/usr/local/lib/python3.5/site-packages/django/db/backends/utils.py" in execute
Exception Type: ProgrammingError at /
Exception Value: relation "auth_user" does not exist
LINE 1: SELECT COUNT(*) AS "__count" FROM "auth_user" WHERE "auth_us...
Hey @DroneMapper, looks like for some reason your database did not start, or the application wasn't able to connect to it.
Could you output a complete log of:
./webodm.sh start
?
ownloads/ Pictures/
Favorites/ PrintHood@
IntelGraphicsProfiles/ Recent@
Links/ 'Saved Games'/
'Local Settings'@ Searches/
Music/ SendTo@
'My Documents'@ 'Start Menu'@
NetHood@ Templates@
NTUSER.DAT Videos/
ntuser.dat.LOG1 WebODM/
drone@LAPTOP-19S0Q02U MINGW64 ~
$ cd webodm
drone@LAPTOP-19S0Q02U MINGW64 ~/webodm (master)
$ ./webodm.sh start
Checking for docker... OK
Checking for git... OK
Checking for python... OK
Checking for pip... OK
Checking for docker-compose... OK
Starting WebODM...
docker-compose -f docker-compose.yml -f docker-compose.nodeodm.yml start || docker-compose -f docker-compose.yml -f docker-compose.nodeodm.yml up
Starting db ... done
Starting node-odm-1 ... done
Starting webapp ... done
drone@LAPTOP-19S0Q02U MINGW64 ~/webodm (master)
$
Message in Firefox
Request Method: | GET
-- | --
http://192.168.99.100:8000/
1.11.1
OperationalError
FATAL: the database system is starting up
/usr/local/lib/python3.5/site-packages/psycopg2/__init__.py in connect, line 164
/usr/local/bin/python3.5
3.5.2
['/webodm', '/usr/local/bin', '/webodm', '/usr/local/lib/python35.zip', '/usr/local/lib/python3.5', '/usr/local/lib/python3.5/plat-linux', '/usr/local/lib/python3.5/lib-dynload', '/usr/local/lib/python3.5/site-packages']
Tue, 7 Nov 2017 17:36:11 +0000
Try to run:
docker exec -ti $(docker ps -q --filter "name=webapp") bash -c "cd /webodm; python manage.py makemigrations; python manage.py migrate"
Thanks for the help, it works
It works but wants me to add a processing node
Add the following from the "Add processing node" panel:
Hostname: node-odm-1
Port: 3000
@pierotofy Your solution worked for me. Thanks.