nextcloud / backup

Backup now. Restore later.
GNU Affero General Public License v3.0
249 stars 37 forks source link

Changing the tmp folder #485

Closed silaxe closed 4 months ago

silaxe commented 1 year ago

Hello, I have tried to use the backup app in combination with the storj app for quite some time but not flawlessly so far. My issue occurs at the packing step due to the limited space available in my /tmp folder (1.2G). As advised in other posts, I have tried to change the location of the tmp directory, in particular by setting a different value for sys_temp_dir in php.ini (checked with phpinfo();) and also adding a 'tempdirectory' variable in nextcloud's config file. No luck: whenever I run occ backup:point:pack, it is still trying to copy chunks to /tmp and ends up with the following errors: "fail fgets() expects parameter 1 to be resource, bool given", "issue on chunk XXX - fgets() expects parameter 1 to be resource, bool given". Thanks in advance for your help! Best regards.

silaxe commented 1 year ago

Reply to myself: I did not edit the correct php.ini (I edited the one for the apache2 module whilst I should have edited the one for the CLI PHP). It works now!