Skip to content

[BUG]: Nginx subdirectory installation leads to 403 when loading tessdata #254

@janis91

Description

@janis91

Bug report

Expected Behavior

Tessdata is loaded correctly

Current Behavior

403 when loading tessdata

Possible Solution

I'm not sure.

Steps to Reproduce (for bugs)

  1. Install NC with nginx conf: https://docs.nextcloud.com/server/18/admin_manual/installation/nginx.html#nextcloud-in-a-subdir-of-nginx
  2. Install app
  3. tessdata is correctly placed in appdata folder and has right permissions (checked that already)
  4. Start ocr
  5. Failure is reported
  6. Network tab shows 403 from nginx:
403 Forbidden
nginx
  1. no logs in nc.log
  2. access.log in nginx shows 403 nothing else

Your Environment

  • OCR version used: 6.0.1
  • Browser Name and version: Firefox
  • nextcloud version: 17
  • PHP version: 7.2
  • Are you using encryption: no

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions