I have upgraded to owncloud 10.3.1 from 10.2.1 and all is still working smooth as always. My server environment is CentOS Linux release 7.7.1908. I have fully updated my server from yum update with the exception of php because if I update php it breaks the owncloud webinterface. My webserver is currently nginx.
Below is the output of yum update that shows my current version of php and the new version that is trying to upgrade to. Essentially I am already running php-7.2.20-1 but just upgrading to a newer revision of php-7.2.24-1
Once I update php and restart the nginx web server I then try to open the owncloud webpage and receive an internal error.
Has anyone else run into this issue? What am I missing that causes this minor php revision upgrade to break the owncloud web interface?
could you please provide the exception as logged in owncloud.log when you try to open the webpage? Only then we could read what actually happened - maybe this is only a little thing to fix.
ownCloud 10.3.1 IS working with php 7.2, so the version upgrade this is not the issue, in most cases one or more php modules are missing.
I will provide the output of this log file later today. I will need to upgrade php after hours. In the meantime below is the modules that are currently installed and being upgrade per yum update for php.
I found the issue and wanted to post in case someone else runs into this. After looking up the error in the log file “SessionNotAvailableException” it lead me to wrong permissions on the php sessions folder. When php was updated it reset the permissions on the session folder which in CentOS 7 is located at: /var/lib/php/session. By default the permission was root:apache so I changed it root:nginx. This solved the issue and owncloud is back in operation.
this looks to me like a bug in the CentOS PHP packages. I think it could make sense to do a bugreport for the CentOS project to avoid such situations in the future.