You are a complete star!! 😊
I have put the 9th November Categories file tree back into the packages directory as you suggested without making any database changes and re-started the server.
Not only does the categories admin section now work properly, but now when I add pages to xowiki they are immediately indexed and the result is to be found in the txt table.
Perhaps a diffs between the HEAD version of Categories and the 9th November version will yield some useful information!
All working brilliantly now.
Thank you
Richard