nextcloud / nextcloud/nextcloudpi
Clean Install Max Upload Is 8M
@theCalcaholic is already working on this.
Since Apr 20, 2024.
- Dominant language
- Shell
- Stars
- 2.9k
- Forks
- 318
- PR merge metrics
- No merged PRs in 30d
Description
I set up NextcloudPi (fresh install) on my Raspberry Pi 4B yesterday and kept getting "Connection Closed" on the Nextcloud Desktop application. Upon further investigation, uploading files was failing on the web as well citing "Nextcloud read XXX bytes, but Nextcloud wrote 8192 bytes ...". I did some more digging into this error and it turns out that /etc/php/8.1/fpm/php.ini had its upload setting set to a maximum of 8M. Once I upped this value to 16G and ran sudo systemctl restart php8.1-fpm.service the problem went away.
It took a bit too long for me to find the solution, but I'm hoping this raises awareness for you guys to fix this in the future. Or at least let users who are setting this up have some way to configure it during setup or in the web dashboard/ncp-config.
Hopefully if someone else runs into this issue, they will see this and know how to solve it.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.