Hi all,
We're having a small problem with our ERDDAP. I think it only started when we upgraded to 2.23, but I could be wrong. When I add a new dataset it does not show on ERDDAP until I restart the Docker image or reboot the server. I add a new dataset to datasets.xml with a datasetID like nrt_SEA056_M62. I then create a flag to tell ERDDAP to load the dataset immediately with:
touch /media/data/erddapData/flag/nrt_SEA056_M62
The file is created then, a second later, removed, presumably by ERDDAP. However, the dataset does not show on our server. I know that the xml is correct. It passes the checker and after rebooting the server, the new dataset appears.
Here's the top lines of the xml. More details at the end of this message.
<dataset type="EDDTableFromMultidimNcFiles" datasetID="nrt_SEA056_M62" active="true">
<reloadEveryNMinutes>10080</reloadEveryNMinutes>
<updateEveryNMillis>10000</updateEveryNMillis>
<fileDir>/Data/nrt/SEA56/M62/timeseries/</fileDir>
<fileNameRegex>.*</fileNameRegex>
<recursive>true</recursive>
<pathRegex>.*</pathRegex>
<metadataFrom>last</metadataFrom>
<standardizeWhat>0</standardizeWhat>
<removeMVRows>true</removeMVRows>
<sortFilesBySourceNames />
<fileTableInMemory>true</fileTableInMemory>
How can I make ERDDAP recognise and load new datasets?
Thanks
Callum
Potentially relevant info:
version 2.23
Running on Ubuntu 22.04 with the Axiom docker latest build