You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

3.0 KiB

FAQ

I can't upload my data

Please check the following list.

  • File encoding: UTF-8 is appropriate.
  • Filename: alphabetic file name is suitable.
  • File format selection: File format radio button should be selected properly.
  • When you are using JSON/JSONL: Confirm JSON data is valid.
    • You can use JSONLint or some other tool (when JSONL, pick one data and check it).
  • When you are using CSV: Confirm CSV data is valid.
    • You can use Excel or some tools that have import CSV feature.
  • Lack of line: Data file should not contain blank line.
  • Lack of field: Data file should not contain blank field.

You don't need your real & all data to validate file format. The picked data & masked data is suitable if your data is large or secret.

I want to add annotators annotators/annotation approvers

  1. Login to Django Admin (URL: /admin/).
  2. Add a user to Users table (Add link).
  3. Logout from Django Admin site. You'll face login error without logout of Django Admin site.
  4. Add the user to the project in the member page (/projects/{project_id}/members).

I want to change user's or admin's password

For ordinary user:

  1. Login to Django Admin (URL: /admin/).
  2. Open Users table.
  3. Open user you want to change password.
  4. In Password property, you'll see: Raw passwords are not stored, so there is no way to see this user's password, but you can change the password using *this form*. Click this form link.
  5. Fill the form. Click CHANGE PASSWORD button.
  6. Logout from Django Admin site. You'll face login error without logout of Django Admin site.

For the superuser account credentials, you have to set new password in the docker-compose.dev.yml and docker-compose.prod.yml files:

ADMIN_PASSWORD: "new_password"

I want to change port number

On production, edit docker-compose.prod.yml file: change 80:80 substring in nginx/ports section to <your_port>:80.

On development, edit docker-compose.dev.yml file: change 8000:8000 substring in backend/ports section to <your_port>:8000.

I want to update to the latest doccano image

  1. Execute git pull to reflect the latest doccano.
  2. Delete the volume that doccano_node_modules, doccano_static_volume, doccano_venv and doccano_www. Do not delete doccano_postgres_data because it stores your projects data.
  3. Rebuild the doccano image.

The following commands are the procedure for 2~3.

❯ docker volume ls
DRIVER              VOLUME NAME
local               doccano_node_modules
local               doccano_postgres_data
local               doccano_static_volume
local               doccano_venv
local               doccano_www
❯ docker volume rm doccano_node_modules doccano_static_volume doccano_venv doccano_www
❯ docker-compose -f docker-compose.prod.yml build --no-cache