Hi!
I’m new here, I’ve installed my TrueNAS and I’m very happy with it! I’ve managed to install most of the Apps I need, but there’s one App that seems to be playing games with me. All help is greatly appreciated!
Here’s my issue.
I’m attempting to install BookStack from the App Cataloge with very basic settings. I’m just filling out the fields as usual. When I select ixVolumes for storage, it’s not an issue at all. It installs and deploys without problems.
If I select host path (which I prefer), it fails to deploy successfully. This is the immediate failure message I get:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 515, in run
await self.future
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 562, in __run_body
rv = await self.middleware.run_in_thread(self.method, *args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 622, in run_in_thread
return await self.run_in_executor(io_thread_pool_executor, method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 619, 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/service/crud_service.py", line 294, in nf
rv = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/api/base/decorator.py", line 101, in wrapped
result = func(*args)
^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/apps/crud.py", line 148, in do_create
return self.create_internal(job, app_name, version, data['values'], complete_app_details)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/apps/crud.py", line 193, in create_internal
raise e from None
File "/usr/lib/python3/dist-packages/middlewared/plugins/apps/crud.py", line 186, in create_internal
compose_action(app_name, version, 'up', force_recreate=True, remove_orphans=True)
File "/usr/lib/python3/dist-packages/middlewared/plugins/apps/compose_utils.py", line 61, in compose_action
raise CallError(err_msg)
middlewared.service_exception.CallError: [EFAULT] Failed 'up' action for 'bookstack' app. Please check /var/log/app_lifecycle.log for more details
This isn’t to much help, so I investigate the logs using:
grep -i "bookstack" -n /var/log/app_lifecycle.log | tail -n 50
I then get:
[=================================> ] 46.63MB/70.45MB\n 5b2efaa554c6 Downloading [================================> ] 68.62MB/104.3MB\n 162fcbecc8c8 Downloading [=================================> ] 47.71MB/70.45MB\n 162fcbecc8c8 Downloading [==================================> ] 48.77MB/70.45MB\n 162fcbecc8c8 Downloading [===================================> ] 49.84MB/70.45MB\n 5b2efaa554c6 Downloading [=================================> ] 69.16MB/104.3MB\n 162fcbecc8c8 Downloading [====================================> ] 50.92MB/70.45MB\n 162fcbecc8c8 Downloading [====================================> ] 51.98MB/70.45MB\n 162fcbecc8c8 Downloading [=====================================> ] 53.06MB/70.45MB\n 5b2efaa554c6 Downloading [=================================> ] 69.7MB/104.3MB\n 162fcbecc8c8 Downloading [======================================> ] 54.13MB/70.45MB\n 162fcbecc8c8 Downloading [=======================================> ] 55.21MB/70.45MB\n 162fcbecc8c8 Downloading [=======================================> ] 56.27MB/70.45MB\n 5b2efaa554c6 Downloading [=================================> ] 70.23MB/104.3MB\n 162fcbecc8c8 Downloading [========================================> ] 57.33MB/70.45MB\n 162fcbecc8c8 Downloading [=========================================> ] 58.41MB/70.45MB\n 162fcbecc8c8 Downloading [==========================================> ] 59.47MB/70.45MB\n 5b2efaa554c6 Downloading [=================================> ] 70.77MB/104.3MB\n 162fcbecc8c8 Downloading [==========================================> ] 60.54MB/70.45MB\n 162fcbecc8c8 Downloading [===========================================> ] 61.61MB/70.45MB\n 162fcbecc8c8 Downloading [============================================> ] 62.68MB/70.45MB\n 5b2efaa554c6 Downloading [==================================> ] 71.3MB/104.3MB\n 162fcbecc8c8 Downloading [=============================================> ] 63.76MB/70.45MB\n 162fcbecc8c8 Downloading [==============================================> ] 64.84MB/70.45MB\n 162fcbecc8c8 Downloading [==============================================> ] 65.91MB/70.45MB\n 5b2efaa554c6 Downloading [==================================> ] 71.83MB/104.3MB\n 162fcbecc8c8 Downloading [===============================================> ] 66.99MB/70.45MB\n 162fcbecc8c8 Downloading [================================================> ] 68.6MB/70.45MB\n 162fcbecc8c8 Downloading [=================================================> ] 70.21MB/70.45MB\n 162fcbecc8c8 Verifying Checksum \n 162fcbecc8c8 Download complete \n 162fcbecc8c8 Extracting [> ] 557.1kB/70.45MB\n 5b2efaa554c6 Downloading [==================================> ] 72.36MB/104.3MB\n 162fcbecc8c8 Extracting [====> ] 6.685MB/70.45MB\n 162fcbecc8c8 Extracting [===========> ] 15.6MB/70.45MB\n 5b2efaa554c6 Downloading [==================================> ] 72.91MB/104.3MB\n 162fcbecc8c8 Extracting [================> ] 23.4MB/70.45MB\n 5b2efaa554c6 Downloading [===================================> ] 73.45MB/104.3MB\n 162fcbecc8c8 Extracting [=====================> ] 30.08MB/70.45MB\n 5b2efaa554c6 Downloading [===================================> ] 74.51MB/104.3MB\n 162fcbecc8c8 Extracting [============================> ] 40.11MB/70.45MB\n 5b2efaa554c6 Downloading [====================================> ] 76.11MB/104.3MB\n 162fcbecc8c8 Extracting [=================================> ] 47.35MB/70.45MB\n 162fcbecc8c8 Extracting [===================================> ] 50.14MB/70.45MB\n 5b2efaa554c6 Downloading [=====================================> ] 77.72MB/104.3MB\n 162fcbecc8c8 Extracting [======================================> ] 54.03MB/70.45MB\n 5b2efaa554c6 Downloading [======================================> ] 79.34MB/104.3MB\n 162fcbecc8c8 Extracting [===========================================> ] 61.28MB/70.45MB\n 5b2efaa554c6 Downloading [======================================> ] 80.96MB/104.3MB\n 162fcbecc8c8 Extracting [=============================================> ] 63.5MB/70.45MB\n 5b2efaa554c6 Downloading [=======================================> ] 82.55MB/104.3MB\n 162fcbecc8c8 Extracting [==============================================> ] 65.73MB/70.45MB\n 162fcbecc8c8 Extracting [===============================================> ] 67.4MB/70.45MB\n 5b2efaa554c6 Downloading [========================================> ] 84.15MB/104.3MB\n 162fcbecc8c8 Extracting [=================================================> ] 69.07MB/70.45MB\n 5b2efaa554c6 Downloading [=========================================> ] 85.77MB/104.3MB\n 162fcbecc8c8 Extracting [=================================================> ] 70.19MB/70.45MB\n 5b2efaa554c6 Downloading [=========================================> ] 87.39MB/104.3MB\n 162fcbecc8c8 Extracting [==================================================>] 70.45MB/70.45MB\n 162fcbecc8c8 Pull complete \n 3409c89ba295 Extracting [==================================================>] 4.038kB/4.038kB\n 3409c89ba295 Extracting [==================================================>] 4.038kB/4.038kB\n 3409c89ba295 Pull complete \n 8057d4c0a8e3 Extracting [==================================================>] 8.399kB/8.399kB\n 8057d4c0a8e3 Extracting [==================================================>] 8.399kB/8.399kB\n 8057d4c0a8e3 Pull complete \n mariadb Pulled \n 5b2efaa554c6 Downloading [==========================================> ] 89MB/104.3MB\n 5b2efaa554c6 Downloading [===========================================> ] 90.62MB/104.3MB\n 5b2efaa554c6 Downloading [============================================> ] 92.22MB/104.3MB\n 5b2efaa554c6 Downloading [============================================> ] 93.83MB/104.3MB\n 5b2efaa554c6 Downloading [=============================================> ] 95.44MB/104.3MB\n 5b2efaa554c6 Downloading [==============================================> ] 97.04MB/104.3MB\n 5b2efaa554c6 Downloading [===============================================> ] 98.65MB/104.3MB\n 5b2efaa554c6 Downloading [================================================> ] 100.3MB/104.3MB\n 5b2efaa554c6 Downloading [================================================> ] 101.9MB/104.3MB\n 5b2efaa554c6 Downloading [=================================================> ] 103.5MB/104.3MB\n 5b2efaa554c6 Verifying Checksum \n 5b2efaa554c6 Download complete \n 5b2efaa554c6 Extracting [> ] 557.1kB/104.3MB\n 5b2efaa554c6 Extracting [====> ] 8.356MB/104.3MB\n 5b2efaa554c6 Extracting [========> ] 18.38MB/104.3MB\n 5b2efaa554c6 Extracting [==========> ] 22.28MB/104.3MB\n 5b2efaa554c6 Extracting [==========> ] 22.84MB/104.3MB\n 5b2efaa554c6 Extracting [===========> ] 23.95MB/104.3MB\n 5b2efaa554c6 Extracting [============> ] 25.07MB/104.3MB\n 5b2efaa554c6 Extracting [===============> ] 32.87MB/104.3MB\n 5b2efaa554c6 Extracting [====================> ] 42.34MB/104.3MB\n 5b2efaa554c6 Extracting [=========================> ] 52.36MB/104.3MB\n 5b2efaa554c6 Extracting [===========================> ] 57.38MB/104.3MB\n 5b2efaa554c6 Extracting [=============================> ] 60.72MB/104.3MB\n 5b2efaa554c6 Extracting [===============================> ] 65.18MB/104.3MB\n 5b2efaa554c6 Extracting [==================================> ] 72.42MB/104.3MB\n 5b2efaa554c6 Extracting [=======================================> ] 81.89MB/104.3MB\n 5b2efaa554c6 Extracting [===========================================> ] 90.8MB/104.3MB\n 5b2efaa554c6 Extracting [=============================================> ] 95.26MB/104.3MB\n 5b2efaa554c6 Extracting [===============================================> ] 99.16MB/104.3MB\n 5b2efaa554c6 Extracting [================================================> ] 100.8MB/104.3MB\n 5b2efaa554c6 Extracting [=================================================> ] 103.1MB/104.3MB\n 5b2efaa554c6 Extracting [=================================================> ] 103.6MB/104.3MB\n 5b2efaa554c6 Extracting [==================================================>] 104.3MB/104.3MB\n 5b2efaa554c6 Pull complete \n bada8330efc7 Extracting [==================================================>] 225B/225B\n bada8330efc7 Extracting [==================================================>] 225B/225B\n bada8330efc7 Pull complete \n e941beeb96d0 Extracting [> ] 229.4kB/20.12MB\n e941beeb96d0 Extracting [=================> ] 6.881MB/20.12MB\n e941beeb96d0 Extracting [=========================================> ] 16.74MB/20.12MB\n e941beeb96d0 Extracting [==================================================>] 20.12MB/20.12MB\n e941beeb96d0 Pull complete \n 671ad32608d4 Extracting [==================================================>] 429B/429B\n 671ad32608d4 Extracting [==================================================>] 429B/429B\n 671ad32608d4 Pull complete \n b7da0bc77d29 Extracting [==================================================>] 481B/481B\n b7da0bc77d29 Extracting [==================================================>] 481B/481B\n b7da0bc77d29 Pull complete \n 029b0eb4b9ae Extracting [> ] 163.8kB/13.76MB\n 029b0eb4b9ae Extracting [==================================================>] 13.76MB/13.76MB\n 029b0eb4b9ae Extracting [==================================================>] 13.76MB/13.76MB\n 029b0eb4b9ae Pull complete \n 46dc9017452a Extracting [==================================================>] 490B/490B\n 46dc9017452a Extracting [==================================================>] 490B/490B\n 46dc9017452a Pull complete \n 41c50c57a14d Extracting [> ] 163.8kB/14.18MB\n 41c50c57a14d Extracting [===============> ] 4.26MB/14.18MB\n 41c50c57a14d Extracting [=======================> ] 6.717MB/14.18MB\n 41c50c57a14d Extracting [====================================> ] 10.49MB/14.18MB\n 41c50c57a14d Extracting [=============================================> ] 12.78MB/14.18MB\n 41c50c57a14d Extracting [==================================================>] 14.18MB/14.18MB\n 41c50c57a14d Pull complete \n e51d38c8e70b Extracting [==================================================>] 2.461kB/2.461kB\n e51d38c8e70b Extracting [==================================================>] 2.461kB/2.461kB\n e51d38c8e70b Pull complete \n 0c7a96da1d8b Extracting [==================================================>] 247B/247B\n 0c7a96da1d8b Extracting [==================================================>] 247B/247B\n 0c7a96da1d8b Pull complete \n 8b4753c20047 Extracting [==================================================>] 242B/242B\n 8b4753c20047 Extracting [==================================================>] 242B/242B\n 8b4753c20047 Pull complete \n 7d03b3952b16 Extracting [==================================================>] 891B/891B\n 7d03b3952b16 Extracting [==================================================>] 891B/891B\n 7d03b3952b16 Pull complete \n 4f4fb700ef54 Extracting [==================================================>] 32B/32B\n 4f4fb700ef54 Extracting [==================================================>] 32B/32B\n 4f4fb700ef54 Pull complete \n 3848391664e2 Extracting [> ] 557.1kB/60.05MB\n 3848391664e2 Extracting [=====> ] 6.128MB/60.05MB\n 3848391664e2 Extracting [============> ] 14.48MB/60.05MB\n 3848391664e2 Extracting [===================> ] 23.95MB/60.05MB\n 3848391664e2 Extracting [============================> ] 34.54MB/60.05MB\n 3848391664e2 Extracting [=================================> ] 40.67MB/60.05MB\n 3848391664e2 Extracting [==========================================> ] 50.69MB/60.05MB\n 3848391664e2 Extracting [==================================================>] 60.05MB/60.05MB\n 3848391664e2 Pull complete \n 61b1c7533128 Extracting [==================================================>] 555B/555B\n 61b1c7533128 Extracting [==================================================>] 555B/555B\n 61b1c7533128 Pull complete \n 49892dbdb7ab Extracting [==================================================>] 3.061kB/3.061kB\n 49892dbdb7ab Extracting [==================================================>] 3.061kB/3.061kB\n 49892dbdb7ab Pull complete \n 8cb6a6e19575 Extracting [==================================================>] 724B/724B\n 8cb6a6e19575 Extracting [==================================================>] 724B/724B\n 8cb6a6e19575 Pull complete \n aac04b2efbcc Extracting [> ] 65.54kB/4.356MB\n aac04b2efbcc Extracting [==========> ] 917.5kB/4.356MB\n aac04b2efbcc Extracting [=====================> ] 1.835MB/4.356MB\n aac04b2efbcc Extracting [===========================> ] 2.425MB/4.356MB\n aac04b2efbcc Extracting [============================================> ] 3.867MB/4.356MB\n aac04b2efbcc Extracting [=================================================> ] 4.325MB/4.356MB\n aac04b2efbcc Extracting [==================================================>] 4.356MB/4.356MB\n aac04b2efbcc Pull complete \n 9bb7acbccb22 Extracting [> ] 262.1kB/25.04MB\n 9bb7acbccb22 Extracting [=> ] 524.3kB/25.04MB\n 9bb7acbccb22 Extracting [=> ] 786.4kB/25.04MB\n 9bb7acbccb22 Extracting [==> ] 1.311MB/25.04MB\n 9bb7acbccb22 Extracting [===> ] 1.835MB/25.04MB\n 9bb7acbccb22 Extracting [=====> ] 2.621MB/25.04MB\n 9bb7acbccb22 Extracting [=====> ] 2.884MB/25.04MB\n 9bb7acbccb22 Extracting [======> ] 3.408MB/25.04MB\n 9bb7acbccb22 Extracting [========> ] 4.194MB/25.04MB\n 9bb7acbccb22 Extracting [==========> ] 5.243MB/25.04MB\n 9bb7acbccb22 Extracting [=================> ] 8.913MB/25.04MB\n 9bb7acbccb22 Extracting [=======================> ] 11.53MB/25.04MB\n 9bb7acbccb22 Extracting [=========================> ] 12.58MB/25.04MB\n 9bb7acbccb22 Extracting [==============================> ] 15.2MB/25.04MB\n 9bb7acbccb22 Extracting [===============================> ] 15.73MB/25.04MB\n 9bb7acbccb22 Extracting [===============================> ] 15.99MB/25.04MB\n 9bb7acbccb22 Extracting [================================> ] 16.52MB/25.04MB\n 9bb7acbccb22 Extracting [==================================> ] 17.04MB/25.04MB\n 9bb7acbccb22 Extracting [==================================> ] 17.3MB/25.04MB\n 9bb7acbccb22 Extracting [===================================> ] 17.83MB/25.04MB\n 9bb7acbccb22 Extracting [===========================================> ] 22.02MB/25.04MB\n 9bb7acbccb22 Extracting [============================================> ] 22.28MB/25.04MB\n 9bb7acbccb22 Extracting [=============================================> ] 22.54MB/25.04MB\n 9bb7acbccb22 Extracting [==============================================> ] 23.07MB/25.04MB\n 9bb7acbccb22 Extracting [==============================================> ] 23.33MB/25.04MB\n 9bb7acbccb22 Extracting [===============================================> ] 23.59MB/25.04MB\n 9bb7acbccb22 Extracting [===============================================> ] 23.86MB/25.04MB\n 9bb7acbccb22 Extracting [================================================> ] 24.12MB/25.04MB\n 9bb7acbccb22 Extracting [=================================================> ] 24.64MB/25.04MB\n 9bb7acbccb22 Extracting [==================================================>] 25.04MB/25.04MB\n 9bb7acbccb22 Pull complete \n 524a0c0b5efa Extracting [==================================================>] 259B/259B\n 524a0c0b5efa Extracting [==================================================>] 259B/259B\n 524a0c0b5efa Pull complete \n 4c3e54c81920 Extracting [==================================================>] 1.054kB/1.054kB\n 4c3e54c81920 Extracting [==================================================>] 1.054kB/1.054kB\n 4c3e54c81920 Pull complete \n bookstack Pulled \n Network ix-bookstack_default Creating\n Network ix-bookstack_default Created\n Container ix-bookstack-mariadb-1 Creating\n Container ix-bookstack-mariadb-1 Created\n Container ix-bookstack-bookstack-1 Creating\n Container ix-bookstack-bookstack-1 Created\n Container ix-bookstack-mariadb-1 Starting\n Container ix-bookstack-mariadb-1 Started\n Container ix-bookstack-mariadb-1 Waiting\n Container ix-bookstack-mariadb-1 Error\ndependency failed to start: container ix-bookstack-mariadb-1 is unhealthy\n
48:[2025/08/30 15:21:50] (ERROR) app_lifecycle.compose_action():56 - Failed 'up' action for 'bookstack' app: Network ix-bookstack_default Creating\n Network ix-bookstack_default Created\n Container ix-bookstack-mariadb-1 Creating\n Container ix-bookstack-mariadb-1 Created\n Container ix-bookstack-bookstack-1 Creating\n Container ix-bookstack-bookstack-1 Created\n Container ix-bookstack-mariadb-1 Starting\n Container ix-bookstack-mariadb-1 Started\n Container ix-bookstack-mariadb-1 Waiting\n Container ix-bookstack-mariadb-1 Error\ndependency failed to start: container ix-bookstack-mariadb-1 is unhealthy\n
49:[2025/08/30 15:24:56] (ERROR) app_lifecycle.compose_action():56 - Failed 'up' action for 'bookstack' app: Network ix-bookstack_default Creating\n Network ix-bookstack_default Created\n Container ix-bookstack-mariadb-1 Creating\n Container ix-bookstack-mariadb-1 Created\n Container ix-bookstack-bookstack-1 Creating\n Container ix-bookstack-bookstack-1 Created\n Container ix-bookstack-mariadb-1 Starting\n Container ix-bookstack-mariadb-1 Started\n Container ix-bookstack-mariadb-1 Waiting\n Container ix-bookstack-mariadb-1 Error\ndependency failed to start: container ix-bookstack-mariadb-1 is unhealthy\n
It seems as if there’s something wrong with the database?
Any help is greatly greatly appreciated!
Kind regards