Problem nextcloud after update 7.7.1908

NethServer Version: NethServer release 7.7.1908
Module: NextCloud
Good morning
Now i have update NethServer and i have relese 7.7.1908

and now error is

Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please includethe technical details below in your report.
More details can be found in the server log.

my nexcloud configurations is

config show nextcloud
TrustedDomains=cloudoe.mail01.it
VirtualHost=cloudoe.mail01.it
Wellknown=disabled

[root@mail01 ~]# systemctl status -l mariadb mysqld rh-php72-php-fpm
● mariadb.service - MariaDB database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; disabled; vendor preset: disabled)
Active: inactive (dead)
● mysqld.service - MariaDB database server
Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2020-04-22 16:47:59 CEST; 36min ago
Process: 1485 ExecStartPost=/usr/libexec/mariadb-wait-ready $MAINPID (code=exited, status=0/SUCCESS)
Process: 1309 ExecStartPre=/usr/libexec/mariadb-prepare-db-dir %n (code=exited, status=0/SUCCESS)
Main PID: 1484 (mysqld_safe)
CGroup: /system.slice/mysqld.service
├─1484 /bin/sh /usr/bin/mysqld_safe --basedir=/usr
└─1707 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --log-error=/var/log/mariadb/mariadb.log --pid-file=/var/run/mariadb/mariadb.pid --socket=/var/lib/mysql/mysql.sock
Apr 22 16:47:41 mail01.oeonline.it systemd[1]: Starting MariaDB database server…
Apr 22 16:47:42 mail01.oeonline.it mariadb-prepare-db-dir[1309]: Database MariaDB is probably initialized in /var/lib/mysql already, nothing is done.
Apr 22 16:47:42 mail01.oeonline.it mariadb-prepare-db-dir[1309]: If this is not the case, make sure the /var/lib/mysql is empty before running mariadb-prepare-db-dir.
Apr 22 16:47:44 mail01.oeonline.it mysqld_safe[1484]: 200422 16:47:44 mysqld_safe Logging to ‘/var/log/mariadb/mariadb.log’.
Apr 22 16:47:44 mail01.oeonline.it mysqld_safe[1484]: 200422 16:47:44 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
Apr 22 16:47:59 mail01.oeonline.it systemd[1]: Started MariaDB database server.
● rh-php72-php-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/rh-php72-php-fpm.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/rh-php72-php-fpm.service.d
└─nethserver-rh-php72-php-fpm.conf
Active: active (running) since Wed 2020-04-22 16:47:57 CEST; 36min ago
Main PID: 1330 (php-fpm)
Status: “Processes active: 0, idle: 11, Requests: 107, slow: 0, Traffic: 0req/sec”
CGroup: /system.slice/rh-php72-php-fpm.service
├─1330 php-fpm: master process (/etc/opt/rh/rh-php72/php-fpm.conf
├─2462 php-fpm: pool nethserver-nextcloud
├─2463 php-fpm: pool nethserver-nextcloud
├─2464 php-fpm: pool nethserver-nextcloud
├─2465 php-fpm: pool nethserver-nextcloud
├─2466 php-fpm: pool nethserver-nextcloud
├─2467 php-fpm: pool www
├─2468 php-fpm: pool www
├─2469 php-fpm: pool www
├─2470 php-fpm: pool www
├─2472 php-fpm: pool www
└─2750 php-fpm: pool nethserver-nextcloud
Apr 22 16:47:41 mail01.oeonline.it systemd[1]: Starting The PHP FastCGI Process Manager…
Apr 22 16:47:57 mail01.oeonline.it systemd[1]: Started The PHP FastCGI Process Manager.
[root@mail01 ~]#

sudo -u apache scl enable rh-php72 – php -dmemory_limit=512M /usr/share/nextcloud/occ maintenance:mode
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Maintenance mode is currently disabled

sudo -u apache scl enable rh-php72 – php -dmemory_limit=512M /usr/share/nextcloud/occ app:list
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Enabled:

  • accessibility: 1.2.0
  • activity: 2.9.1
  • cloud_federation_api: 0.2.0
  • comments: 1.6.0
  • dav: 1.9.2
  • federatedfilesharing: 1.6.0
  • federation: 1.6.0
  • files: 1.11.0
  • files_external: 1.7.0
  • files_pdfviewer: 1.5.0
  • files_rightclick: 0.15.1
  • files_sharing: 1.8.0
  • files_trashbin: 1.6.0
  • files_versions: 1.9.0
  • files_videoplayer: 1.5.0
  • firstrunwizard: 2.5.0
  • logreader: 2.1.0
  • lookup_server_connector: 1.4.0
  • nextcloud_announcements: 1.5.0
  • notifications: 2.4.1
  • oauth2: 1.4.2
  • password_policy: 1.6.0
  • privacy: 1.0.0
  • provisioning_api: 1.6.0
  • recommendations: 0.4.0
  • serverinfo: 1.6.0
  • settings: true
  • sharebymail: 1.6.0
  • support: 1.0.0
  • survey_client: 1.4.0
  • systemtags: 1.6.0
  • theming: 1.7.0
  • twofactor_backupcodes: 1.5.0
  • twofactor_totp: 3.0.1
  • updatenotification: 1.6.0
  • user_ldap: 1.6.0
  • viewer: 1.1.0
  • workflowengine: 1.6.0
    Disabled:
  • admin_audit
  • calendar
  • contacts
  • encryption
  • passwords
  • photos
  • text

end error in log is

{“reqId”:“XqBbk0UsT1jU-L8GlVgHcgAAAAM”,“level”:3,“time”:“2020-04-22T14:58:27+00:00”,“remoteAddr”:“123.456.789.111”,“user”:"–",“app”:“core”,“method”:“GET”,“url”:"/remote.php/dav/",“message”:"Service unavailable ",“userAgent”:“Apache-HttpClient/4.5.3 (Java/1.8.0_242)”,“version”:“16.0.5.1”}

{“reqId”:“XqBbk0UsT1jU-L8GlVgHcgAAAAM”,“level”:3,“time”:“2020-04-22T14:58:27+00:00”,“remoteAddr”:“123.456.789.111”,“user”:"–",“app”:“core”,“method”:“GET”,“url”:"/remote.php/dav/",“message”:{“Exception”:“Doctrine\DBAL\Exception\TableNotFoundException”,“Message”:“An exception occurred while executing ‘SELECT filecache.fileid, storage, path, path_hash, filecache.parent, name, mimetype, mimepart, size, mtime, storage_mtime, encrypted, etag, permissions, checksum, metadata_etag, creation_time, upload_time FROM oc_filecache filecache LEFT JOIN oc_filecache_extended fe ON filecache.fileid = fe.fileid WHERE (storage = ?) AND (path_hash = ?)’ with params [2, “dedc35aaaa2ffd41fa701e78f1ab84e9”]:\n\nSQLSTATE[42S02]: Base table or view not found: 1146 Table ‘nextcloud.oc_filecache_extended’ doesn’t exist”,“Code”:0,“Trace”:[{“file”:"/usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php",“line”:169,“function”:“convertException”,“class”:“Doctrine\DBAL\Driver\AbstractMySQLDriver”,“type”:"->",“args”:[“An exception occurred while executing ‘SELECT filecache.fileid, storage, path, path_hash, filecache.parent, name, mimetype, mimepart, size, mtime, storage_mtime, encrypted, etag, permissions, checksum, metadata_etag, creation_time, upload_time FROM oc_filecache filecache LEFT JOIN oc_filecache_extended fe ON filecache.fileid = fe.fileid WHERE (storage = ?) AND (path_hash = ?)’ with params [2, “dedc35aaaa2ffd41fa701e78f1ab84e9”]:\n\nSQLSTATE[42S02]: Base table or view not found: 1146 Table ‘nextcloud.oc_filecache_extended’ doesn’t exist”,{“errorInfo”:[“42S02”,1146,“Table ‘nextcloud.oc_filecache_extended’ doesn’t exist”],“class”:“Doctrine\DBAL\Driver\PDOException”}]},{“file”:"/usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php",“line”:145,“function”:“wrapException”,“class”:“Doctrine\DBAL\DBALException”,“type”:"::",“args”:[{“class”:“Doctrine\DBAL\Driver\PDOMySql\Driver”},{“errorInfo”:[“42S02”,1146,“Table ‘nextcloud.oc_filecache_extended’ doesn’t exist”],“class”:“Doctrine\DBAL\Driver\PDOException”},“An exception occurred while executing ‘SELECT filecache.fileid, storage, path, path_hash, filecache.parent, name, mimetype, mimepart, size, mtime, storage_mtime, encrypted, etag, permissions, checksum, metadata_etag, creation_time, upload_time FROM oc_filecache filecache LEFT JOIN oc_filecache_extended fe ON filecache.fileid = fe.fileid WHERE (storage = ?) AND (path_hash = ?)’ with params [2, “dedc35aaaa2ffd41fa701e78f1ab84e9”]:\n\nSQLSTATE[42S02]: Base table or view not found: 1146 Table ‘nextcloud.oc_filecache_extended’ doesn’t exist”]},{“file”:"/usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php",“line”:911,“function”:“driverExceptionDuringQuery”,“class”:“Doctrine\DBAL\DBALException”,“type”:"::",“args”:[{“class”:“Doctrine\DBAL\Driver\PDOMySql\Driver”},{“errorInfo”:[“42S02”,1146,“Table ‘nextcloud.oc_filecache_extended’ doesn’t exist”],“class”:“Doctrine\DBAL\Driver\PDOException”},“SELECT filecache.fileid, storage, path, path_hash, filecache.parent, name, mimetype, mimepart, size, mtime, storage_mtime, encrypted, etag, permissions, checksum, metadata_etag, creation_time, upload_time FROM oc_filecache filecache LEFT JOIN oc_filecache_extended fe ON filecache.fileid = fe.fileid WHERE (storage = ?) AND (path_hash = ?)”,{“1”:2,“2”:“dedc35aaaa2ffd41fa701e78f1ab84e9”}]},{“file”:"/usr/share/nextcloud/lib/private/DB/Connection.php",“line”:199,“function”:“executeQuery”,“class”:“Doctrine\DBAL\Connection”,“type”:"->",“args”:[“SELECT filecache.fileid, storage, path, path_hash, filecache.parent, name, mimetype, mimepart, size, mtime, storage_mtime, encrypted, etag, permissions, checksum, metadata_etag, creation_time, upload_time FROM oc_filecache filecache LEFT JOIN oc_filecache_extended fe ON filecache.fileid = fe.fileid WHERE (storage = ?) AND (path_hash = ?)”,[2,“dedc35aaaa2ffd41fa701e78f1ab84e9”],[1,2],null]},{“file”:"/usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php",“line”:200,“function”:“executeQuery”,“class”:“OC\DB\Connection”,“type”:"->",“args”:[“SELECT filecache.fileid, storage, path, path_hash, filecache.parent, name, mimetype, mimepart, size, mtime, storage_mtime, encrypted, etag, permissions, checksum, metadata_etag, creation_time, upload_time FROM oc_filecache filecache LEFT JOIN oc_filecache_extended fe ON filecache.fileid = fe.fileid WHERE (storage = :dcValue1) AND (path_hash = :dcValue2)”,{“dcValue1”:2,“dcValue2”:“dedc35aaaa2ffd41fa701e78f1ab84e9”},{“dcValue1”:1,“dcValue2”:2}]},{“file”:"/usr/share/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php",“line”:215,“function”:“execute”,“class”:“Doctrine\DBAL\Query\QueryBuilder”,“type”:"->",“args”:[]},{“file”:"/usr/share/nextcloud/lib/private/Files/Cache/Cache.php",“line”:153,“function”:“execute”,“class”:“OC\DB\QueryBuilder\QueryBuilder”,“type”:"->",“args”:[]},{“file”:"/usr/share/nextcloud/lib/private/Files/View.php",“line”:1329,“function”:“get”,“class”:“OC\Files\Cache\Cache”,“type”:"->",“args”:[“appdata_ocxqw1407wha/js/core”]},{“file”:"/usr/share/nextcloud/lib/private/Files/View.php",“line”:1384,“function”:“getCacheEntry”,“class”:“OC\Files\View”,“type”:"->",“args”:[{“cache”:{“class”:“OC\Files\Cache\Cache”},“scanner”:null,“watcher”:null,“propagator”:null,“updater”:null,“class”:“OCA\Files_Trashbin\Storage”},“appdata_ocxqw1407wha/js/core”,"/appdata_ocxqw1407wha/js/core"]},{“file”:"/usr/share/nextcloud/lib/private/Files/Node/Root.php",“line”:199,“function”:“getFileInfo”,“class”:“OC\Files\View”,“type”:"->",“args”:["/appdata_ocxqw1407wha/js/core"]},{“function”:“get”,“class”:“OC\Files\Node\Root”,“type”:"->",“args”:["/appdata_ocxqw1407wha/js/core"]},{“file”:"/usr/share/nextcloud/lib/private/Files/Node/LazyRoot.php",“line”:65,“function”:“call_user_func_array”,“args”:[[{“class”:“OC\Files\Node\Root”},“get”],[“appdata_ocxqw1407wha/js/core”]]},{“file”:"/usr/share/nextcloud/lib/private/Files/Node/LazyRoot.php",“line”:142,“function”:"__call",“class”:“OC\Files\Node\LazyRoot”,“type”:"->",“args”:[“get”,[“appdata_ocxqw1407wha/js/core”]]},{“file”:"/usr/share/nextcloud/lib/private/Files/AppData/AppData.php",“line”:143,“function”:“get”,“class”:“OC\Files\Node\LazyRoot”,“type”:"->",“args”:[“appdata_ocxqw1407wha/js/core”]},{“file”:"/usr/share/nextcloud/lib/private/Template/JSCombiner.php",“line”:96,“function”:“getFolder”,“class”:“OC\Files\AppData\AppData”,“type”:"->",“args”:[“core”]},{“file”:"/usr/share/nextcloud/lib/private/Template/JSResourceLocator.php",“line”:115,“function”:“process”,“class”:“OC\Template\JSCombiner”,“type”:"->",“args”:["/usr/share/nextcloud",“core/js/merged-template-prepend.json”,“core”]},{“file”:"/usr/share/nextcloud/lib/private/Template/JSResourceLocator.php",“line”:71,“function”:“cacheAndAppendCombineJsonIfExist”,“class”:“OC\Template\JSResourceLocator”,“type”:"->",“args”:["/usr/share/nextcloud",“core/js/merged-template-prepend.json”]},{“file”:"/usr/share/nextcloud/lib/private/Template/ResourceLocator.php",“line”:78,“function”:“doFind”,“class”:“OC\Template\JSResourceLocator”,“type”:"->",“args”:[“js/merged-template-prepend”]},{“file”:"/usr/share/nextcloud/lib/private/TemplateLayout.php",“line”:346,“function”:“find”,“class”:“OC\Template\ResourceLocator”,“type”:"->",“args”:[[“core/js/dist/main”,“js/merged-template-prepend”,“search/js/search”,“core/l10n/en”,“search/l10n/en”,“search/js/searchprovider”,“js/files/fileinfo”,“js/files/client”]]},{“file”:"/usr/share/nextcloud/lib/private/TemplateLayout.php",“line”:174,“function”:“findJavascriptFiles”,“class”:“OC\TemplateLayout”,“type”:"::",“args”:[[“core/js/dist/main”,“js/merged-template-prepend”,“search/js/search”,“core/l10n/en”,“search/l10n/en”,“search/js/searchprovider”,“js/files/fileinfo”,“js/files/client”]]},{“file”:"/usr/share/nextcloud/lib/private/legacy/template.php",“line”:184,“function”:"__construct",“class”:“OC\TemplateLayout”,“type”:"->",“args”:[“error”,""]},{“file”:"/usr/share/nextcloud/lib/private/Template/Base.php",“line”:132,“function”:“fetchPage”,“class”:“OC_Template”,“type”:"->",“args”:[]},{“file”:"/usr/share/nextcloud/lib/private/legacy/template.php",“line”:300,“function”:“printPage”,“class”:“OC\Template\Base”,“type”:"->",“args”:[]},{“file”:"/usr/share/nextcloud/remote.php",“line”:82,“function”:“printErrorPage”,“class”:“OC_Template”,“type”:"::",“args”:[“Service unavailable”,"",503]},{“file”:"/usr/share/nextcloud/remote.php",“line”:168,“function”:“handleException”,“args”:[{“class”:“RemoteException”}]}],“File”:"/usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php",“Line”:42,“Previous”:{“Exception”:“Doctrine\DBAL\Driver\PDOException”,“Message”:“SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘nextcloud.oc_filecache_extended’ doesn’t exist”,“Code”:“42S02”,“Trace”:[{“file”:"/usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php",“line”:903,“function”:“execute”,“class”:“Doctrine\DBAL\Driver\PDOStatement”,“type”:"->",“args”:[]},{“file”:"/usr/share/nextcloud/lib/private/DB/Connection.php",“line”:199,“function”:“executeQuery”,“class”:“Doctrine\DBAL\Connection”,“type”:"->",“args”:[“SELECT filecache.fileid, storage, path, path_hash, filecache.parent, name, mimetype, mimepart, size, mtime, storage_mtime, encrypted, etag, permissions, checksum, metadata_etag, creation_time, upload_time FROM oc_filecache filecache LEFT JOIN oc_filecache_extended fe ON filecache.fileid = fe.fileid WHERE (storage = ?) AND (path_hash = ?)”,[2,“dedc35aaaa2ffd41fa701e78f1ab84e9”],[1,2],null]},{“file”:"/usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php",“line”:200,“function”:“executeQuery”,“class”:“OC\DB\Connection”,“type”:"->",“args”:[“SELECT filecache.fileid, storage, path, path_hash, filecache.parent, name, mimetype, mimepart, size, mtime, storage_mtime, encrypted, etag, permissions, checksum, metadata_etag, creation_time, upload_time FROM oc_filecache filecache LEFT JOIN oc_filecache_extended fe ON filecache.fileid = fe.fileid WHERE (storage = :dcValue1) AND (path_hash = :dcValue2)”,{“dcValue1”:2,“dcValue2”:“dedc35aaaa2ffd41fa701e78f1ab84e9”},{“dcValue1”:1,“dcValue2”:2}]},{“file”:"/usr/share/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php",“line”:215,“function”:“execute”,“class”:“Doctrine\DBAL\Query\QueryBuilder”,“type”:"->",“args”:[]},{“file”:"/usr/share/nextcloud/lib/private/Files/Cache/Cache.php",“line”:153,“function”:“execute”,“class”:“OC\DB\QueryBuilder\QueryBuilder”,“type”:"->",“args”:[]},{“file”:"/usr/share/nextcloud/lib/private/Files/View.php",“line”:1329,“function”:“get”,“class”:“OC\Files\Cache\Cache”,“type”:"->",“args”:[“appdata_ocxqw1407wha/js/core”]},{“file”:"/usr/share/nextcloud/lib/private/Files/View.php",“line”:1384,“function”:“getCacheEntry”,“class”:“OC\Files\View”,“type”:"->",“args”:[{“cache”:{“class”:“OC\Files\Cache\Cache”},“scanner”:null,“watcher”:null,“propagator”:null,“updater”:null,“class”:“OCA\Files_Trashbin\Storage”},“appdata_ocxqw1407wha/js/core”,"/appdata_ocxqw1407wha/js/core"]},{“file”:"/usr/share/nextcloud/lib/private/Files/Node/Root.php",“line”:199,“function”:“getFileInfo”,“class”:“OC\Files\View”,“type”:"->",“args”:["/appdata_ocxqw1407wha/js/core"]},{“function”:“get”,“class”:“OC\Files\Node\Root”,“type”:"->",“args”:["/appdata_ocxqw1407wha/js/core"]},{“file”:"/usr/share/nextcloud/lib/private/Files/Node/LazyRoot.php",“line”:65,“function”:“call_user_func_array”,“args”:[[{“class”:“OC\Files\Node\Root”},“get”],[“appdata_ocxqw1407wha/js/core”]]},{“file”:"/usr/share/nextcloud/lib/private/Files/Node/LazyRoot.php",“line”:142,“function”:"__call",“class”:“OC\Files\Node\LazyRoot”,“type”:"->",“args”:[“get”,[“appdata_ocxqw1407wha/js/core”]]},{“file”:"/usr/share/nextcloud/lib/private/Files/AppData/AppData.php",“line”:143,“function”:“get”,“class”:“OC\Files\Node\LazyRoot”,“type”:"->",“args”:[“appdata_ocxqw1407wha/js/core”]},{“file”:"/usr/share/nextcloud/lib/private/Template/JSCombiner.php",“line”:96,“function”:“getFolder”,“class”:“OC\Files\AppData\AppData”,“type”:"->",“args”:[“core”]},{“file”:"/usr/share/nextcloud/lib/private/Template/JSResourceLocator.php",“line”:115,“function”:“process”,“class”:“OC\Template\JSCombiner”,“type”:"->",“args”:["/usr/share/nextcloud",“core/js/merged-template-prepend.json”,“core”]},{“file”:"/usr/share/nextcloud/lib/private/Template/JSResourceLocator.php",“line”:71,“function”:“cacheAndAppendCombineJsonIfExist”,“class”:“OC\Template\JSResourceLocator”,“type”:"->",“args”:["/usr/share/nextcloud",“core/js/merged-template-prepend.json”]},{“file”:"/usr/share/nextcloud/lib/private/Template/ResourceLocator.php",“line”:78,“function”:“doFind”,“class”:“OC\Template\JSResourceLocator”,“type”:"->",“args”:[“js/merged-template-prepend”]},{“file”:"/usr/share/nextcloud/lib/private/TemplateLayout.php",“line”:346,“function”:“find”,“class”:“OC\Template\ResourceLocator”,“type”:"->",“args”:[[“core/js/dist/main”,“js/merged-template-prepend”,“search/js/search”,“core/l10n/en”,“search/l10n/en”,“search/js/searchprovider”,“js/files/fileinfo”,“js/files/client”]]},{“file”:"/usr/share/nextcloud/lib/private/TemplateLayout.php",“line”:174,“function”:“findJavascriptFiles”,“class”:“OC\TemplateLayout”,“type”:"::",“args”:[[“core/js/dist/main”,“js/merged-template-prepend”,“search/js/search”,“core/l10n/en”,“search/l10n/en”,“search/js/searchprovider”,“js/files/fileinfo”,“js/files/client”]]},{“file”:"/usr/share/nextcloud/lib/private/legacy/template.php",“line”:184,“function”:"__construct",“class”:“OC\TemplateLayout”,“type”:"->",“args”:[“error”,""]},{“file”:"/usr/share/nextcloud/lib/private/Template/Base.php",“line”:132,“function”:“fetchPage”,“class”:“OC_Template”,“type”:"->",“args”:[]},{“file”:"/usr/share/nextcloud/lib/private/legacy/template.php",“line”:300,“function”:“printPage”,“class”:“OC\Template\Base”,“type”:"->",“args”:[]},{“file”:"/usr/share/nextcloud/remote.php",“line”:82,“function”:“printErrorPage”,“class”:“OC_Template”,“type”:"::",“args”:[“Service unavailable”,"",503]},{“file”:"/usr/share/nextcloud/remote.php",“line”:168,“function”:“handleException”,“args”:[{“class”:“RemoteException”}]}],“File”:"/usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php",“Line”:119,“Previous”:{“Exception”:“PDOException”,“Message”:“SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘nextcloud.oc_filecache_extended’ doesn’t exist”,“Code”:“42S02”,“Trace”:[{“file”:"/usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php",“line”:117,“function”:“execute”,“class”:“PDOStatement”,“type”:"->",“args”:[null]},{“file”:"/usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php",“line”:903,“function”:“execute”,“class”:“Doctrine\DBAL\Driver\PDOStatement”,“type”:"->",“args”:[]},{“file”:"/usr/share/nextcloud/lib/private/DB/Connection.php",“line”:199,“function”:“executeQuery”,“class”:“Doctrine\DBAL\Connection”,“type”:"->",“args”:[“SELECT filecache.fileid, storage, path, path_hash, filecache.parent, name, mimetype, mimepart, size, mtime, storage_mtime, encrypted, etag, permissions, checksum, metadata_etag, creation_time, upload_time FROM oc_filecache filecache LEFT JOIN oc_filecache_extended fe ON filecache.fileid = fe.fileid WHERE (storage = ?) AND (path_hash = ?)”,[2,“dedc35aaaa2ffd41fa701e78f1ab84e9”],[1,2],null]},{“file”:"/usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php",“line”:200,“function”:“executeQuery”,“class”:“OC\DB\Connection”,“type”:"->",“args”:[“SELECT filecache.fileid, storage, path, path_hash, filecache.parent, name, mimetype, mimepart, size, mtime, storage_mtime, encrypted, etag, permissions, checksum, metadata_etag, creation_time, upload_time FROM oc_filecache filecache LEFT JOIN oc_filecache_extended fe ON filecache.fileid = fe.fileid WHERE (storage = :dcValue1) AND (path_hash = :dcValue2)”,{“dcValue1”:2,“dcValue2”:“dedc35aaaa2ffd41fa701e78f1ab84e9”},{“dcValue1”:1,“dcValue2”:2}]},{“file”:"/usr/share/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php",“line”:215,“function”:“execute”,“class”:“Doctrine\DBAL\Query\QueryBuilder”,“type”:"->",“args”:[]},{“file”:"/usr/share/nextcloud/lib/private/Files/Cache/Cache.php",“line”:153,“function”:“execute”,“class”:“OC\DB\QueryBuilder\QueryBuilder”,“type”:"->",“args”:[]},{“file”:"/usr/share/nextcloud/lib/private/Files/View.php",“line”:1329,“function”:“get”,“class”:“OC\Files\Cache\Cache”,“type”:"->",“args”:[“appdata_ocxqw1407wha/js/core”]},{“file”:"/usr/share/nextcloud/lib/private/Files/View.php",“line”:1384,“function”:“getCacheEntry”,“class”:“OC\Files\View”,“type”:"->",“args”:[{“cache”:{“class”:“OC\Files\Cache\Cache”},“scanner”:null,“watcher”:null,“propagator”:null,“updater”:null,“class”:“OCA\Files_Trashbin\Storage”},“appdata_ocxqw1407wha/js/core”,"/appdata_ocxqw1407wha/js/core"]},{“file”:"/usr/share/nextcloud/lib/private/Files/Node/Root.php",“line”:199,“function”:“getFileInfo”,“class”:“OC\Files\View”,“type”:"->",“args”:["/appdata_ocxqw1407wha/js/core"]},{“function”:“get”,“class”:“OC\Files\Node\Root”,“type”:"->",“args”:["/appdata_ocxqw1407wha/js/core"]},{“file”:"/usr/share/nextcloud/lib/private/Files/Node/LazyRoot.php",“line”:65,“function”:“call_user_func_array”,“args”:[[{“class”:“OC\Files\Node\Root”},“get”],[“appdata_ocxqw1407wha/js/core”]]},{“file”:"/usr/share/nextcloud/lib/private/Files/Node/LazyRoot.php",“line”:142,“function”:"__call",“class”:“OC\Files\Node\LazyRoot”,“type”:"->",“args”:[“get”,[“appdata_ocxqw1407wha/js/core”]]},{“file”:"/usr/share/nextcloud/lib/private/Files/AppData/AppData.php",“line”:143,“function”:“get”,“class”:“OC\Files\Node\LazyRoot”,“type”:"->",“args”:[“appdata_ocxqw1407wha/js/core”]},{“file”:"/usr/share/nextcloud/lib/private/Template/JSCombiner.php",“line”:96,“function”:“getFolder”,“class”:“OC\Files\AppData\AppData”,“type”:"->",“args”:[“core”]},{“file”:"/usr/share/nextcloud/lib/private/Template/JSResourceLocator.php",“line”:115,“function”:“process”,“class”:“OC\Template\JSCombiner”,“type”:"->",“args”:["/usr/share/nextcloud",“core/js/merged-template-prepend.json”,“core”]},{“file”:"/usr/share/nextcloud/lib/private/Template/JSResourceLocator.php",“line”:71,“function”:“cacheAndAppendCombineJsonIfExist”,“class”:“OC\Template\JSResourceLocator”,“type”:"->",“args”:["/usr/share/nextcloud",“core/js/merged-template-prepend.json”]},{“file”:"/usr/share/nextcloud/lib/private/Template/ResourceLocator.php",“line”:78,“function”:“doFind”,“class”:“OC\Template\JSResourceLocator”,“type”:"->",“args”:[“js/merged-template-prepend”]},{“file”:"/usr/share/nextcloud/lib/private/TemplateLayout.php",“line”:346,“function”:“find”,“class”:“OC\Template\ResourceLocator”,“type”:"->",“args”:[[“core/js/dist/main”,“js/merged-template-prepend”,“search/js/search”,“core/l10n/en”,“search/l10n/en”,“search/js/searchprovider”,“js/files/fileinfo”,“js/files/client”]]},{“file”:"/usr/share/nextcloud/lib/private/TemplateLayout.php",“line”:174,“function”:“findJavascriptFiles”,“class”:“OC\TemplateLayout”,“type”:"::",“args”:[[“core/js/dist/main”,“js/merged-template-prepend”,“search/js/search”,“core/l10n/en”,“search/l10n/en”,“search/js/searchprovider”,“js/files/fileinfo”,“js/files/client”]]},{“file”:"/usr/share/nextcloud/lib/private/legacy/template.php",“line”:184,“function”:"__construct",“class”:“OC\TemplateLayout”,“type”:"->",“args”:[“error”,""]},{“file”:"/usr/share/nextcloud/lib/private/Template/Base.php",“line”:132,“function”:“fetchPage”,“class”:“OC_Template”,“type”:"->",“args”:[]},{“file”:"/usr/share/nextcloud/lib/private/legacy/template.php",“line”:300,“function”:“printPage”,“class”:“OC\Template\Base”,“type”:"->",“args”:[]},{“file”:"/usr/share/nextcloud/remote.php",“line”:82,“function”:“printErrorPage”,“class”:“OC_Template”,“type”:"::",“args”:[“Service unavailable”,"",503]},{“file”:"/usr/share/nextcloud/remote.php",“line”:168,“function”:“handleException”,“args”:[{“class”:“RemoteException”}]}],“File”:"/usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php",“Line”:117}},“CustomMessage”:"–"},“userAgent”:“Apache-HttpClient/4.5.3 (Java/1.8.0_242)”,“version”:“16.0.5.1”

Any error/warning from this command?

sudo -u apache scl enable rh-php72 -- php -dmemory_limit=512M /usr/share/nextcloud/occ upgrade

A similar case can be found here:

Have you checked if the table exist (even if the error message says it doesn’t, just to be sure) or if nextcloud database is healthy?

1 Like

Yess

sudo -u apache scl enable rh-php72 – php -dmemory_limit=512M /usr/share/nextcloud/occ upgrade
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Set log level to debug
Exception: Updates between multiple major versions and downgrades are unsupported.
Update failed
Maintenance mode is kept active
Reset log level

Which Nextcloud version had your server before the update?

Thank you for respont
The relese

[root@mail01 acme-challenge]# sudo -u apache scl enable rh-php72 – php -dmemory_limit=512M /usr/share/nextcloud/occ migrations:status core
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade

App: core
Version Table Name: oc_migrations
Migrations Namespace: OC\Core\Migrations
Migrations Directory: /usr/share/nextcloud/core/Migrations
Previous Version: 16000Date20190427105638
Current Version: 16000Date20190428150708
Next Version: 17000Date20190514105811
Latest Version: 18000Date20191204114856
Executed Migrations: 20
Executed Unavailable Migrations: 20
Available Migrations: 24
New Migrations: 24
Pending Migrations: None

and insert this command

sudo -u apache scl enable rh-php72 – php -dmemory_limit=512M /usr/share/nextcloud/occ migrations:execute core 17000Date20190514105811
sudo -u apache scl enable rh-php72 – php -dmemory_limit=512M /usr/share/nextcloud/occ migrations:execute core 18000Date20190920085628
sudo -u apache scl enable rh-php72 – php -dmemory_limit=512M /usr/share/nextcloud/occ migrations:execute core 18000Date20191014105105
sudo -u apache scl enable rh-php72 – php -dmemory_limit=512M /usr/share/nextcloud/occ migrations:execute core 18000Date20191204114856

and now my page is in maintenance

but the use this command

sudo -u apache scl enable rh-php72 – php -dmemory_limit=512M /usr/share/nextcloud/occ upgrade

compare error

Exception: Updates between multiple major versions and downgrades are unsupported.

sudo -u apache scl enable rh-php72 – php -dmemory_limit=512M /usr/share/nextcloud/occ migrations:status core

Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade

App: core
Version Table Name: oc_migrations
Migrations Namespace: OC\Core\Migrations
Migrations Directory: /usr/share/nextcloud/core/Migrations
Previous Version: 18000Date20191014105105
Current Version: 18000Date20191204114856
Next Version: Already at latest migration step
Latest Version: 18000Date20191204114856
Executed Migrations: 24
Executed Unavailable Migrations: 24
Available Migrations: 24
New Migrations: 24
Pending Migrations: None

the config is

nano /usr/share/nextcloud/config/config.php
‘dbtype’ => ‘mysql’,
‘version’ => ‘16.0.5.1’,

I don’t know next step but i think change versione ?

Thank you very muth

In your case the fake version would be any 17 version (if you try, after the upgrade check if the version has changed to the correct/latest installed one). That procedure could be OK but we don’t know for sure. At some point we might have to ask at Nexcloud if it is enough to upgrade going over every core migration scripts. If that were the case, then maybe it could be of help for scripting upgrades on NethServer’s Nextcloud between multiple major versions.

Another method that worked for some users is the one described by @pagaille:

EDIT: Here’s the Nextcloud issue regarding updates between multiple major versions, still work in progress:

2 Likes

Resoved :grinning: :grinning: :grinning:

Next step change configiuration

nano /usr/share/nextcloud/config/config.php
‘dbtype’ => ‘mysql’,
‘version’ => ‘17.0.0.0’,

sudo -u apache scl enable rh-php72 – php -dmemory_limit=512M /usr/share/nextcloud/occ upgrade

sudo -u apache scl enable rh-php72 – php -dmemory_limit=512M /usr/share/nextcloud/occ maintenance:mode --off

And function

For the develovers the procedure of update Nexcloud is bugged and thank for the support user and forum

Did you do no update since 1 year?
I recommend to turn on automatic updates or at least update more frequently to get important security fixes.
This would have avoided the Nextcloud trouble too.

https://docs.nethserver.org/en/v7/packages.html#software-updates

Yes 1 years
I’m a question
Only solutions for the limit download is firewall or is it possible limit in NethServer

You can limit download with Nethserver but it has to work as gateway.

http://docs.nethserver.org/en/v7/firewall2.html#traffic-shaping

Thank’s a lot

1 Like