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

Error when updating: Table 'nextcloud.oc_group_user' doesn't exist #1920

Closed
janvlug opened this issue May 4, 2024 · 5 comments
Closed

Error when updating: Table 'nextcloud.oc_group_user' doesn't exist #1920

janvlug opened this issue May 4, 2024 · 5 comments
Assignees

Comments

@janvlug
Copy link
Contributor

janvlug commented May 4, 2024

When I try to run sudo ncp-update on the command line, I get this error message:

ERROR 1146 (42S02) at line 1: Table 'nextcloud.oc_group_user' doesn't exist
admin user not found
@janvlug
Copy link
Contributor Author

janvlug commented May 4, 2024

I guess this error comes from this line:

local admins=$(mysql -u root nextcloud -Nse "select uid from oc_group_user where gid='admin';")

There is a prefix oc_ used, but in my installation, the tables do not have a prefix.

This issue is similar to issue #1818

@theCalcaholic
Copy link
Collaborator

theCalcaholic commented May 4, 2024

Hi, thank you for reporting!

Can you try running sudo ncp-update devel?

@janvlug
Copy link
Contributor Author

janvlug commented May 4, 2024

Can you try running sudo ncp-update devel?

I ran this from the command line, and all went fine. Thanks!

@theCalcaholic
Copy link
Collaborator

Great, thank youbfor testing

@theCalcaholic theCalcaholic self-assigned this May 6, 2024
@theCalcaholic
Copy link
Collaborator

Fix is now in master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants