Fangtooth Upgrade from ElectricEel-24.10.2 fails

Description

I have tried all the following methods to update my ElectricEel-24.10.2 to the Fangtooth RC-1 and it continues to fail.
tried:
1. Upgrade button in the menu
2. Manual upgrade in the menu using downloaded copy of the update file
3. I installed fresh via the .iso, imported my pools and tried to apply my config file (which fails).

Session ID: e738ddc4-eecd-a2df-d9bd-2e3e393cd7b9

Problem/Justification

None

Impact

None

Activity

Show:

Aaron Richard Clark 2 days ago
Edited

I tried both ways. I saved with the secret seed and without. I tried the Secret Seed .tar file first. Then without. I have restored my Electric Eel back (via .iso and config file) and used the config file which worked.

Andrew Walker 2 days ago

Are you trying to restore a config without the secret seed?

Linzi Moore 2 days ago

Thanks for your submission! This is in our queue to review now. An engineering representative will update with any further questions or details in the near future.

Aaron Richard Clark 2 days ago

I am not understanding what this error message is telling me.

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 509, in run
await self.future
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 554, in __run_body
rv = await self.method(*args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 179, in nf
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/update.py", line 286, in update
await self.middleware.call('update.install', job, os.path.join(location, 'update.sqsh'), options)
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1629, in call
return await self.call(
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1471, in call
return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1364, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/update/install_linux.py", line 50, in install
self.middleware.call_sync("update.install_scale", mounted, progress_callback, options)
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1665, in call_sync
return methodobj(*prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/update/install.py", line 52, in install_scale
self.execute_truenas_install(mounted, command, progress_callback)
File "/usr/lib/python3/dist-packages/middlewared/plugins/update/install.py", line 83, in _execute_truenas_install
raise CallError(result or f"Abnormal installer process termination with code {p.returncode}")
middlewared.service_exception.CallError: [EFAULT] Command ['chroot', '/tmp/tmpt3fxuvm7', 'migrate'] failed with exit code 1: + DATABASE=/data/freenas-v1.db

  • PWENC_SECRET=/data/pwenc_secret

  • python3 -c import os; import sys; sys.path.remove("") if "" in sys.path else None; import middlewared; print(os.path.dirname(middlewared.spec.origin))

  • cd /usr/lib/python3/dist-packages/middlewared

  • FREENAS_DATABASE=/data/freenas-v1.db FREENAS_PWENC_SECRET=/data/pwenc_secret alembic upgrade head
    INFO [alembic.runtime.migration] Context impl SQLiteImpl.
    INFO [alembic.runtime.migration] Will assume non-transactional DDL.
    INFO [alembic.runtime.migration] Running upgrade 5654da8713d1 -> 504a7bd32680, Add iSCSI discoverauth
    INFO [alembic.runtime.migration] Running upgrade 504a7bd32680, 7b13df980355 -> d4d5d52be239, Merge
    INFO [alembic.runtime.migration] Running upgrade d4d5d52be239, d24d6760fda4 -> 991d17a5b3a2, Merge
    INFO [alembic.runtime.migration] Running upgrade 991d17a5b3a2, 98c1ebde0079 -> 9f51d0be7b07, Merge
    INFO [alembic.runtime.migration] Running upgrade 9f51d0be7b07, c31881e67797 -> 7b618b9ca77d, Merge
    INFO [alembic.runtime.migration] Running upgrade 7b618b9ca77d -> 6dedf12c1035, Remove deprecated v4_v3owner NFS configuration option
    INFO [alembic.runtime.migration] Running upgrade 6dedf12c1035 -> f449b425ad89, Remove TrueNAS customer information
    INFO [alembic.runtime.migration] Running upgrade f449b425ad89, 92b98613c498 -> 5fe28eada969, Merge
    INFO [alembic.runtime.migration] Running upgrade 5fe28eada969 -> 85e5d349cdb1, Add NFS RDMA configuration setting
    INFO [alembic.runtime.migration] Running upgrade 85e5d349cdb1 -> 8ae49ac78d14, Convert to user-linked tokens
    INFO [alembic.runtime.migration] Running upgrade 8ae49ac78d14 -> dd6e581235b2, Global configuration for virtualization feature
    INFO [alembic.runtime.migration] Running upgrade dd6e581235b2 -> a4ce4939b908, Add serial to VM zvol disk devices
    INFO [alembic.runtime.migration] Running upgrade a4ce4939b908 -> 19900774fe2c, Add table for fc.fc_host CRUD APIs
    INFO [alembic.runtime.migration] Running upgrade 19900774fe2c -> f1ca9deb82b9, Remove redundant/unused k8s table fields
    INFO [alembic.runtime.migration] Running upgrade f1ca9deb82b9 -> 65964bb7b139, Remove iscsi.discoveryauth in favor of updating iscsi.auth
    INFO [alembic.runtime.migration] Running upgrade 65964bb7b139 -> 0e1cd4d5fcf0, Normalize authenticator attributes
    Traceback (most recent call last):
    File "/usr/bin/alembic", line 33, in <module>
    sys.exit(load_entry_point('alembic==1.8.1.dev0', 'console_scripts', 'alembic')())
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/alembic/config.py", line 590, in main
    CommandLine(prog=prog).main(argv=argv)
    File "/usr/lib/python3/dist-packages/alembic/config.py", line 584, in main
    self.run_cmd(cfg, options)
    File "/usr/lib/python3/dist-packages/alembic/config.py", line 561, in run_cmd
    fn(
    File "/usr/lib/python3/dist-packages/alembic/command.py", line 322, in upgrade
    script.run_env()
    File "/usr/lib/python3/dist-packages/alembic/script/base.py", line 569, in run_env
    util.load_python_file(self.dir, "env.py")
    File "/usr/lib/python3/dist-packages/alembic/util/pyfiles.py", line 94, in load_python_file
    module = load_module_py(module_id, path)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/alembic/util/pyfiles.py", line 110, in load_module_py
    spec.loader.exec_module(module) # type: ignore
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "<frozen importlib._bootstrap_external>", line 940, in exec_module
    File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
    File "/usr/lib/python3/dist-packages/middlewared/alembic/env.py", line 167, in <module>
    run_migrations_online()
    File "/usr/lib/python3/dist-packages/middlewared/alembic/env.py", line 161, in run_migrations_online
    context.run_migrations()
    File "<string>", line 8, in run_migrations
    File "/usr/lib/python3/dist-packages/alembic/runtime/environment.py", line 853, in run_migrations
    self.get_context().run_migrations(**kw)
    File "/usr/lib/python3/dist-packages/alembic/runtime/migration.py", line 623, in run_migrations
    step.migration_fn(**kw)
    File "/usr/lib/python3/dist-packages/middlewared/alembic/versions/25.04/2024-11-05_23-35_authenticator_normalization.py", line 26, in upgrade
    attributes = json.loads(decrypt(authenticator_config['attributes']))
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3.11/json/init.py", line 346, in loads
    return _default_decoder.decode(s)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3.11/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
    json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Aaron Richard Clark 2 days ago

I have 2 other Truenas Scale systems and I was able to update those (one manually and the other via the menu button). This server is a Dell R720XD running my Plex and media server applications.

Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Priority

More fields

Katalon Platform

Created 2 days ago
Updated yesterday