Friday January 1st 2021

Good day. Solved an error with the NextcloudPi install. It’s taken a while. Patience and choosing not to go for the nuclear option and reinstall has paid off.

I was unable to upload any files. This was web uploads, desktop client and Android. The message I got was...

Error: Cannot modify header information - headers already sent by (output started at /var/www/nextcloud/3rdparty/sabre/http/lib/Sapi.php:132) at /var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php#691

Current install is NextcloudC 20.0.3 / NextcloudPi v1.33.0. Nextcloud data on an external HD.

This seems to have fixed it for now:

  1. open /etc/php/7.3/fpm/php.ini
  2. edit the config value for upload_tmp_dir to the ncdata/tmp directory already in my external USB drive
  3. restart php-fpm with sudo service php7.3-fpm restart

3.2G of files synced this afternoon. Happy with that.

Got there from the pointers here and here.

And in other news welcome to 2021. Wishing the world well. Adapt and check your perspective.

Been out on the bike. Gave it a wash and clean. Oiled the chain. Pumped the tyres. Tuned up the gears. 25 miles with the gruelling Vigo Hill thrown in for good measure.

You'll only receive email when they publish something new.

More from Alex Turner