nextcloud / nextcloudpi

📦 Build code for NextcloudPi: Raspberry Pi, Odroid, Rock64, curl installer...
https://nextcloudpi.com
2.44k stars 293 forks source link

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

Closed janvlug closed 2 months ago

janvlug commented 2 months ago

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 commented 2 months ago

I guess this error comes from this line:

https://github.com/nextcloud/nextcloudpi/blob/c75fa441176666db988498e36d539c1aa6c9b7ce/etc/library.sh#L571

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 commented 2 months ago

Hi, thank you for reporting!

Can you try running sudo ncp-update devel?

janvlug commented 2 months ago

Can you try running sudo ncp-update devel?

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

theCalcaholic commented 2 months ago

Great, thank youbfor testing

theCalcaholic commented 2 months ago

Fix is now in master