Hi, I’m a goobi newbie, so excuse me if I’m just not getting everything yet.
After installing the plugin_intranda_opac_json and configuring goobi_opac.xml and plugin_intranda_opac_json.xml,
I get the same error whatever I enter in the later file.
In goobi_opac.xml, when I did not have a port number, I got an error, so then after correcting that, I presume goobi_opac.xml is correct.
But when I try to “Create process based on this process template” I get an xml error. It happens to be in Swedish, but translated it says:
XML interpretation error, no root element found
Row number 1, column 1:
I’d be happy to get some recommendations on what to test / do.
Can you please share the file and configuration that you tried at the beginning so that we can reproduce the error and solve the underlying issue as well. This would help yourself and future other users for the same use cases.
thanks for the comment about the missing translation. I fixed that some minutes ago.
Regarding the installation we tested the plugin installation again and cannot confirm the missing part as you describe it. So if you would like to provide some more details about how you actually compiled and installed the plugin we can go deeper into the details to understand your issue.
This is how we tested it:
git clone https://github.com/intranda/goobi-plugin-opac-json.git
cp module-gui/target/plugin_intranda_opac_json-GUI.jar /opt/digiverso/goobi/plugins/GUI
cp module-main/target/plugin_intranda_opac_json.jar /opt/digiverso/goobi/plugins/opac
cp plugin_intranda_opac_json.xml /opt/digiverso/goobi/config
This should acutally be it. Can you please double check?
When I do the copy command the *GUI.jar file (with the *.xhtml file in it) ends up in the GUI folder for the plugins. And it is read from there then. But it is important to restart the tomcat server after the GUI files with the user interface are installed.
I guess you forgot to do the restart in between probably.