[Message] Invalid index definition: [meta.updated]\nInvalid field path: meta.updated


#1

I’m seeing the following error when provisioning, any idea to fix this?

[tenant/prod] Server Warnings:
{fileUrl:"meta://base/efficiency/src/peat/peat/PEATEngine.c3typ",lineNum:392,colNum:3,severity:"WARNING",message:"Missing JavaScript implementation of PEATEngine.signUp method.",targetType:"PEATEngine",targetField:"signUp"}
Error: [tenant/prod] Server Errors: (2018-01-24T11:00:11.374-08:00)
{fileUrl:"meta://tenant-c3/tenant/package.json",lineNum:0,colNum:0,severity:"ERROR",message:"[Message] Invalid index definition: [meta.updated]\nInvalid field path: meta.updated"}
{fileUrl:"meta://tenant-c3/tenant/package.json",lineNum:0,colNum:0,severity:"ERROR",message:"[Message] Invalid index definition: [meta.updated]\nInvalid field path: meta.updated"}
Results: 
[
  [
    [
      null,
      null
    ]
  ]
]
Time taken: 1m 40.719s

#2

I tried the following options but none did help:

  1. clear db metadata issues DbMetadataIssue.removeAll()
  2. provision to a different tag
  3. revert all my changes to the original branch

#3

The solution was to update the c3server, then provisioning worked like a charm!