22.12.1 "Replication from scratch is not allowed" & ValidationErrors

ren

Cadet
Joined
Mar 20, 2023
Messages
5
Hey everyone!

I am on TrueNAS SCALE 22.12.1 and I've been receiving a critical error saying:
"Replication "<pool> - <pool backup>" failed: No incremental base on dataset '<pool>' and replication from scratch is not allowed..

I looked around online and saw that going into Data Protection > Replication Task, checking "Replication from scratch" and saving, I see this error:

1680051422241.png


Attached is the error output:

Error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/main.py", line 196, in call_method result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1335, in _call return await methodobj(*prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/service.py", line 933, in update rv = await self.middleware._call( File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1335, in _call return await methodobj(*prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1186, in nf res = await f(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1317, in nf args, kwargs = clean_and_validate_args(args, kwargs) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1311, in clean_and_validate_args raise verrors middlewared.service_exception.ValidationErrors: [EINVAL] replication_update.sudo: null not allowed

Would anyone have any suggestions as to how I can solve this? My backup replication task has been at state "FAILED" for a few days now.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
What it's telling you is that there's something not right with the replica and in order to continue, you would need to replicate from scratch, but you have that option un-checked.
 

ren

Cadet
Joined
Mar 20, 2023
Messages
5
What it's telling you is that there's something not right with the replica and in order to continue, you would need to replicate from scratch, but you have that option un-checked.
That makes sense, but once I check "replication from scratch," I receive the "ValidationErrors" and the output following. :/
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
OK, so the next error is telling you that you can't leave the information for replication_update.sudo blank... Without seeing the edit screen, I can't tell you which field that equates to, but it should be red and indicating it's not filled.
 

ren

Cadet
Joined
Mar 20, 2023
Messages
5
OK, so the next error is telling you that you can't leave the information for replication_update.sudo blank... Without seeing the edit screen, I can't tell you which field that equates to, but it should be red and indicating it's not filled.
Sounds good! Here's my edit screen. I did just notice that, once I open the menu and hit "save" without changing anything, I get the same "ValidationErrors" message.

1680107766270.png
1680107782479.png
 
Top