Shell unavailable after upgrading to Dragonfish

So, after an upgrade to I have no Shell. It just states:
Linux labsan01 6.6.29-production+truenas #1 SMP PREEMPT_DYNAMIC Wed May 29 15:05:57 UTC 2024 x86_64

    TrueNAS (c) 2009-2024, iXsystems, Inc.
    All rights reserved.
    TrueNAS code is released under the modified BSD license with some
    files copyrighted by (c) iXsystems, Inc.

    For more information, documentation, help or support, go here:

Welcome to TrueNAS
Last login: Thu Jun 6 11:23:30 CEST 2024 on pts/1
Creating directory ‘/nonexistent’.
Unable to create and initialize directory ‘/nonexistent’.

Permission denied

Any suggestions on hoe to fix it?


Change the home directory for the admin user to something that exists.


It is unclear what version of TN you migrated from, and this information would probably be useful.

1 Like

More precisely, if you don’t want to have a home directory for this user then set it to /var/empty which is an immutable empty directory.


It was indeed the user’s home folder…