Installed NextcloudPi as root. How to uninstall and reinstall as default user?

On Debian 9.5 I used the curl install command line from ownyourbits site and did it as root user.

Now when I try to run commands like nc-admin, it says “root is not found in sudoers file” or something to that effect.

So how do uninstall Nextcloud and reinstall it as my default user (found in sudoers file) using sudo.

You can just try adding user root to the group sudo

sudo adduser root sudo

and in the /etc/sudoers file it should have the following line:

# Allow members of group sudo to execute any command
%sudo   ALL=(ALL:ALL) ALL