Hi all. I’ve been looking forward to trying out custom apps in Electric Eel but I don’t really have that much experience with Docker so I’m probably missing a crucial step or few. I’ve tried to install a few different apps and I’m getting the same error with each of them.
As an example, one of the apps I’ve tried to install is jdownloader2 so I’ve taken the ‘docker run’ script on its dockerhub page, run it through composerise and put the following into the custom app section:
services:
jdownloader-2:
container_name: jdownloader-2
ports:
- 5800:5800
volumes:
- /docker/appdata/jdownloader-2:/config:rw
- /mnt/downloads:/output:rw
image: jlesage/jdownloader-2
It then spits out
Error FAILED
[EFAULT] Failed 'up' action for 'jdownloader2' app, please check /var/log/app_lifecycle.log for more details
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 488, in run
await self.future
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 535, in __run_body
rv = await self.middleware.run_in_thread(self.method, *args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1363, 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 1360, 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 268, in nf
rv = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 55, in nf
res = f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 183, in nf
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/apps/crud.py", line 185, in do_create
return self.middleware.call_sync('app.custom.create', data, job)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1661, in call_sync
return methodobj(*prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/apps/custom_app.py", line 95, in create
raise e from None
File "/usr/lib/python3/dist-packages/middlewared/plugins/apps/custom_app.py", line 80, in create
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 57, in compose_action
raise CallError(
middlewared.service_exception.CallError: [EFAULT] Failed 'up' action for 'jdownloader2' app, please check /var/log/app_lifecycle.log for more details
The log file has this to say:
jdownloader-2 Pulled
Network ix-jdownloader2_default Creating
Network ix-jdownloader2_default Created
Container jdownloader-2 Creating
Container jdownloader-2 Created
Container jdownloader-2 Starting
Error response from daemon: error while creating mount source path '/docker/appdata/jdownloader-2': mkdir /docker: read-only file system
[2024/10/03 11:34:12] (ERROR) app_lifecycle.compose_action():56 - Failed 'up' action for 'jdownloader2' app: Network ix-jdownloader2_default Creating
Network ix-jdownloader2_default Created
Container jdownloader-2 Creating
Container jdownloader-2 Created
Container jdownloader-2 Starting
Error response from daemon: error while creating mount source path '/docker/appdata/jdownloader-2': mkdir /docker: read-only file system
Do I need to change permissions somewhere or is the default location for docker apps not applicable for TrueNAS?
I’ve also tried this with aria2 and onlyoffice so far and have the same results.
System specs:
CPU: Intel Core i5 7500
Motherboard: Asus Prime B250M-A
RAM: 16GB (4x4GB) Corsair Vengeance LPX DDR4 2133 CL15
NIC: Edimax (Realtek) 2.5Gb
Boot Drive: Gigabyte 256GB NVME SSD
Mass Storage: 5x8TB WD Blue 5640RPM WD80EAZZ