Document
that they have been extracted from. They can be found in the following fields: detectedLanguage
, namesMentioned
, country
, ipMentioned
, emailMentioned
, phoneMentioned
and ibanMentioned
.transifex.com
and apply to become a member of the Aleph organisation. Start a new translation and translate all strings in the various Aleph components (followthemoney
, aleph-ui
, aleph-api
and react-ftm
).followthemoney.types.language
). If the language you are adding has multiple language codes, you may want to add a synonym mapping to the languagecodes
Python library.ingest-file
service in its Dockerfile
installs a Tesseract model for your language, if one is available in Ubuntu.Dockerfile
in ingest-file
. Also make sure to adapt the INGESTORS_NER_MODELS
environment variable in that file.develop
if you want to contribute code. Then, run:docker-compose.yml
file. You can do this by checking out the source repo, but really you just need that one file (and your config in aleph.env
). Then, run:aleph
commands gives you warnings about missing tables, you probably need to migrate your database to the lastest schema. Try:worker
process - the component responsible for indexing documents, generating caches, cross-reference and email alerts. When you operate in development mode (using the make
commands), this is the case by default.docker-compose
configuration for production mode has no understanding of how powerful your server is. It will run just a single instance of the services involved in data imports, worker
, ingest-file
and convert-document
.ingest-file
processes could be the number of CPUs in your machine, and convert-document
needs to be scaled up for imports with many office documents, but never higher than ingest-file
.upgrade
fails with errors like NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb11b6ab0d0>: Failed to establish a new connection: [Errno 111] Connection refused
this is what happened./etc/sysctl.conf
add:AuthorizationException(403, 'cluster_block_exception', 'index [aleph-collection-v1] blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];')
docker system prune
on the host machinemake shell
, run this CURL command: curl -XPUT -H "Content-Type: application/json" http://elasticsearch:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}'
make stop
make build
make upgrade
make web
to launch the UI and API, and make worker
to start a worker service.aleph/pages
. Pages can be customised by setting an environment variable, ALEPH_PAGES_PATH
to point to a directory with content pages.menu: true
header set will be added to the Navbar, others will just be shown in the sidebar menu inside the "About" section.api
service, or just mount a path from the server as a volume inside the api
.contrib/keycloak
).aleph createuser
command, by adding the --admin
option.aleph update
afterwards to refresh some cached information.127.0.0.1:15432
. (User, password and database name are all aleph
). You can also connect from the shell container:shell
container in production mode..
), for example:deadbeef.3cd336a9859bdf2be917f561430f2a83e5da292b
. The first part in this is the actual entity ID, while the second part is a signature (HMAC) assigned by the server when indexing the data._bulk
API. In these cases, an attacher could attempt to inject an ID already used by another collection and thus overwrite its data._bulk
API. The signature will be fixed up automatically.LibreOffice
keeps crashing on startup with Fatal exception: Signal 11
, AppArmor can be one possible cause. AppArmor
running on the host machine could be blocking LibreOffice
from starting up. Try disabling the AppArmor
profiles related to LibreOffice
by following these instructions: https://askubuntu.com/a/1214363​