Here you will find answers to the most frequently asked questions about the GBIF IPT. Please check the contents of this page before contacting the GBIF Helpdesk.
There is one important directory that contains all the IPT’s configuration and resources: the IPT’s data directory. If you ensure this directory is regularly backed-up somewhere safe, you’ll never lose any data.
To move the IPT to a different server, just make sure that you copy the entire contents of the IPT’s data directory over to the new server. It is important to preserve the same folder/file permissions. Then, install the IPT on the new server, using this directory as the data directory.
Apache Tomcat comes with very little allocated memory. In order to increase performance, this amount should be increased depending on the amount of physical memory on the server. If the server has at least 2GB of RAM, the available memory should be increased to 1GB. For more information on how to do it, see the Tomcat FAQ
The following is known to run:
export CATALINA_OPTS="-Xms512M -Xmx1024M -XX:PermSize=512M -XX:MaxPermSize=1024M"
This also applies to similar errors for creating files, like
RollingFileManager … unable to create manager for … debug.log.
Assuming you are running Tomcat, you need to ensure the user running Tomcat has permissions on the directory. To find out the user running Tomcat on Linux, open a shell and enter the following command:
$ ps waux | grep tomcat
If the user is "tomcatuser", and this user belongs to group "tomcatgroup" then change the ownership of the IPT data directory (and its child folders and files) by entering the following command:
$ chown -R tomcatuser:tomcatgroup directory
To ensure only this user has write permission, enter the following command:
$ chmod -R 755 directory
Some Linux systems use sandboxing to provide additional security. Setting the file ownership and permissions is not sufficient on these systems. See the following question.
Note that if you are running your IPT on a Windows operating system, you will need to check that your folder didn’t revert to read-only permissions.
Some Linux systems have additional protections, called security sandboxing. In this case, you usually need to grant additional permissions for Tomcat to access the data directory. For example, on Debian and Ubuntu you need to add a SystemD override:
$ sudo systemctl edit tomcat9.service # Put this into the file that opens (it will usually be blank), then save it: [Service] ReadWritePaths=/path/to/data/directory/ $ sudo systemctl restart tomcat9
The IPT’s default language is English, and there is no way to change the default language via the user interface.
It can be changed easily by manual configuration though. To change the default language from English to Portuguese for example, first locate the
struts.properties file (if the IPT is deployed in Tomcat for example, it would be located in
tomcat/webapps/ipt/WEB-INF/classes). Then update the
struts.locale property to:
Restart Tomcat, and the IPT will startup in Portuguese.
Please note the two-letter language code must match the code used by the IPT. The languages currently supported are Portuguese (
pt), Japanese (
ja), French (
fr), Spanish (
es), Traditional Chinese (
zh), and Russian (
Please note that every time you upgrade to a new version of the IPT, you will have to apply the same change.
Switching the IPT from test mode to production mode cannot be done automatically. This is by design, because each mode connects to a different registry (test mode uses the GBIF UAT Registry while production mode uses the GBIF Live Registry).
Therefore to switch to production mode you need to setup an entirely new IPT instance in production mode.
To save time recreating resources, you can try transferring your 'test' resources to the production IPT. To do this simply "upload an existing IPT resource using its zipped resource configuration folder." There are complete instructions on how to do this here.
If configured in production mode, the IPT makes secure HTTPS outgoing connections to https://gbrds.gbif.org.
In both modes, the IPT makes normal HTTP outgoing connections to http://rs.gbif.org. If you install particular additional vocabularies, the IPT will retrieve them from raw.githubusercontent.com or eol.org.
We recommend configuring your firewall to allow outbound access on ports 80 and 443 to all GBIF servers:
In order to assign DOIs to datasets, the IPT must be configured with a DataCite account, which has itself been configured to mint DOIs under the IPT’s domain.
The account holding organization must already be associated to the IPT as an organization. For help associating an organization to your IPT, you can refer to the Add Organization section of the User Manual.
All that remains, is to add the DataCite account information to the organization (e.g. the username, password, prefix, etc) and make sure the "Account activated" checklist has been checked. For help editing the organization and a description of each field in the form, you can refer to the Edit Organization section of the User Manual.
If you work for a GBIF ‘country' Node, please contact the GBIF Helpdesk to enquire about getting a free DataCite account. GBIF has its own account with DataCite and may be able to provide 'country' Nodes with their own free account (determined on a case by case basis). GBIF has done this for Spain and Colombia so far, both of which have a strong track record of keeping their IPTs online near 100% of the time.
The following well-maintained IPTs have all been configured with a DataCite accounts, can assign DOIs to datasets, and are thus recognized as a repository in BioSharing.org, which is used by journals such as Nature to refer their authors to one or more repositories that are appropriate for the type of data they have.
The IPT does not support source files that have multi-line fields (fields that include a newline character (
\n) or carriage return (
\r)) even if you have specified a field quote (a single character that encloses every field/column in a row) in the source’s configuration.
Unless these line breaking characters are removed, the IPT will publish files with broken lines (the columns will appear mixed up).
To solve this, you can remove these line breaking characters from the source file, replace the source file with the new one, and republish the resource. Remember that when uploading a source file, you can tell the IPT to replace the file with a new one as long as they both have the same name. That way the mappings don’t have to be redone.
Check the publication log for exceptions such as:
java.sql.SQLException: Cannot convert value '0000-00-00 00:00:00' from column 65 to TIMESTAMP
that means you have invalid date value in your data source, which, in this case, is
To solve this, you can update the value with "Null" value, and update the resource. Usually, you can rely on the log message to identify the column of interest, like in the example above, it says "column 65," which is the 65th column in the data source.
0000-00-00 00:00:00 value in your SQL table could be resulted when importing, while having defined the column with "Not Null" and default value as
If you found an exception such as:
Caused by: java.io.IOException: No space left on device
in your publication log file, it means there is no space left in the disk partition that contains your IPT data directory.
To solve this, you can:
Allocate more space to this partition.
Move your IPT data directory to another partition where there is more space available. (Refer to the installation instructions to change the location of the data directory).
Free up disk space (e.g. deleting temporary files, remove unused applications, etc)
How do I change the publishing organization of my resource? The drop down on the Basic Metadata page is disabled.
Please be aware the publishing organization cannot be changed after the resource has been either registered with GBIF or assigned a DOI.
In order to change the publishing organization, you need to republish the resource and then reset the desired publishing organization. To simplify the process, you can recreate the dataset from its zipped IPT resource folder. Instructions on how to do that can be found here.
You should migrate the resource from the old publishing organization to the new publishing organization by following these instructions. Please pay careful attention to step 5, where you will have to ask the GBIF Helpdesk to update the GBIF Registry.
Lastly, you can delete old resource using the "Delete from the IPT only (orphan)" option on the edit resource page.
The type of a resource is derived from its core mapping:
If the core mapping is to the Occurrence extension, the type is equal to "occurrence".
If the core mapping is to the Taxon extension, the type is equal to "checklist".
If the core mapping is to the Event extension, the type is equal to "sampling-event".
If the core mapping is not equal to one of the IPT’s default cores (Occurrence, Taxon, or Event) the type is equal to "other".
Therefore to change the type of a resource, you need to change its core mapping. To change an occurrence resource to type checklist, for example, simply delete all core mappings to the Occurrence extension, and then recreate new core mappings to the Taxon extension. A new version of the resource should be published in order to finalize the change. If the resource has been registered with GBIF, its type will be automatically updated after it has been re-published.
Datasets can change over time. Keeping the dataset metadata up to date can be a burden, as inconsistencies can begin to creep in over time. Below is a list of tricks you can use to simplify the authoring of metadata and make it easier to maintain over time:
use a contact’s ORCID instead of supplying their email and other fields which are likely change if the person changes jobs. For more information about how to supply an ORCID see here.
for datasets that continue to change/grow (versus static datasets) avoid specifying exact counts in textual descriptions, e.g. for record or taxa counts.
use the IPT’s citation Auto-generation feature instead of supplying a manually created data citation.
use the IPT’s import by Taxon list feature instead of supplying each taxon manually one at a time when entering the taxonomic coverage.
|the instructions below assume your IPT has already been registered and involve manual changes requiring technical competence.|
First, ensure the desired hosting organization has been added to your IPT. You can do this through the user interface. For help adding a new organization to your IPT, refer to this section of the user manual.
Next, perform the following 2 manual changes to the registration2.xml file located inside the /config folder of your IPT Data Directory:
<registration> <registry> <hostingOrganisation> <key>UUID of desired hosting organization</key>
<registration> <registry> <ipt> <organisationKey>UUID of desired hosting organization</key>
Last, press the "update registration" button on the Edit GBIF Registration page. This will propagate the change to the GBIF Registry. For further information about what this update does, you can refer to this section of the user manual.
If you have forgotten the admin password, the server administrator will need to reset it.
Using a text editor, open the file
config/users.xml contained in the IPT data directory. Find the admin user (with
role="Admin"), and replace the encrypted password with
$2a$12$sI48l9ZdW8pvxbxE8GygZe5CXU/dFFj1UrCSP0vEh7rkk8csMPTt6. Restart the IPT. You can then log in as the admin user with the password
Ga_1bxiedrvNHSyK — of course, this password should then be changed.
This migration process must be done directly on the server following the next steps:
Shut down the old IPT server; just to check no-one makes any changes.
In the old IPT go to
/old-ipt-datadir/resources/[dataset_name]and copy the whole dataset folder
In the new IPT go to
/new-ipt-datadir/resources/and paste the dataset folder
Restart the new IPT server
Publish the dataset in the new IPT (updates the endpoint).
The answer depends on how long GBIF’s indexing queue is, how big your dataset it and whether GBIF’s indexing service is turned on.
Normally it will take between 5-60 minutes for GBIF to start indexing your dataset. It can take several hours to finish indexing large datasets once started (those with several million records) so please be patient. At the bottom of the GBIF health page the length of the indexing queue is shown, and the full queue can be seen on the Crawl Monitor.
If you believe GBIF failed to index your dataset successfully, please submit feedback directly via GBIF.org, or send an email to the GBIF Helpdesk <email@example.com> to investigate what happened. If you are interested in finding out why GBIF may not have (re)indexed your dataset, please see 2 below.
Occasionally, GBIF turns off its indexing service for maintenance (see the links in the previous question). This is the most common reason why datasets aren’t indexed as quickly as expected.
If you believe GBIF failed to index your dataset, please submit feedback directly via GBIF.org, or send an email directly to the GBIF Helpdesk <firstname.lastname@example.org> to investigate what happened.
GBIF automatically attempts to reindex a registered dataset each time its registration is updated. This happens each time the dataset gets republished via the IPT.
To cater to datasets not published using the IPT, GBIF automatically attempts to reindex all registered datasets every 7 days.
|GBIF will only reindex a dataset if its last published date has changed since the last time it was indexed.|
GBIF supports 4 classes of datasets described here. GBIF currently only indexes species occurrence records, which can be provided as either core records or as extension records. In the case of sampling-event datasets, species occurrences in extension records will be augmented with information coming from its core event record wherever possible.
The IPT supports free-text dataset citations, however, these get overwritten on the GBIF.org dataset page. You can find out why in the GBIF.org FAQ.
Some organizations need to index their own IPT, often to include records of each resource in a public open data system or similar. The IPT supports DCAT (Data Catalog Vocabulary) to allow this. The DCAT export is available at
/dcat, for example https://ipt.gbif.org/dcat.
An alternative is the GBIF Registry Installations API, though this will only include datasets published to GBIF.