FreeNAS 11.2-BETA3 Now Available!

Status
Not open for further replies.

KrisBee

Wizard
Joined
Mar 20, 2017
Messages
1,288

Amsoil_Jim

Contributor
Joined
Feb 22, 2016
Messages
175
Looks a locking problem on the sqlite database (config file).
Code:
django.db.utils.OperationalError: database is locked
. Is it constantly throwing that error or was it a one-off occurrence?
Got this error notification during a scrub of the boot drives.
New alerts:
* Unable to run alert source 'Replication'
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/usr/local/www/freenasUI/freeadmin/sqlite3_ha/base.py", line 412, in execute
execute = self.locked_retry(Database.Cursor.execute, query, params)
File "/usr/local/www/freenasUI/freeadmin/sqlite3_ha/base.py", line 403, in locked_retry
raise e
File "/usr/local/www/freenasUI/freeadmin/sqlite3_ha/base.py", line 389, in locked_retry
rv = method(self, *args, **kwargs)
sqlite3.OperationalError: database is locked

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/alert.py", line 355, in __run_source
alerts = (await alert_source.check()) or []
File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/../alert/source/replication.py", line 10, in check
for replication in await self.middleware.call("replication.query", [["enabled", "=", True]]):
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1037, in call
return await self._call(name, serviceobj, methodobj, params, app=app, pipes=pipes, io_thread=True)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 973, in _call
return await methodobj(*args)
File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 664, in nf
return await f(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/service.py", line 266, in query
'datastore.query', self._config.datastore, [], datastore_options
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1037, in call
return await self._call(name, serviceobj, methodobj, params, app=app, pipes=pipes, io_thread=True)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 987, in _call
return await run_method(methodobj, *args)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 933, in run_in_thread
return await self.loop.run_in_executor(executor, functools.partial(method, *args, **kwargs))
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 668, in nf
return f(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/datastore.py", line 171, in query
qs, extend=options.get('extend'), field_prefix=options.get('prefix')
File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/datastore.py", line 88, in __queryset_serialize
for i in qs:
File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 256, in __iter__
self._fetch_all()
File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1087, in _fetch_all
self._result_cache = list(self.iterator())
File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 54, in __iter__
results = compiler.execute_sql()
File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 835, in execute_sql
cursor.execute(sql, params)
File "/usr/local/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/usr/local/lib/python3.6/site-packages/django/db/utils.py", line 94, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/usr/local/lib/python3.6/site-packages/django/utils/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/usr/local/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/usr/local/www/freenasUI/freeadmin/sqlite3_ha/base.py", line 412, in execute
execute = self.locked_retry(Database.Cursor.execute, query, params)
File "/usr/local/www/freenasUI/freeadmin/sqlite3_ha/base.py", line 403, in locked_retry
raise e
File "/usr/local/www/freenasUI/freeadmin/sqlite3_ha/base.py", line 389, in locked_retry
rv = method(self, *args, **kwargs)
django.db.utils.OperationalError: database is locked


Alerts:
* Unable to run alert source 'Replication'
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/usr/local/www/freenasUI/freeadmin/sqlite3_ha/base.py", line 412, in execute
execute = self.locked_retry(Database.Cursor.execute, query, params)
File "/usr/local/www/freenasUI/freeadmin/sqlite3_ha/base.py", line 403, in locked_retry
raise e
File "/usr/local/www/freenasUI/freeadmin/sqlite3_ha/base.py", line 389, in locked_retry
rv = method(self, *args, **kwargs)
sqlite3.OperationalError: database is locked

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/alert.py", line 355, in __run_source
alerts = (await alert_source.check()) or []
File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/../alert/source/replication.py", line 10, in check
for replication in await self.middleware.call("replication.query", [["enabled", "=", True]]):
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1037, in call
return await self._call(name, serviceobj, methodobj, params, app=app, pipes=pipes, io_thread=True)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 973, in _call
return await methodobj(*args)
File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 664, in nf
return await f(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/service.py", line 266, in query
'datastore.query', self._config.datastore, [], datastore_options
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1037, in call
return await self._call(name, serviceobj, methodobj, params, app=app, pipes=pipes, io_thread=True)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 987, in _call
return await run_method(methodobj, *args)
File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 933, in run_in_thread
return await self.loop.run_in_executor(executor, functools.partial(method, *args, **kwargs))
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 668, in nf
return f(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/datastore.py", line 171, in query
qs, extend=options.get('extend'), field_prefix=options.get('prefix')
File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/datastore.py", line 88, in __queryset_serialize
for i in qs:
File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 256, in __iter__
self._fetch_all()
File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1087, in _fetch_all
self._result_cache = list(self.iterator())
File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 54, in __iter__
results = compiler.execute_sql()
File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 835, in execute_sql
cursor.execute(sql, params)
File "/usr/local/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/usr/local/lib/python3.6/site-packages/django/db/utils.py", line 94, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/usr/local/lib/python3.6/site-packages/django/utils/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/usr/local/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/usr/local/www/freenasUI/freeadmin/sqlite3_ha/base.py", line 412, in execute
execute = self.locked_retry(Database.Cursor.execute, query, params)
File "/usr/local/www/freenasUI/freeadmin/sqlite3_ha/base.py", line 403, in locked_retry
raise e
File "/usr/local/www/freenasUI/freeadmin/sqlite3_ha/base.py", line 389, in locked_retry
rv = method(self, *args, **kwargs)
django.db.utils.OperationalError: database is locked
Could this just be related to the fact that I have a mirror boot drive setup? I know there was an issue mentioned about beta 3 and mirrored boot drives.
 

atom

Cadet
Joined
Sep 26, 2018
Messages
1
Hi, just wanted to let you awesome people know that the 11.2-BETA3 has been running smoothly for 13 days since update.

I had manually updated all my jails in advance from warden to iocage.

So big thanks... =)

Only one tiny nit to complain about and thats "reporting".. just drop the new version and display the legacy version :)
Also the charts seem to display a lot of bogus data (zeros?) in the end of the time series?

Cheers
 

BAM

Cadet
Joined
Aug 14, 2018
Messages
1
So far running well, BETA-3 update from fresh BETA-2 install.

Only thing I've noticed is my ADA4 (single drive in a separate pool) now shows temperature as 0 on the dashboard but used to be ok (other drives still report temp ok).

Having issue of SMB writes pausing (seemingly random) but was also with BETA-2, have to find some time to look into that one.
 

riste

Explorer
Joined
Jul 20, 2012
Messages
52
So far running well, BETA-3 update from fresh BETA-2 install.

Only thing I've noticed is my ADA4 (single drive in a separate pool) now shows temperature as 0 on the dashboard but used to be ok (other drives still report temp ok).

Having issue of SMB writes pausing (seemingly random) but was also with BETA-2, have to find some time to look into that one.

i have the same issues plz pm me if you find a solution! Thanks
 

hungarianhc

Patron
Joined
Mar 11, 2014
Messages
234
I'm currently running on this version with no issues. Am I right that the next release will be RC? I've been waiting to test eMMC support. Looks like it's coming in that release, right?
 

majerus

Contributor
Joined
Dec 21, 2012
Messages
126
Where is the announcement thread?
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
It doesn’t look like they have posted an announcement here yet. There is one for 11,2-RC1 on iXsysten’s blog. Sorry I can’t provide the link using my phone.
 

Zwck

Patron
Joined
Oct 27, 2016
Messages
371
Well I updated last night works well on my end
 

Apollo

Wizard
Joined
Jun 13, 2013
Messages
1,458
New GUI on RC1 has been improved in ways it makes it more enjoyable and efficient to use.
No issue with the upgraded path from Beta 3.
 

Jacopx

Patron
Joined
Feb 19, 2016
Messages
367
I like to understand a thing...

I'm now FN11.1-U6, if I change my train to the FN11.2-STABLE what will the update change? Will my current (warden) jail keep working? I think yes. Then I will recreate them the with the new system (iocage)...
 

rio236

Dabbler
Joined
Aug 19, 2016
Messages
38
Hello,
I have a new server setup with the 11.2 RC1 release and it is dismal compared to 11.3 nightly or 9.10.2-U6.
1. The webgui freezes.
2. When transferring large amount of data, 1TB+, after the transfer the hard drive activity light continue to flicker continuously and the webgui is not available - have to reset the server.
Thanks
 

hescominsoon

Patron
Joined
Jul 27, 2016
Messages
456
Hello,
I have a new server setup with the 11.2 RC1 release and it is dismal compared to 11.3 nightly or 9.10.2-U6.
1. The webgui freezes.
2. When transferring large amount of data, 1TB+, after the transfer the hard drive activity light continue to flicker continuously and the webgui is not available - have to reset the server.
Thanks
what are the hardware stats on your machine..in particular ram and nic?
 

rio236

Dabbler
Joined
Aug 19, 2016
Messages
38
what are the hardware stats on your machine..in particular ram and nic?
The hardware:
Chassis - Supermicro SC846BE1C-R1K23B
M/B - Supermicro X11SPH-nCTF
- 2 10GbE LAN ports
CPU - Intel® Xeon® Silver 4114 Processor
Memory - Samsung M393A4K40BB2-CTD x4 = 64GB
Heatsink - Supermicro SNK-P0068APS4
 
  • Like
Reactions: acp

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
Well it sounds like RC1 is coming along, guess it's time for me to try it out this weekend.
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
I'm glad to see they have decided an RC2 was worth the extra work and time. I look forward to testing the release.
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994

hervon

Patron
Joined
Apr 23, 2012
Messages
353
Updated from RC1 to RC2 through the GUI without issue so far. SMB works. My 'homemade' iocage jails work : Urbackup, MiniDLNA and Transmission. I had to clear firefox cache to resolve minor GUI oddities.
 
Status
Not open for further replies.
Top