I installed FreeNAS 8.3.0 into a 8GB USB stick. Install was a success and when I'm trying to add a 2TB HD, it is failing to complete with DatabaseError:
Exception Type: DatabaseError at /storage/wizard/
Exception Value: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.
Not knowing exactly what could be the problem, JUST IN CASE, tried to add the volume using a different browser. Same problem.
TIA. Hermann
Environment:
Software Version: FreeNAS-8.3.0-RELEASE-p1-x86 (r12825)
Request Method: POST
Request URL: http://192.168.2.180/storage/wizard/
Traceback:
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
105. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/middleware.py" in process_view
166. return login_required(view_func)(request, *view_args, **view_kwargs)
File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
20. return view_func(request, *args, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/storage/views.py" in wizard
198. form.done(request)
File "/usr/local/www/freenasUI/../freenasUI/storage/forms.py" in done
402. force4khack=force4khack, path=ufspath)
File "/usr/local/www/freenasUI/../freenasUI/middleware/notifier.py" in init
258. f(objectid, *args, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/middleware/notifier.py" in _init_volume
1320. self.__create_zfs_volume(volume, swapsize, kwargs.pop('groups', False), kwargs.pop('force4khack', False), kwargs.pop('path', None))
File "/usr/local/www/freenasUI/../freenasUI/middleware/notifier.py" in __create_zfs_volume
1062. vdevs, gnops, want4khack = self.__prepare_zfs_vdev(vgrp['disks'], vdev_swapsize, want4khack)
File "/usr/local/www/freenasUI/../freenasUI/middleware/notifier.py" in __prepare_zfs_vdev
1016. swapsize=swapsize)
File "/usr/local/www/freenasUI/../freenasUI/middleware/notifier.py" in __gpt_labeldisk
978. self.sync_disk(devname)
File "/usr/local/www/freenasUI/../freenasUI/middleware/notifier.py" in sync_disk
3464. if ident and qs.exists():
File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py" in exists
562. return self.query.has_results(using=self.db)
File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/query.py" in has_results
441. return bool(compiler.execute_sql(SINGLE))
File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py" in execute_sql
818. cursor.execute(sql, params)
File "/usr/local/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py" in execute
337. return Database.Cursor.execute(self, query, params)
Exception Type: DatabaseError at /storage/wizard/
Exception Value: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.

Exception Type: DatabaseError at /storage/wizard/
Exception Value: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.
Not knowing exactly what could be the problem, JUST IN CASE, tried to add the volume using a different browser. Same problem.
TIA. Hermann
Environment:
Software Version: FreeNAS-8.3.0-RELEASE-p1-x86 (r12825)
Request Method: POST
Request URL: http://192.168.2.180/storage/wizard/
Traceback:
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
105. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/middleware.py" in process_view
166. return login_required(view_func)(request, *view_args, **view_kwargs)
File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
20. return view_func(request, *args, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/storage/views.py" in wizard
198. form.done(request)
File "/usr/local/www/freenasUI/../freenasUI/storage/forms.py" in done
402. force4khack=force4khack, path=ufspath)
File "/usr/local/www/freenasUI/../freenasUI/middleware/notifier.py" in init
258. f(objectid, *args, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/middleware/notifier.py" in _init_volume
1320. self.__create_zfs_volume(volume, swapsize, kwargs.pop('groups', False), kwargs.pop('force4khack', False), kwargs.pop('path', None))
File "/usr/local/www/freenasUI/../freenasUI/middleware/notifier.py" in __create_zfs_volume
1062. vdevs, gnops, want4khack = self.__prepare_zfs_vdev(vgrp['disks'], vdev_swapsize, want4khack)
File "/usr/local/www/freenasUI/../freenasUI/middleware/notifier.py" in __prepare_zfs_vdev
1016. swapsize=swapsize)
File "/usr/local/www/freenasUI/../freenasUI/middleware/notifier.py" in __gpt_labeldisk
978. self.sync_disk(devname)
File "/usr/local/www/freenasUI/../freenasUI/middleware/notifier.py" in sync_disk
3464. if ident and qs.exists():
File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py" in exists
562. return self.query.has_results(using=self.db)
File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/query.py" in has_results
441. return bool(compiler.execute_sql(SINGLE))
File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py" in execute_sql
818. cursor.execute(sql, params)
File "/usr/local/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py" in execute
337. return Database.Cursor.execute(self, query, params)
Exception Type: DatabaseError at /storage/wizard/
Exception Value: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.


