Skip to content

[DEPLOYMENT] Problem increasing upload size #671

@Kulturserver

Description

@Kulturserver

Describe the issue
Although we increased the uploadlimit serverwise, we aren't able to upload images or files larger than 2 MB via our open form installation

Deployment Environment

  • OpnForm Version: latest
  • Hosting Platform: [Self-hosted server]
  • OS: [Linux 6.1.0-30-amd64 Debian 12]

Deployment Method

  • Docker

Steps Taken
Describe the steps you've taken to deploy the application:

  1. following docker installation guide
  2. run .env scripts
  3. created own domain

Error Messages
This error is seen in the inspector when trying to upload a large file (forms-dev.culturebase.org being the domain we set up): Bk3RVgqs.js:19
POST https://forms-dev.culturebase.org/api/upload-file 422 (Unprocessable Content)

Configuration Files
If relevant, provide snippets of your configuration files (make sure to remove any sensitive information).
client/.env:
NUXT_PUBLIC_APP_URL=https://forms-dev.culturebase.org
NUXT_PUBLIC_API_BASE=https://forms-dev.culturebase.org/api
NUXT_PRIVATE_API_BASE=http://ingress/api
NUXT_PUBLIC_ENV=dev
NUXT_API_SECRET=***

Logs
To help us diagnose the issue, please provide the following logs:

  • laravel.log in api/storage/logs on the back-end image

  • Nuxt logs in the client docker logs

  • those are both empty, we cannot find them

Additional context
we checked with the existing issues #570 and followed the steps there, but with no result

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions