-
Notifications
You must be signed in to change notification settings - Fork 463
[DEPLOYMENT] Problem increasing upload size #671
Description
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:
- following docker installation guide
- run .env scripts
- 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.loginapi/storage/logson 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