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.

45 lines
1.9 KiB

4 years ago
  1. # FAQ
  2. ## I can't upload my data
  3. Please check the following list.
  4. - File encoding: `UTF-8` is appropriate.
  5. - Filename: alphabetic file name is suitable.
  6. - File format selection: File format radio button should be selected properly.
  7. - When you are using JSON/JSONL: Confirm JSON data is valid.
  8. - You can use [JSONLint](https://jsonlint.com/) or some other tool (when JSONL, pick one data and check it).
  9. - When you are using CSV: Confirm CSV data is valid.
  10. - You can use Excel or some tools that have import CSV feature.
  11. - Lack of line: Data file should not contain blank line.
  12. - Lack of field: Data file should not contain blank field.
  13. **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.**
  14. ## I want to add annotators annotators/annotation approvers
  15. 1. Add a user from [Django Admin site](https://djangobook.com/django-admin-site/).
  16. ![Add a user](./images/faq/add_user.png)
  17. 2. **Logout from Django Admin site.** [You'll face login error without logout of Django Admin site](https://github.com/doccano/doccano/issues/723).
  18. 3. Add the user to the project in the member page (`/projects/{project_id}/members`).
  19. ## I want to update to the latest doccano image
  20. 1. Execute `git pull` to reflect the latest doccano.
  21. 2. Delete the volume that `doccano_node_modules`, `doccano_static_volume`, `doccano_venv` and `doccano_www`.
  22. **Do not delete `doccano_postgres_data` because it stores your projects data.**
  23. 3. Rebuild the doccano image.
  24. The following commands are the procedure for 2~3.
  25. ```
  26. ❯ docker volume ls
  27. DRIVER VOLUME NAME
  28. local doccano_node_modules
  29. local doccano_postgres_data
  30. local doccano_static_volume
  31. local doccano_venv
  32. local doccano_www
  33. ❯ docker volume rm doccano_node_modules doccano_static_volume doccano_venv doccano_www
  34. ❯ docker-compose -f docker-compose.prod.yml build --no-cache
  35. ```