Skip to content

Installation: manual creation of tables? #205

@stefangweichinger

Description

@stefangweichinger

Sorry, I don't understand this exactly.

I have a nc-32-stack with postgresql as db-backend for nextcloud.

When I install the addon ( I cloned https://github.com/rotdrop/user_sql as mentioned in #203 (comment) .. using the 32-branch ) it breaks the nextcloud-GUI from the start:

"args":[]}],"File":"/var/www/html/lib/private/DB/ConnectionFactory.php","Line":107},"message":"OC\\DB\\ConnectionFactory::getConnection(): Argument #1 ($type) must be of type string, null given, called in /var/www/html/apps/user_sql/lib/Query/DataQuery.php on line 166 in file '/var/www/html/lib/private/DB/ConnectionFactory.php' line 107","exception":{},"CustomMessage":"OC\\DB\\ConnectionFactory::getConnection(): Argument #1 ($type) must be of type string, null given, called in /var/www/html/apps/user_sql/lib/Query/DataQuery.php on line 166 in file '/var/www/html/lib/private/DB/ConnectionFactory.php' line 107"}}

I can't even use the GUI to configure the addon.

So "getting started" https://github.com/nextcloud/user_sql?tab=readme-ov-file#getting-started already fails for me.

And I don't understand https://github.com/nextcloud/user_sql?tab=readme-ov-file#integrations

I already have an existing mariadb which I want to connect to for authenticating users (it's a postfixadmin-database, btw). Do I have to create these tables in the nextcloud-db-backend? I assume, no.

But why does simply enabling the non-configured addon break the nc-gui already?

pls advise, thanks all!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions