Steps to reproduce
- Still on OC 10.0.9.5: upgrade Ubuntu 16.04 to 18.04
- Remove php7.3
- Download OC 10.1.1 and extract tar into folder
- Move apps and config.php from OC 10.0.9.5 folder to OC 10.1.1 folder
- Rename 10.0.9.5 and 10.1.1 folders
- Open “10.1.1” folder and php occ upgrade gives error message “Doctrine\DBALException: Failed to connect to the database: An exception occured in driver: could noy find driver in …/lib/private/DB/Connection.php:62”.
Expected behaviour
php occ upgrade should have updated the database to the new OC version.
Actual behaviour
(main)PHP Fatal error
Server configuration
Ubuntu server 18.04
Web server:
Apache2
Database:
SQLite3
PHP version:
7.2
ownCloud version:
10.1.1
Updated from an older ownCloud:
10.0.9.5
Where did you install ownCloud from:
ownCloud download site
Signing status (ownCloud 9.0 and above):
This site can’t be reached.
The content of config/config.php:
<?php $CONFIG = array ( 'datadirectory' => '/home/phil/web_cloud/data', 'dbtype' => 'sqlite3', 'dbname' => 'hnlcloud', 'dbhost' => 'localhost', 'dbtableprefix' => '', 'installed' => true, 'maintenance' => true, 'version' => '10.1.1', 'trusted_domains' => array ( 0 => 'xxx', 1 => '192.168.1.xx', 2 => '192.168.1.yy', ), 'share_folder' => '/Shared', 'theme' => '', 'loglevel' => 0, 'trashbin_retention_obligation' => 'auto', 'memcache.local' => '\\OC\\Memcache\\APCu', 'mail_smtpauthtype' => 'LOGIN', 'mail_smtpauth' => 1, ); **List of activated apps:** activity comments configreport dav encryption external federatedfilesharing federation files files_antivirus files_external files_pdfviewer files_sharing files_texteditor files_trashbin files_versions files_videoplayer firstrunwizard gallery market notifications provisioning_api systemtags templateeditor updatenotification user_external **Are you using external storage ** no **Are you using encryption:** no **Are you using an external user-backend:** no ### Client configuration Chrome 76.0.3809.100 (Official Build) (64-bit) **Operating system:** Windows 10 ### Logs None