SOLVED: I Am Receiving Incessant Errors (of the same type) After NC18 Upgrade

Hi,

Someone reported this issue on github and solved it by the following:

mkdir -p /etc/systemd/system/php-fpm.service.d/
chown root:root /etc/systemd/system/php-fpm.service.d/
chmod 755 /etc/systemd/system/php-fpm.service.d/
touch /etc/systemd/system/php-fpm.service.d/override_nextcloud.conf
chown root:root /etc/systemd/system/php-fpm.service.d/override_nextcloud.conf
chmod 644 /etc/systemd/system/php-fpm.service.d/override_nextcloud.conf

Edit the created file
/etc/systemd/system/php-fpm.service.d/override_nextcloud.conf

and enter the following - be sure to correct the path the your nc data folder and probably the path to your nextcloud config directory:

[Service]
ReadWritePaths = /path/to/nextcloud-data
ReadWritePaths = /usr/share/webapps/nextcloud/apps
ReadWritePaths = /usr/share/webapps/nextcloud/config/

3 Likes