Alpine-Nextcloud: can't upload files bigger than 1/2MB (easy fix) #193

Closed
opened 2026-02-04 17:03:34 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @NetMan134 on GitHub (Dec 19, 2024).

Originally assigned to: @michelroegl-brunner on GitHub.

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Alpine-Nextcloud LXC

📂 What was the exact command used to execute the script?

bash -c "$(wget -qO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/alpine-nextcloud.sh)"

📝 Provide a clear and concise description of the issue.

/etc/php83/php.ini
upload_max_filesize is 2M by default (also set post_max_size)

/etc/nginx/http.d/nextcloud.conf
does not have a client_max_body_size variable set

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Alpine

🔄 Steps to reproduce the issue.

  1. Install Nextcloud
  2. Log in
  3. Try to upload a file (>1/2MB)
  4. HTTP Error 413 or "Unknown error while uploading"

Paste the full error output (if available).

not relevant

🖼️ Additional context (optional).

No response

Originally created by @NetMan134 on GitHub (Dec 19, 2024). Originally assigned to: @michelroegl-brunner on GitHub. ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Alpine-Nextcloud LXC ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/alpine-nextcloud.sh)" ### 📝 Provide a clear and concise description of the issue. `/etc/php83/php.ini` `upload_max_filesize` is `2M` by default (also set `post_max_size`) `/etc/nginx/http.d/nextcloud.conf` does not have a `client_max_body_size` variable set ### ⚙️ What settings are you using? - [X] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Alpine ### 🔄 Steps to reproduce the issue. 1. Install Nextcloud 2. Log in 3. Try to upload a file (>1/2MB) 4. HTTP Error 413 or "Unknown error while uploading" ### ❌ Paste the full error output (if available). not relevant ### 🖼️ Additional context (optional). _No response_
Author
Owner

@MickLesk commented on GitHub (Dec 19, 2024):

@michelroegl-brunner that can you do ^^

@MickLesk commented on GitHub (Dec 19, 2024): @michelroegl-brunner that can you do ^^
Author
Owner

@michelroegl-brunner commented on GitHub (Dec 19, 2024):

Can do, will prop. take me a day or two.

@michelroegl-brunner commented on GitHub (Dec 19, 2024): Can do, will prop. take me a day or two.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#193