After Update 3.x to 4.x Php Session Clean Errors
-
- OMV 4.x
- resolved
- Upgrade 3.x -> 4.x
- hnee
-
-
During the update from OMV3 to OMV4 also php should have been updated to php7.
Did you get any error messages during the update?
What is the output of dpkg -l | grep php
-
Code
Display Moreroot@NAS:~# dpkg -l | grep php rc libapache2-mod-php5 5.6.30+dfsg-0+deb8u1 amd64 server-side, HTML-embedded scripting language (Apache 2 module) ii libapache2-mod-php7.0 7.0.27-0+deb9u1 amd64 server-side, HTML-embedded scripting language (Apache 2 module) ii php 1:7.0+49 all server-side, HTML-embedded scripting language (default) ii php-apc 4.0.7-1 all APC User Cache for PHP 5 (transitional package) ii php-bcmath 1:7.0+49 all Bcmath module for PHP [default] ii php-cgi 1:7.0+49 all server-side, HTML-embedded scripting language (CGI binary) (default) ii php-common 1:49 all Common files for PHP packages ii php-fpm 1:7.0+49 all server-side, HTML-embedded scripting language (FPM-CGI binary) (default) ii php-mbstring 1:7.0+49 all MBSTRING module for PHP [default] ii php-pam 1.0.3-1 amd64 pam module for PHP 7 ii php-xml 1:7.0+49 all DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default] ii php5-apcu 4.0.7-1 amd64 APC User Cache for PHP 5 rc php5-cgi 5.6.33+dfsg-0+deb8u1 amd64 server-side, HTML-embedded scripting language (CGI binary) rc php5-cli 5.6.33+dfsg-0+deb8u1 amd64 command-line interpreter for the php5 scripting language ii php5-common 5.6.33+dfsg-0+deb8u1 amd64 Common files for packages built from the php5 source ii php5-curl 5.6.33+dfsg-0+deb8u1 amd64 CURL module for php5 rc php5-fpm 5.6.33+dfsg-0+deb8u1 amd64 server-side, HTML-embedded scripting language (FPM-CGI binary) ii php5-gd 5.6.33+dfsg-0+deb8u1 amd64 GD module for php5 rc php5-json 1.3.6-1 amd64 JSON module for php5 rc php5-mysqlnd 5.6.33+dfsg-0+deb8u1 amd64 MySQL module for php5 (Native Driver) rc php5-pam 1.0.3-4 amd64 pam module for PHP 5 rc php5-pgsql 5.6.33+dfsg-0+deb8u1 amd64 PostgreSQL module for php5 rc php5-sqlite 5.6.33+dfsg-0+deb8u1 amd64 SQLite module for php5 ii php7.0 7.0.27-0+deb9u1 all server-side, HTML-embedded scripting language (metapackage) ii php7.0-bcmath 7.0.27-0+deb9u1 amd64 Bcmath module for PHP ii php7.0-cgi 7.0.27-0+deb9u1 amd64 server-side, HTML-embedded scripting language (CGI binary) ii php7.0-cli 7.0.27-0+deb9u1 amd64 command-line interpreter for the PHP scripting language ii php7.0-common 7.0.27-0+deb9u1 amd64 documentation, examples and common module for PHP ii php7.0-fpm 7.0.27-0+deb9u1 amd64 server-side, HTML-embedded scripting language (FPM-CGI binary) ii php7.0-json 7.0.27-0+deb9u1 amd64 JSON module for PHP ii php7.0-mbstring 7.0.27-0+deb9u1 amd64 MBSTRING module for PHP ii php7.0-mysql 7.0.27-0+deb9u1 amd64 MySQL module for PHP ii php7.0-opcache 7.0.27-0+deb9u1 amd64 Zend OpCache module for PHP ii php7.0-pgsql 7.0.27-0+deb9u1 amd64 PostgreSQL module for PHP ii php7.0-readline 7.0.27-0+deb9u1 amd64 readline module for PHP ii php7.0-sqlite3 7.0.27-0+deb9u1 amd64 SQLite3 module for PHP ii php7.0-xml 7.0.27-0+deb9u1 amd64 DOM, SimpleXML, WDDX, XML, and XSL module for PHP
-
-
Seems to me like something went wrong during the update.
Not sure if it is safe to just purge php5. Do you have backup of the original OMV3 installation?
Hope somebody else can help.
-
I backuped the whole system (got an update from before the update too) and did apt-get purge 'php5*' .
Seems to be fixed. No errors and the system is still working so far.
Code
Display Moreroot@NAS:~# dpkg -l | grep php rc libapache2-mod-php5 5.6.30+dfsg-0+deb8u1 amd64 server-side, HTML-embedded scripting language (Apache 2 module) ii libapache2-mod-php7.0 7.0.27-0+deb9u1 amd64 server-side, HTML-embedded scripting language (Apache 2 module) ii php 1:7.0+49 all server-side, HTML-embedded scripting language (default) ii php-bcmath 1:7.0+49 all Bcmath module for PHP [default] ii php-cgi 1:7.0+49 all server-side, HTML-embedded scripting language (CGI binary) (default) ii php-common 1:49 all Common files for PHP packages ii php-fpm 1:7.0+49 all server-side, HTML-embedded scripting language (FPM-CGI binary) (default) ii php-mbstring 1:7.0+49 all MBSTRING module for PHP [default] ii php-pam 1.0.3-1 amd64 pam module for PHP 7 ii php-xml 1:7.0+49 all DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default] ii php7.0 7.0.27-0+deb9u1 all server-side, HTML-embedded scripting language (metapackage) ii php7.0-bcmath 7.0.27-0+deb9u1 amd64 Bcmath module for PHP ii php7.0-cgi 7.0.27-0+deb9u1 amd64 server-side, HTML-embedded scripting language (CGI binary) ii php7.0-cli 7.0.27-0+deb9u1 amd64 command-line interpreter for the PHP scripting language ii php7.0-common 7.0.27-0+deb9u1 amd64 documentation, examples and common module for PHP ii php7.0-fpm 7.0.27-0+deb9u1 amd64 server-side, HTML-embedded scripting language (FPM-CGI binary) ii php7.0-json 7.0.27-0+deb9u1 amd64 JSON module for PHP ii php7.0-mbstring 7.0.27-0+deb9u1 amd64 MBSTRING module for PHP ii php7.0-mysql 7.0.27-0+deb9u1 amd64 MySQL module for PHP ii php7.0-opcache 7.0.27-0+deb9u1 amd64 Zend OpCache module for PHP ii php7.0-pgsql 7.0.27-0+deb9u1 amd64 PostgreSQL module for PHP ii php7.0-readline 7.0.27-0+deb9u1 amd64 readline module for PHP ii php7.0-sqlite3 7.0.27-0+deb9u1 amd64 SQLite3 module for PHP ii php7.0-xml 7.0.27-0+deb9u1 amd64 DOM, SimpleXML, WDDX, XML, and XSL module for PHP
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!