What does this mean and how do I mitigate it

[EINVAL] plex2: path must be absolute
remove_circle_outline
More info…
Error: Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 211, in call_method
result = await self.middleware.call_with_audit(message[‘method’], serviceobj, methodobj, params, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1529, in call_with_audit
result = await self._call(method, serviceobj, methodobj, params, app=app,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1460, in _call
return await methodobj(*prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/service/crud_service.py”, line 230, in create
return await self.middleware._call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1460, in _call
return await methodobj(*prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/service/crud_service.py”, line 261, in nf
rv = await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/processor.py”, line 49, in nf
res = await f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
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/smb.py”, line 869, in do_create
await self.validate(data, ‘sharingsmb_create’, verrors)
File “/usr/lib/python3/dist-packages/middlewared/plugins/smb.py”, line 1397, in validate
await self.validate_path_field(data, schema_name, verrors)
File “/usr/lib/python3/dist-packages/middlewared/service/sharing_service.py”, line 88, in validate_path_field
await self.validate_local_path(verrors, name, path)
File “/usr/lib/python3/dist-packages/middlewared/plugins/smb.py”, line 1340, in validate_local_path
await self.middleware.run_in_thread(
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/plugins/smb.py”, line 1286, in validate_mount_info
st = self.middleware.call_sync(‘filesystem.stat’, path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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/schema/processor.py”, line 183, in nf
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/processor.py”, line 55, in nf
res = f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
when trying to9 create a share I get the following message

File “/usr/lib/python3/dist-packages/middlewared/plugins/filesystem.py”, line 441, in stat
raise CallError(f’{_path}: path must be absolute’, errno.EINVAL)
middlewared.service_exception.CallError: [EINVAL] plex2: path must be absolute

It means the middle ware crashed.

Are you doing this?

Also, it could be helpful to include a little info like what you are doing? What version of TrueNAS you are using? I don’t think your hardware specs are important unless you have a small amount of RAM.

1 Like

trying to add a share

Truemnasq scale

Complete sentences and paragraphs would make it a lot easier to understand, and therefore help, you. All we know from what you posted is that something is asking for a path, and you gave it something other than an absolute path. An absolute path in TrueNAS would start with /mnt/ and the name of your pool.

2 Likes

trying to add an SMB share and the above is what I get also once the share is added how do I copy my data from usb drive to truenas

100% not helpful. All I can say to this is what I already said: you need to use an absolute path.

Over the network from a client machine.

I finally added the share now I’m trying to map a network drive. Its asking me for network credentials I don’t have

Have you by chance read the TrueNAS User Manual? the FAQ’s? The AI-Powered Search?

These are all great places to get started.

And I have to echo what my colleague said, complete sentences would help a lot. You need to be very descriptive in what you are doing and what is happening. My Magic 8 Ball broke a few months ago. It got stuck on “The gods say No”

This thing has got me scratching my head. No vdevs assigned is what the storage screen tells me. Now if I try to add one it gives me At least At least 1 VDEV’S is required to make an update to the pool. is required to make an update to the pool. Message at bottom of the screen no matter what my selections are

What does “make an update to the pool” have to do with either setting up a network share, or logging into that network share? I mean, if you want to use this topic as a stream-of-consciousness journal, go ahead, I guess. But if you actually want help, you’re going to need to explain, in detail, exactly what you’re trying to do, how you’re trying to do it, and what happens when you try that. Use complete sentences and paragraphs. Maybe even include screen shots.

OK I have my shares setup, I think. /mnt/max/is my pool name and apps/plex will be where my movies will reside. I’m sorry for the lack of communication, but I’ve read though the documentation for the last 3 weeks while waiting form my system to arrive and its all a little over my head and also being mind boggled with information over load. I have bee2n trying to get my movies on the system with no luck and then I’m read where the system requires at least one VDEV tom operate which according then then storage widget I do not have so I was trying to create one but no Matter how I configure it it doesn’t l.et me update the pool with a VDEV.

HexOS will solve everything.

3 Likes

Tony, you started with a very easy-to-fix ‘must use absolute paths’ issue and have jumped to mounting USBs and adding vdevs and upgrading pools. Nobody is really sure what you have and what you’re trying to do.

Can we start from the beginning?

What is your system? What hard drives/ssds do you have? What version of TrueNAS are you using?

1 Like

If you have a pool, you have at least one vdev. Other than that, until you can do what you’ve been told at least three times to do, I’m out.

system, is an xisystem mini plus with 64 gigs of ram and 5 14 tb hard drives and two 450 ssd. I started by creating a pool I named it (max) the created two data sets apps and plex. then I created a share for plex for administration. then I went back and tried to crated or add a Vdev which didn’t work I thought it created a Vdev when you created a pool I guess I was wrong.

I forgot to mention the 5 14tb hard drive are congiured in raid 2

my USB drives equal 32 tb of movies, photo’s and videos, with the same name direcctory structure.

Which version of TrueNAS are you running?

Can you go to System Settings → Shell, and run sudo zpool status, and then copy and paste the results here.

use triple back-ticks ``` to wrap the results