1.1. I forgot my user id. How do I retrieve it?
1.2. How do I configure SSL access to RAMADDA?
1.3. The search isn't working. How do I fix it?
1.4. I want to blacklist certain IP address
ipaddress1 ipadddres2 ipaddres.with.wild.card*e.g.:
190.2.132.128 89.187.164.247 78.46.9* 123.46.9*If a request comes in from one of the blacklisted IPs then the request is paused for a bit and then a 403 Forbidden result is returned. You will need to restart your RAMADDA for changes to take effect.
1.5. How do I use Lucene for searching?
ramadda.search.lucene.enabled=falseThe problem this introduces is that, once enabled, the index does not get built with past content so a search will only show newly created content. To address this you can simply go to the Admin page: Admin->Maintenance->Reindex Lucene Index and select "Reindex all". Depending on the size of your repository this may take a few minutes but once complete your searching should be good to go.
1.6. I want to restrict where users can login from
<home>/.ramadda/repository.propertiesadd the property:
ramadda.login.allowedips=
- Comma separated list of ip addresses (or prefixes) that are the ones where the user can login
- If blank then login is allowed from anywhere
ramadda.login.allowedips=127.0.0,201.43.72.5
- e.g.:
1.7. I want my users to agree to certain terms when they log in
ramadda.user.agree= Some terms #.e.g: ramadda.user.agree= I have read and agree to the terms of service
1.8. Oops, I told RAMADDA to use an SSL port and SSL is not working. Now I cannot access the admin page to turn off SSL and I'm stuck. What can I do?
-Dramadda.ssl.ignore=true
1.9. I forgot the administrator password and cannot access RAMADDA. How do I login?
ramadda.admin=userid:passwordand then restart RAMADDA. This sets the password for the given userid. Note: you should remove this entry once you have reset your password.
You can also specify an administrator user id and password from the command line when starting RAMADDA. If you are running RAMADDA stand alone then just provide the arguments:
-admin <user id> <password>This creates a new user id if needed and sets the password.
If you are running RAMADDA under Tomcat then change the web.xml to pass in command line arguments using the "args" entry. This is a comma separated value list of the command line arguments that are processed by RAMADDA.
<param-name>args</param-name> <param-value>-admin,userid,password</param-value>
1.10. I set the hostname to an incorrect hostname. Now I can't login?
override.ramadda.hostname=<good host name>and place it in your ramadda home directory or plugins directory and restart ramadda. Once you are logged in go to the Admin Settings page and change the hostname then remove the properties file.
In general, you can override any property that has been set by defining a property with the "override." prefix.
1.11. Map a hostname to some entry
ramadda.enable_hostname_mapping = trueThen add an Alias property to the entry of interest with the value:
http://your_hostname e.g.: http://boulderdata.orgIf you had different domains you can add multiple aliases -
http://www.boulderdata.orgThis will use the entry as the root when accessing the repository under the given hostname. For example, the site http://boulderdata.org/ really just maps to an entry at - https://ramadda.org/repository/entry/show?entryid=79f24329-8c98-4d15-9804-821a70bfb606. Note: when searching under the alias the whole site will be searched.
1.12. How do I configure RAMADDA to send email?
1.13. How do I create a site map?
/repository/sitemap.xmlBy default this lists all of the entries under the top-level entry.
If you want specific entries in your site map then simply add an "Is in Site Map" property (Under the Add Property-> Thumbnails, Page Style, Etc.) menu for the entry or entries.
1.14. Disabling selected entry types
##Comma separated list of entry types and categories to not include ##can either be a specific value or a regexp pattern or ##the name or type of an entry ramadda.entry.nottypes=category:GIS.*,category:General,PDF.*,media_imageloop
1.15. Disabling selected metadata types
#e.g., don't include the enum_tag or any metadata under the cateegory Bio or THREDDS #These can either be a specific string or a regexp pattern ramadda.metadata.nottypes=enum_tag,category:Bio.*,category:THREDDS
1.16. Don't show certain columns
<entry type>.<column name>.show=false #.e.g: type_archive_specimen.accession_number.show=false
1.17. Enable github embeds
github.token=<your token>
1.19. How do I change the default number of children entries?
ramadda.defaultmaxentries=1000
1.20. Changing the initial welcome text and entries
To change the description used just create a file initdescription.txt in the RAMADDA home directory. This file, if it exists, is read by RAMADDA. You can see the default one in the source tree at:
src/org/ramadda/repository/resources/examples/initdescription.txtThis file contains 2 macros:
$To change what entries are created RAMADDA looks for a initentries.xml file in the RAMADDA home directory. The default file is:{root} - the top-level URL path $ {topid} - the ID of the root entry
src/org/ramadda/repository/resources/examples/initentries.xmlThis is just the entries xml format. The ID of the top-level entry is simply "root", e.g.:
<entries> <entry parent="root" name="Projects" type="group"> <description>A place to store projects</description> </entry> </entries>
1.21. Running with non-ascii characters
For Tomcat set the URIEncoding: http://stackoverflow.com/questions/138948/how-to-get-utf-8-working-in-java-webapps.
If you are running mysql there are some things you need to do. Postgres and Derby seem OK out of the box.
Your Java runtime should also have the system property -Dfile.encoding=utf-8 defined.
1.22. How do I configure the entry table to always show the Apply action form?
ramadda.wiki.table.formopen=true
1.23. I've cleaned up files on my server that I had harvested in RAMADDA. How do I delete those entries in RAMADDA?
ramadda.delete_entry_when_file_is_missing=trueBe careful with this. I (jeffmc) have seen remote file systems go down momentarily and if this had been set then all of my entries that I had harvested would have been deleted.
1.24. How can I change the default page style for a file or a folder?
ramadda.wikitemplate.default.folder=%resourcedir%/templates/folder.default.txt ramadda.wikitemplate.default.file=%resourcedir%/templates/file.default.txt ramadda.wikitemplate.content.file=%resourcedir%/templates/file.content.txt ramadda.wikitemplate.content.folder=%resourcedir%/templates/folder.content.txtIf you want to override the default display (e.g., changing the height of the folder table contents) copy the above folder.content.txt file into your RAMADDA home directory (e.g. ~/ramadda). Then, in the repository.properties in RAMADDA home add the property:
ramadda.wikitemplate.content.folder=%repositorydir%/folder.content.txt
1.25. How do I select multiple checkboxes at once?