Webodm: Keep getting no space on Device have plenty of HD space but VM machine wont seem to expand past 19 gig

Created on 21 May 2017  路  7Comments  路  Source: OpenDroneMap/WebODM

`Environment:

Request Method: GET
Request URL: http://192.168.99.102:8000/processingnode/1/

Django Version: 1.10.5
Python Version: 3.5.3
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.gis',
'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

  1. return self.cursor.execute(sql, params)

The above exception (could not extend file "base/16384/18022": No space left on device
HINT: Check free disk space.
) was the direct cause of the following exception:

File "/usr/local/lib/python3.5/site-packages/django/core/handlers/exception.py" in inner

  1. response = get_response(request)

File "/usr/local/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response

  1. response = self.process_exception_by_middleware(e, request)

File "/usr/local/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response

  1. response = wrapped_callback(request, callback_args, *callback_kwargs)

File "/usr/local/lib/python3.5/site-packages/django/contrib/auth/decorators.py" in _wrapped_view

  1. return view_func(request, args, *kwargs)

File "/webodm/app/views.py" in processing_node

  1. if not pn.update_node_info():

File "/webodm/nodeodm/models.py" in wrapper

  1. return func(args, *kwargs)

File "/webodm/nodeodm/models.py" in update_node_info

  1. self.save()

File "/usr/local/lib/python3.5/site-packages/django/db/models/base.py" in save

  1. force_update=force_update, update_fields=update_fields)

File "/usr/local/lib/python3.5/site-packages/django/db/models/base.py" in save_base

  1. updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)

File "/usr/local/lib/python3.5/site-packages/django/db/models/base.py" in _save_table

  1. forced_update)

File "/usr/local/lib/python3.5/site-packages/django/db/models/base.py" in _do_update

  1. return filtered._update(values) > 0

File "/usr/local/lib/python3.5/site-packages/django/db/models/query.py" in _update

  1. return query.get_compiler(self.db).execute_sql(CURSOR)

File "/usr/local/lib/python3.5/site-packages/django/db/models/sql/compiler.py" in execute_sql

  1. cursor = super(SQLUpdateCompiler, self).execute_sql(result_type)

File "/usr/local/lib/python3.5/site-packages/django/db/models/sql/compiler.py" in execute_sql

  1. cursor.execute(sql, params)

File "/usr/local/lib/python3.5/site-packages/django/db/backends/utils.py" in execute

  1. return super(CursorDebugWrapper, self).execute(sql, params)

File "/usr/local/lib/python3.5/site-packages/django/db/backends/utils.py" in execute

  1. return self.cursor.execute(sql, params)

File "/usr/local/lib/python3.5/site-packages/django/db/utils.py" in __exit__

  1. six.reraise(dj_exc_type, dj_exc_value, traceback)

File "/usr/local/lib/python3.5/site-packages/django/utils/six.py" in reraise

  1. raise value.with_traceback(tb)

File "/usr/local/lib/python3.5/site-packages/django/db/backends/utils.py" in execute

  1. return self.cursor.execute(sql, params)

Exception Type: OperationalError at /processingnode/1/
Exception Value: could not extend file "base/16384/18022": No space left on device
HINT: Check free disk space.
`

improvements question

All 7 comments

OperationalError at /processingnode/1/

could not extend file "base/16384/18022": No space left on device
HINT: Check free disk space.

Request Method: GET
Request URL: http://192.168.99.102:8000/processingnode/1/
Django Version: 1.10.5
Exception Type: OperationalError
Exception Value:

could not extend file "base/16384/18022": No space left on device
HINT: Check free disk space.

Exception Location: /usr/local/lib/python3.5/site-packages/django/db/backends/utils.py in execute, line 64
Python Executable: /usr/local/bin/python
Python Version: 3.5.3
Python Path:

['/webodm',
'/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']

Server time: Sun, 21 May 2017 21:29:51 +0000

Hi @marvinlange I'm assuming you are on Windows.

Make sure you allocate enough disk space to your Docker container. By default it will stop at 20G. See this link https://github.com/docker/kitematic/issues/825

This Video explains it very vell: https://youtu.be/kJQegRQUhWU?t=5m54s

He links to: http://support.divio.com/local-development/docker/managing-disk-space-in-your-docker-vm

you basicly add a Flag at the right place in the "start.sh" from docker. So Docker will creat a bigger diks in the Virtual machine.

But at the same Time i have a question myself:
I would like to move the virtual machine to my secondary hard disk, since my first one ist too small. Does somebody know how I could do this?

Nice link @dani2007 !

I think I will add that to both the README and within WebODM.

@dani2007 you need to move the virtual disk to your secondary hard drive. See this link: https://dirkstrauss.com/moving-virtualbox-vm/

I upgraded to windows 10 and now its using a file MobyLinuxVM.vhdx at 48 GIG seems to be processing fine but the view 3d Model dos not work
webodm

see this message in terminal

ebapp | WARNING Not Found: /api/projects/35/tasks/2/tiles/1/0/1.png
webapp | WARNING "GET /api/projects/35/tasks/2/tiles/1/0/1.png HTTP/1.1" 404 23
webapp | WARNING Not Found: /api/projects/35/tasks/2/tiles/1/0/1.png
webapp | WARNING "GET /api/projects/35/tasks/2/tiles/1/0/1.png HTTP/1.1"

Found it sorry it was a Firefox issue it works in Microsoft Edge

Was this page helpful?
0 / 5 - 0 ratings