Usage with Docker container
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 272
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
when using the backup app along with the Docker image provided by you guys, one runs into some configuration issues:
- The PHP memory limit is too small. The chunks are of size up to 4 GiB, 512 MiB don't suffice to extract them. My current workarround is to use an additional Dockerfile for the Nectloud container which contains this line:
RUN echo $'memory_limit=8G\n\ upload_max_filesize=${PHP_UPLOAD_LIMIT}\n\ post_max_size=${PHP_UPLOAD_LIMIT}' > /usr/local/etc/php/conf.d/nextcloud.ini - The mysqli extension is not installed within the container/the build flag is missing, used during restoring the sqldump, The workaround that I'musing is to add another line to the above-mentioned Dockerfile with the content:
`RUN docker-php-ext-install mysqli
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.
Research direction
Start by locating the Docker image build configuration and compare it with the reported additional Dockerfile commands. Verify the PHP memory, upload, and post limits for 4 GiB chunks and ensure mysqli is available for SQL dump restoration; done means the provided image works without those workarounds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, php
- Domain
- database, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100