Hello, I updated some packages with apt-get update, and after reboot nextcloud is giving an error with php-fpm, because it didn’t found a configuration file. I think it’s trying to use a debian one, but I couldn’t find where nextcloud stores there PHP config file.
Currently it’s looking at /etc/php/7.3/fpm/config that is empty. IS there any way where ncp hace this config file so I ccan change the service file that is looking for it.
First of all I would look into the log file of apt to see what has happened.
You were right, there were problems with apt. After some requirements, still the problem seems the same, because apt can’t configure php7.3-fpm because of that file that didn’t find.
Apr 20 17:22:44 nextcloudpi php-fpm7.3: [20-Apr-2020 17:22:44] ERROR: failed to open configuration file '/etc/php/7.3/fpm/php-fpm.conf': No such file or directory (2)
Apr 20 17:22:44 nextcloudpi php-fpm7.3: [20-Apr-2020 17:22:44] ERROR: failed to load configuration file '/etc/php/7.3/fpm/php-fpm.conf'
Apr 20 17:22:44 nextcloudpi php-fpm7.3: [20-Apr-2020 17:22:44] ERROR: FPM initialization failed
Apr 20 17:22:44 nextcloudpi systemd: php7.3-fpm.service: Main process exited, code=exited, status=78/CONFIG
Apr 20 17:22:44 nextcloudpi systemd: php7.3-fpm.service: Failed with result 'exit-code'.
Apr 20 17:22:44 nextcloudpi systemd: Failed to start The PHP 7.3 FastCGI Process Manager.
dpkg: error processing package php7.3-fpm (--configure):
installed php7.3-fpm package post-installation script subprocess returned error exit status 1
Is there any place where I can find a config file ready for nextcloudpi? I found some standard config files, but I don’t know if I can use them, or Nextcloudpi has their own preferences
I tried copying all the file from the original image and now apt ended. But still nextoclud didn’t start. I can connect through ssh and I can see that mariadb didn’t start, and now I have a message that my terminal is not fully funcional.
MAybe my best chance is to make a backup and reinstall everything