Server error: Error while building repository tree

#1

Hello,

We get A LOT of these errors in log server file:

07-Jun-2019 08:54:08.687 SEVERE [http-nio-8080-exec-3] com.knime.enterprise.server.application.repository.RepositoryTreeTranslator.addItemsRecursively Error while building repository tree for user ‘XXXXX’ at ‘/Metanodos/Traduccion nombres abreviados/2018-10-19T14-42-58.347+0200’ : Owner must not be null… Some items may be missing in the tree.
java.lang.IllegalArgumentException: Owner must not be null.

Workflows including metanodes work perfectly, but errors never are great…

0 Likes

#2

Hi @jricgar,

A little background would be helpful here. Did those errors just show up now? Did you change anything in your installation (migration to a new machine, moving repository to other location etc)?

Cheers,
Roland

0 Likes

#3

We have updated our server two weeks ago. I cannot confirm you if these errors also were there with old server version because this is the first time I have had access to the logs.

0 Likes

#4

Thanks for confirming. During the update, did you also move the server repository where the workflows are stored? Is this a Windows or a Linux server?

0 Likes

#5

Hello Roland,

I think server machine is running over Linux. I have transferred your questions to my IT colleges, but still waiting sorry.

Regards,

Raúl.

0 Likes

#6

Hello
The server is Red Hat Enterprise Linux Server release 7.5

regards
diego

0 Likes

#7

Hi @dcsyt,

Can you please confirm whether you have moved the server repository during the upgrade?

Cheers,
Roland

0 Likes

#8

Hello
Yes, during the upgrade we made a backup of the directory of the workflow repository, and after the upgrade we copy back the files aganin from the backup directory.
thanks
regads
diego

0 Likes

#9

Can you please check the permissions of the offending metanodes? Just right-click in the repository -> permissions and see who is set as owner. If this is actually missing, something might have gone wrong when migrating the repository.

If there are not too many templates affected, you can add the owner manually (in the same menu). If there is a lot to fix, we can provide you with a workaround.

Cheers,
Roland

0 Likes

#10

Hello,
The same issue for me.
The server is new to me, it seems they have done migrations earlier.
This is RHEL7.5, KNIME Server 4.9.1
The error appears regularly in apache-tomee-plus-7.0.3/logs/localhost..log
19-Dec-2019 12:03:18.166 SEVERE [https-jsse-nio2-8443-exec-154] com.knime.enterprise.server.application.repository.RepositoryTreeTranslator.addItemsRecursively Error while building repository tree for user ‘username’ at ‘/Public/Email_test/2018-12-20T09-42-50.555-0500’ : Owner must not be null… Some items may be missing in the tree. The message appears a few thousands times per day.
The username one of 7 names, including me, the date looks suspicious because it is too far in past - a year ago, and I definitely didn’t work with it earlier.
We have a workflow /Public/Email_test, but it has no any mention of this strange date.

From the previous discussion I see that the idea is to check shared metanodes permissions, and there is a metanode in the workflow, but I can’t find how to check it’s permissions. Permissions of the workflow itself looks good.
Thanks.

0 Likes

#11

Hi @AndriyDmytrenko,

are there only the jobs of this workflow demanding the missing owner? The server can’t access the rights on these jobs and writes this log entry. These jobs can’t be seen by a normal user because there is no owner set and no rights management possible.

Maybe the KNIME Admin user of the server is able to see these jobs? If so the old jobs can be marked and deleted.

Cheers,
Michael

0 Likes