Description of problem: No PDO driver installed for Postgresql when installing this RPM. The result of this is an error at running owncloud's setup.php when it tries to access the database. Error shown is "Error while trying to create admin user:" "could not find driver". I manually installed php-pdo_pgsql-5.5.8-2.mga4.x86_64 and initial configuration of admin user was successful. PDO driver for sqlite is part of the RPM install process. MySQL PDO driver is not included but doesn't appear to cause the same problem. Reproducible: Steps to Reproduce:
Maybe it could do like mediawiki and have three virtual subpackages that pull in the appropriate php requires for each SQL type, and the main package requires that you install one of them. We could have something in prefer.vendor.list if needed to ensure that it prefers sqlite.
CC: (none) => mageiaAssignee: bugsquad => mageia
That would make sense. I note that in /usr/share/owncloud/lib/private/db.php there's a rather long list of databases that Frank obviously intends owncloud to support at some time. They all seem to require a database-specific pdo driver. It's not going to be practical to look for pre-existing database engines on the target system and install appropriate drivers, I guess?
@David: can you do this please ?
Summary: php-pdo_pgsql missing from install list => owncloud should require a SQL driver package (virtual packages, choose the one that fits you at install)
Whiteboard: (none) => MGA5TOO
Hi, After install of owncloud 8.03 in Mageia 5 RC, when choosing mysql as database server, sazme error as above. I had to manually install php-pdo_mysql
CC: (none) => contact
An alternate "fix" is to in the owncloud server package description have an URL to our wiki page? https://wiki.mageia.org/en/OwnCloud
CC: (none) => fri
Closing. In mga6 we moved to nextcloud. Subpackages for mysql/pgsql have been added to that package.
Status: NEW => RESOLVEDCC: (none) => mageiaResolution: (none) => FIXED