Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workspace doesn't work with PostgreSql #732

Open
zak39 opened this issue Feb 24, 2023 · 5 comments
Open

Workspace doesn't work with PostgreSql #732

zak39 opened this issue Feb 24, 2023 · 5 comments
Assignees
Labels
backend Modification related to backend important bug Should be treated after Major bugs

Comments

@zak39
Copy link
Collaborator

zak39 commented Feb 24, 2023

Currently, Workspace is not compatible with PostgreSql.
When I try to create a workspace, I have a few error messages.

image

The most strange, the Groupfolder's API/REST works to create a groupfolder and enable the advanced permissions.
But, groups for Workspace (GE- and U-) didn't create.

image

image

@zak39 zak39 added backend Modification related to backend important bug Should be treated after Major bugs labels Feb 24, 2023
@zak39 zak39 self-assigned this Feb 24, 2023
@stefanh12
Copy link

Having the same issue

@stanlog
Copy link

stanlog commented Jun 10, 2023

Hello,
I installed Workspace yesterday on Nextcloud 25.0.7, with Postgresql v13.11 (Debian Bullseye), it seems to work fine. Any news about this issue ?

@zak39
Copy link
Collaborator Author

zak39 commented Jun 29, 2023

Hi @stanlog 👋

Did you do anything to the database ?

We have a problem with the constraint with a field in the database.

@stanlog
Copy link

stanlog commented Jun 29, 2023

Hello @zak39
I didn't anything special on the postgres db tables schemas. I used GroupFolders module alone for a while, all works fine, no problem encounted with the use of Postgresql from the beginning (Nextcloud v25.0.8).

@zak39
Copy link
Collaborator Author

zak39 commented Aug 3, 2023

Hello @stanlog

Is it possible to share your PostgreSQL configuration, please ?

I use constraint on foreign keys (

$table->addForeignKeyConstraint($schema->getTable('group_folders'), ['space_name'], ['mount_point'], ['onDelete' => 'CASCADE', 'onUpdate' => 'CASCADE'], 'fk_gi_sn_work_spaces');
$table->addForeignKeyConstraint($schema->getTable('group_folders'), ['groupfolder_id'], ['folder_id'], ['onDelete' => 'CASCADE', 'onUpdate' => 'CASCADE'], 'fk_gi_sn_work_spaces');
) and it doesn't work with PostgreSQL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Modification related to backend important bug Should be treated after Major bugs
Projects
None yet
Development

No branches or pull requests

3 participants