FAIR Data Point is distributed in Docker images. For a simple local deployment, you need to run fairdatapoint, fairdatapoint-client, mongo and blazegraphimages.
When deploying FAIR Data Point with persistent storage (Blazegraph/GraphDB), you may encounter the dreaded **"No metadata found for the uri"** error that prevents FDP from working properly. This is a well-documented issue affecting many deployments. See here the .
Step 1: Prepare Directories with Correct Permissions
Start by creating working directories for the deployment environment. This will typically be house under /var/www/ directory. Ensure your logged in as a root user to execute commands without permission issues
# Create directories
sudo mkdir -p /var/www/fdp
sudo mkdir -p /var/www/fdp/blazegraph mongo/data
# Set correct ownership
sudo chown -R 999:999 /var/www/fdp/blazegraph/
sudo chown -R 999:999 /var/www/fdp/mongo/
# Set ownership and permissions
sudo chmod -R 755 /var/www/fdp/mongo/
sudo chmod -R 777 /var/www/fdp/blazegraph/
Step 2: Use working configuration
We have laid out the code for the best working setup. Use it without any modification to the code
Start by navigating to your fdp folder
# Create a docker-compose.yml file. Ensure you are in the right directory (/var/www/fdp)
sudo nano docker-compose.yml
Paste the following code:
# Create an application.yml file. Ensure you are in the right directory (/var/www/fdp)
sudo nano application.yml
Paste the code in the following code: