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

Update to 0.8.0 Tables problems, again #1378

Open
Jednadvacet opened this issue Sep 24, 2024 · 1 comment
Open

Update to 0.8.0 Tables problems, again #1378

Jednadvacet opened this issue Sep 24, 2024 · 1 comment
Labels
0. Needs triage Pending approval or rejection. This issue is pending approval. bug Something isn't working

Comments

@Jednadvacet
Copy link

Jednadvacet commented Sep 24, 2024

Steps to reproduce

  1. Update to Tables 0.8.0 on self-hosted NC 29.0.7

Expected behavior

Tables app being able to work.

Actual behavior

Tables app not working.

Tables app version

0.8.0

Browser

No response

Client operating system

No response

Operating system

Ubuntu 20.04

Web server

Nginx

PHP engine version

PHP 8.3

Database

PostgreSQL

Additional info

Hi all.

After update to Tables 0.8.0 (updated automatically during NC version 29.0.6 to 29.0.7) it is not possible to add new rows to existing tables. It is not even possible to add columns neither to existing tables, nor the new ones. I can only update existing rows. Existing table/views shares are not functional as well. I can create a new table but importing data gives an error as well.

Few log errors appeared:

  1. adding new rows
DbalException
An exception occurred while executing a query: SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "oc_tables_row_sleeves_pkey" DETAIL: Key (id)=(353) already exists.
  1. sharing tables
Exception
Cannot assign array to property OCA\Tables\Db\View::$onSharePermissions of type ?OCA\Tables\Model\Permissions in file '/var/www/html/nextcloud/cloud.live/lib/public/AppFramework/Db/Entity.php' line 136
  1. deleting empty testing tables
Exception
Call to undefined method OCA\Tables\Service\ContextService::deleteNodeRel() in file '/var/www/html/nextcloud/cloud.live/custom_apps/tables/lib/Service/TableService.php' line 457

I am quite desperate now.

@Jednadvacet Jednadvacet added 0. Needs triage Pending approval or rejection. This issue is pending approval. bug Something isn't working labels Sep 24, 2024
@enjeck
Copy link
Contributor

enjeck commented Sep 28, 2024

An exception occurred while executing a query: SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "oc_tables_row_sleeves_pkey" DETAIL: Key (id)=(353) already exists.

I see you faced a similar issue at #1029 (comment). Does running occ maintenance:repair get fix this first problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending approval or rejection. This issue is pending approval. bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants