[solved] Unable to install Apps - network is unreachable

I’m on a fresh install of Truenas Scale 24.10.0 Electric Eel. Whenever I try to install an app I get the error

"[EFAULT] Failed 'up' action for 'xxxxxxxx' app, please check /var/log/app_lifecycle.log for more details"

I can expand the error to reveal the following:

Error: 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 1364, 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 1361, 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 203, 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 248, in create_internal
    raise e from None
  File "/usr/lib/python3/dist-packages/middlewared/plugins/apps/crud.py", line 241, 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 57, in compose_action
    raise CallError(
middlewared.service_exception.CallError: [EFAULT] Failed 'up' action for 'xxxxxxxx' app, please check /var/log/app_lifecycle.log for more details'

the lifecycle error log looks like this:

[2025/01/03 18:30:30] (ERROR) app_lifecycle.compose_action():56 - Failed 'up' action for 'xxxxxxxx' app:  permissions Pulling 
 xxxxxxxx Pulling 
 permissions Error Get "https://registry-1.docker.io/v2/library/python/manifests/sha256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx": dial tcp [xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx]:443: connect: network is unreachable
 xxxxxxxx Error Get "https://registry-1.docker.io/v2/xxxxxxxx/xxxxxxxx/manifests/sha256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx": dial tcp [xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx]:443: connect: network is unreachable
Error response from daemon: Get "https://registry-1.docker.io/v2/library/python/manifests/sha256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx": dial tcp [xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx]:443: connect: network is unreachable

My ISP does not support IPV6, so the format of the address makes me think that’s somehow related, but I don’t think I have an IPV6 address configured anywhere. I messed around with trying to disable that to no avail.

I’m willing to reinstall (and have done so a couple of times) as this is my first truesnas system and I haven’t gotten past initial setup. any error codes I’ve copied here are with default settings.

Any help is greatly appreciated.

[edited to use preformatted text on the errors to make them more readable]

Are you able to ping github.com ? Should be ipv4

yes. I was able to ping github. I was also able to ping 8.8.8.8

Weird, did you try refreshing app catalogue? Only other thing that helps m with rando app issues is going to apps & unsetting then reselecting my app pool.

I am also facing same problem. I am new to Truenas and want to use it as a Homeserver. I have got a pc configured for this just few days back. Its a dell System. I am not a tech guy.

My System Details are here

DELL OPTIPLEX 5060 SFF
Intel Core i5-9th Gen
RAM 16GB
240gb sata ssd - FOR APPS INSTALLATION
SSD 1TB NVME x 2 Crucial - FOR MIRROR
HDD WD - 2TB
WD 2.5 INCH 250GB HDD FOR BOOT

I tried installing many apps and then reset the system also and again tried same errors are coming. The progress stuckup everytime at 60%.

Now, I am posting this for a specific app filebrowser.
it stuck up everytime with below screenshot

and after sometime it shows failed message as below

The detailed error message is below

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 556, in __run_body
rv = await self.middleware.run_in_thread(self.method, *args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1367, 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 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/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 203, 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 248, in create_internal
raise e from None
File “/usr/lib/python3/dist-packages/middlewared/plugins/apps/crud.py”, line 241, 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 57, in compose_action
raise CallError(
middlewared.service_exception.CallError: [EFAULT] Failed ‘up’ action for ‘filebrowser’ app, please check /var/log/app_lifecycle.log for more details

and here is the installation screen configuration details that i used while installing




Please guide what should I do to resolve it.
Truenas 24.10.1
filebrowser APP

Not only this app, but when i try to install any app same thing happens

I’ve tried both in the past, but I just tried them again (three times) and it didn’t help. errors are exactly the same.

Yes, Right and no help in any forum in Truenas for non technical user. Thinking to change my decision to use truenas.

Alrighty, well since the forums weren’t helpful, have you considered sending a bug report?

Since there are at least two of you experiencing issues, maybe there is something IXSystems needs to patch?

  1. Click the smiley face in the top right corner
    image

  2. Select “Report a bug”

  3. Fill out as needed.

As an aside, the forum is generally volunteered time by community members with the occasional IX employee. It’s been less than a day since you first posted - I’m also shocked and appalled that this hasn’t been resolved yet. I’ll start refunding the free help (or lack of) immediately.

3 Likes

For the record, I appreciate you giving me some more things to check when troubleshooting!
I did not expect this to be an easy resolution. Expecting less than a day for a resolution (with an unusual issue as well) on a free, community-led forum is… optimistic.

1 Like

You’re all good man. Any chance you have an output for cat /var/log/app_lifecycle.log Since the error mentions to check the logs, maybe something magical is there?

i dumped a lot of text in that first post, but I did check and include that log error text. Here it is again:

[2025/01/04 06:12:06] (ERROR) app_lifecycle.compose_action():56 - Failed 'up' action for 'app-name' app:  app-name Pulling 
 permissions Pulling 
 permissions Error Get "https://registry-1.docker.io/v2/library/python/manifests/sha256:(long string of numbers/letters)": dial tcp [ipv6 address]:443: connect: network is unreachable
 app-name Error context canceled
Error response from daemon: Get "https://registry-1.docker.io/v2/library/python/manifests/sha256:(long string of numbers/letters)": dial tcp [ipv6 address]:443: connect: network is unreachable

this is where I got the idea that ipv6 was the issue. I have my modem/router set to the factory defaults. It’s a rental from the ISP, so it has all the ipv6 stuff either blanked out or disabled.

this is wrong & likely won't work

Fair, my bad. What happens if you add the following as a nameserver to network config?

2001:67c:2b0::4

Details on this random ipv6 address I’m advising to use as a ipv6 DNS

Edit: Wrong advice, looking into if there is an easy way to just make it work.
Edit 2: Looking into it further, I never knew what a pain it is to get ipv6 working if it is disabled by your isp. Any chance any of those settings on the modem can just be enabled?
Edit 3: Any magic happens if you go to Networking tab & check this off on your interface of choice? Might need to add public ipv6 DNS if the server does get assigned something; then the part of my post that was wrong, might do the needful.
image

Thanks for replying. Thats very much correct that forums are volunteered by time. Actually there are other threads also in this forum which states same issues. but no solution i have found on all those threads. Thats why I said that, not really wanted to offend anyone. and please dont take it like that. It seems to be kind of some bug really.

Thanks for letting us know how to report a bug.

One last guidance, it would be great thanks in advance.

What do you suggest , should we go to dragonfish version or wait for its resolution in E.EEL version 24.10.1

I’ll dig into it a bit more, but I have a friend/neighbor on the same ISP that is very into networking who frequently laments to me about our lack of ipv6, so I’m not holding out much hope.

What’s odd, though, is he also has a truenas setup and is able to install apps. His is upgraded from a previous version (he’s had it so long he doesn’t remember which). He’s also running the default router/modem settings. He helped me try to troubleshoot for a few hours but we were only able to make it fail in different ways.

I might try to physically transport the server to that friend or a family member’s house with a different ISP to see if I can confirm it is caused by my ISP and/or router settings.

I suggest you post your own thread and go from there.

1 Like

Well your error is at least somewhat reproduceable - if I delete ipv6 from my network interface & try to ping registry-1.docker.io, it tries to reach an ipv6 address & fails (makes sense, no ipv6, no connection to an ipv6 address)… unless I force specify ping -4, then it works fine.

I’m curious as to why it even tries the ipv6 address when I delete ipv6 from my interfaces, but uhh - maybe cached DNS on my end? No clue. There is clearly a working ipv4 address, why must it desire to fail?

Edit: I am curious of autoconfigure ipv6 on the interface will solve something for you. I mean, your ISP should at least be using NAT on their end to translate the ipv6 addresses to ipv4 for their customers, if they’re too lazy to implement ipv6 on a per cx modem level.

Edit 2: can you ping -4 registry-1.docker.io is output any different from regular ping registry-1.docker.io?

I have just checked, IPV6 is active on WLAN IPV6.

And I checked this also in My networking Tab, this Autoconfigure IPv6 is not checked.

Adn then repeated the steps suggested unset and reset the app storage pool and refresh app catalogue. But no luck

Same error continues

EDIT: 2 Result _ I tried to ping
and here is the result

image

Edit:
Tried to install again after removing ipv6 gateway also. But same error’

Tried that checkbox. no luck. same errors. Interestingly, my network interface shows both an ipv4 and an ipv6 address even after disabling the autoconfigure.

my network global configuration has a spot for a default ipv6 gateway but that has always been blank.

What does ping registry-1.docker.io try to resolve to when you use it? Might be a good idea to delete all the ipv6 configs on the interface before trying. This clearly isn’t a domain that can only be resolved by ipv6. I’m wondering if this might just be a DNS fault.

not able to ping

image

it does show an ipv4 address, though.

my friend had me try the same thing the other day, with the same result. he said it’s possible that that domain just disabled pings, but he didn’t have a way to check that.