Error on admin creation on initial setup screen

Hi,

I have setup NextCloud, but during the initial setup screen when creating the username and password, I am hit with error that table does not exist. Of course table does not exist and needs to be created during this step automatically.

NextCloud 15.0.2
MySQL
Apache

> An exception occurred while executing ‘SELECT uid, displayname FROM oc_users WHERE uid_lower = ?’ with params [“kojadmin”]: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘kojnextcloud.oc_users’ doesn’t exist

Regards,

What steps did you take before this error?

Installed XAMPP.
Setup Apache
Setup new DB in MySQL
Create new user for DB access
Grant full permissions to the new user
Extract NextCloud-15.0.2.zip to the htdocs folder
Launch localhost/nextcloud to reach the initial screen.
Enter the new admin name/password
Enter DB credentials for the user with DB access.
Click on Next
This error pops-up on the top of the screen.

I thought I have done something wrong, so I format the system and started from scratch but again same issue.

Regards,

HI,

Please, can anyone guide me on this.

Regards,

1 Like

An exception occurred while executing ‘SELECT uid, displayname FROM oc_users WHERE uid_lower = ?’ with params [“admin”]: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘nextcloud.oc_users’ doesn’t exist

Me pasa lo mismo pudiste solucionar, tengo exactamente la misma configuración

I am facing the same issue in nextcloud 19 when I try to install using xampp under windows 10.

Hi,

I was never able to fix this and nobody came for help, so I gave up on this and went with other platform.

Regards